This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

8051 Trainer Kit

Hello all,
I would like to develop a 8051 trainer kit.The need is as follows:
I need a trainer kit which has PS2 keyboard interface to enter mnemonics(computer should not be used) where it should be converted into opcode automatically.These mnemonics are to be entered in memory locations,say 4000 or so,and should be executed on specifing the starting address of the program..

I would like to run basic programs like arithmetic and logics, code conversion etc..Also i would like to interface keyboard,ADC,DAC,motor etc..

Kindly support

Regards
Arivalagan M

Parents
  • There are two alternatives.

    You either have the skill to do this. Then your post would say:
    "I have developed a 8051 trainer. It can do xxx. Anyone interested can find a schematics + firmware on my home page yyy."

    Or you don't have the skill for this. In which case you should settle for one of the 8051 kits that already exists.

    Note that you can't just directly remap a mnemonic into the binary representation. Why? Because a number of instructions needs to contain computed addresses. Which is the reason why an assembler allows the source file to contain labels.

    So you should then basically have a chip with enough RAM and a serial EEPROM, flash or FRAM where you can edit and store assembler source files, that can then be assembled into runnable programs. Together with a good monitor software with a disassembler for single-stepping. Unless you have an assembler good enough that it also stores debug information - what source line produced each instruction. Which consumes quite a lot of memory - the mapping from opcode to source line can take more space than the actual opcode...

    Just that with only a PS/2 interface for a keyboard, you will have issues looking at the debugger output - unless you have a monitor. How many 8051 are suitable for driving a monitor?

    Isn't it time to give up now directly, and instead buy something suitable? You can even buy a dirt-cheap Raspberry Pi to use as PC, and connect a serial port to an existing 8051 development board.

Reply
  • There are two alternatives.

    You either have the skill to do this. Then your post would say:
    "I have developed a 8051 trainer. It can do xxx. Anyone interested can find a schematics + firmware on my home page yyy."

    Or you don't have the skill for this. In which case you should settle for one of the 8051 kits that already exists.

    Note that you can't just directly remap a mnemonic into the binary representation. Why? Because a number of instructions needs to contain computed addresses. Which is the reason why an assembler allows the source file to contain labels.

    So you should then basically have a chip with enough RAM and a serial EEPROM, flash or FRAM where you can edit and store assembler source files, that can then be assembled into runnable programs. Together with a good monitor software with a disassembler for single-stepping. Unless you have an assembler good enough that it also stores debug information - what source line produced each instruction. Which consumes quite a lot of memory - the mapping from opcode to source line can take more space than the actual opcode...

    Just that with only a PS/2 interface for a keyboard, you will have issues looking at the debugger output - unless you have a monitor. How many 8051 are suitable for driving a monitor?

    Isn't it time to give up now directly, and instead buy something suitable? You can even buy a dirt-cheap Raspberry Pi to use as PC, and connect a serial port to an existing 8051 development board.

Children