MicroDigitalEd

 

How to Test and Program the MDE 8051 Trainer Board


The 8051 Trainer board comes with AC-to-DC power Adaptor (9-12V) and DB-9 connector cable in which one side is DB-9 female and the other side is DB-9 male.


Testing the 8051 Trainer Board :


a) Connect the Serial 1 of the 8051 Trainer to COM port of the PC using DB-9 cable.

b) On your PC go to Start , Accessories, Communications, select HyperTerminal.

c) Enter a name for the terminal session.

d) Select the PC COM Port the MDE 8051 is connected to. ( If using a serial pc mouse select COM2 )

e) Configure HyperTerminal for the following settings.

9600 8n1 with no hardware flow control


f) Connect the power

g) Put the Switch on PRG Like Shown


h) Go to your terminal emulator i.e. Hyper Terminal and press Enter.
You should now see the following message on the screen.

DS89C420 LOADER VERSION 1.0 COPYRIGHT (C) 2000 DALLAS SEMICONDUCTOR
>

You are now ready to load a HEX file into the trainer.


How To Load and Run Programs on 8051 Trainer :

a.) Clear the ROM by entering the following.
>K

b.) Ready the board to load with the following.
>L

c.) Using hyperterminal send a text file to the trainer.

d.) When the dialogue appears select all files and navigate to your HEX file to be sent to the trainer.  ( See the Proview Tutorial to create a HEX file test program.)

e.) Click here to download toggle hex file

f.) You should see a series of G's if you see anything but a G an error has occurred during the load and you should repeat from step a.

g.) If the load was successful you can now move the switch to the run position and see your code execute on the trainer board.

 

Check out the command list here.