??? 12/01/08 22:27 Read: times |
#160470 - program BLJB Responding to: ???'s previous message |
Sanjay,
I'd say, the matter is more complicated than just this. If I understand the datasheet correctly, if BLJB is programmed, 0, the bootloader (internal) is run, no matter what state /EA is in. And, this is the state the chip comes as new. So, you need to perform a chiperase first. You don't need to be worried about a programmer - if you have a RS232 transceiver (MAX232 or such) on your devboard, simply connect it to a COM port on a PC, download FLIP from Atmel, run it, select the proper chip(*), set COM port, speed, etc., and perform chiperase - that should do it. However, once you run FLIP, you might also consider programming your application into the internal FLASH of the chip and run it from there. You might want then to run a wire through a small (1k or so) resistor and a switch/jumper from the PSEN pin to ground, so that you can enter the bootloader mode any time you want. JW (*) beware, if you don't have the letters "AT" at the beginning of the marking of the chip, i.e. if it says only "89C51RD2", even if it has Atmel logo on it, you have to select a Temic part, T89C51RD2 - this might happen if the timestamp is from about 2003 or so - i.e. the first two digits of the timestamp would be 03xx or close to it - the newer parts than that are the "real" Atmel AT89C51RD2 |
Topic | Author | Date |
AT89C51RD2 Pin Compatibility with 80C51 | 01/01/70 00:00 | |
AT89C51RD2 Pin Compatibility with 80C51 | 01/01/70 00:00 | |
'51' vs '52' and history | 01/01/70 00:00 | |
AT89C51RD2 Pin Compatibility with 80C51 | 01/01/70 00:00 | |
program BLJB | 01/01/70 00:00 |