|
Technical Support Support Resources Product Information | MCBX51: DOWNLOADING ATMEL 89C51RD2 DEVICES
Information in this knowledgebase article applies to:
SYMPTOMThe AT89C51RD2 (or T89C51RD2) devices will not connect to the download program using the Atmel FLIP/BatchISP programs. CAUSEThe device has been programmed previously. Programming these devices automatically disables the ISP functionality. RESOLUTIONUse the following steps to download your device with Atmel's FLIP utility: - Set DIP switches 2, 3 and 10 to OFF.
- Install a jumper per Application Note 156 on pins 2-3.
- Temporarily add a 2.2K ohm resistor between the PSEN pin and ground (GND).
- Connect the DB9 serial cable from your PC to the INT connector on the MCBx51 board.
- Apply power to the board.
- Disconnect the 2.2K ohm resistor between the PSEN pin and ground (GND).
- Start the FLIP program.
- Select your device from the Device menu.
- From the Settings menu, select Communications, then RS232.
- Set the COM port, and then baud rate to 9600.
- Click Connect at this point, and FLIP should connect and display the device type and other information.
- Download your application to the device.
If the above sequence does not work, the bootloader code in flash was overwritten. To restore your device so you can program it, using a parallel device programmer: - Erase the device. This sets the Boot Status Byte (BSB) which allows ISP operation.
- Set the Boot Vector Byte (BVB) to 0xFC00.
- Load the bootloader code using the attached hex file.
- Perform the above steps for downloading your device with Atmel's FLIP utility.
MORE INFORMATIONSEE ALSOATTACHED FILESRequest the files attached to this knowledgebase article. Last Reviewed: Thursday, October 30, 2008
|
|