Tutorial Microcontroller MCS-51 ATMEL ISP

Pelatihan Mikrokontroller
15 Januari 2011

Microcontroller Kits
Programmer and Target 89s51

Simple Mikrokontroller 89s51 Trainer


Standart
Mikrokontroller 89s51 Trainer


Super Mikrokontroller Trainer 89s51

All Kits

+

Include

Programmer
via USB

 

 

BACK

 6. Lockbit Settings

The Lockbit Settings command allows the user to set the lockbit protection mode for the current device. A dialog box, similar to Figure 11, showing the protection modes supported by the current device is displayed to the user. After selecting a protection mode, the software sets the device to the specified mode.

Microcontroller ATMEL ISP Software

Figure 11. Lockbit Manager Dialog

Microcontroller ATMEL ISP Software

Figure 12. Auto Programming Dialog

 

7. Run Target

The Run Target command removes the device from programming mode and sets it into a run state. When the device is in this state, programming commands can not be sent to the device. Most of the commands in the Atmel ISP Software are disabled during this state. To return to a programming state, the Initialize Target command must be executed.

Microcontroller ATMEL ISP Software

Figure 13. Run Target Instruction

8. Troubleshooting

This section discusses some of the common problems you might encounter when using the software and what to do when you encounter them. The program reports that the device is locked even after a Chip Erase command has been executed. The software is most likely having trouble communicating with the device. Check the cable connection and make sure the device is on. Then run the Initialize Target command from the Options menu.

Microcontroller ATMEL ISP Software

Figure 14. Error according to device error

The program reports write failures when attempting to write the buffer(s) to the chip. This usually occurs when the XTAL frequency is not set to the correct value in the software. To set the XTAL chose Select Device from the Options menu and input the correct XTAL frequency that is being used by the device. Then run the Initialize Target command from the Options menu.
The software reports “…Atmel ISP Cable is not connected…” but the cable and device appear to be connected properly. Make sure the correct port is selected in the software. This is done by selecting Select Port from the Options menu.

Microcontroller ATMEL ISP Software

Figure 15. Error according to cable connection.

 

Comments, questions and discussion about this topic

BACK