If you have used P89V51RD2 a lot, you would have realised that many times it happens that the microcontroller refuses to be recognized by and then you have to resort to replacing the microcontroller with a new one. Assuming that your hardware circuitry and computer are free from any problems, there are only two things that could have gone wrong - your microcontroller has suffered an internal hadware failure (maybe because of overvoltage or ESD) or the bootloader residing inside the microcontroller has got corrupted. Microcontrollers with spoilt bootloaders can easily be fixed by re-programming the bootloader into their flash memories. So before dunking those seemingly dead micros into the waste baskets, try to resuscitate them by reprogramming their bootloaders.
Heres how you can do this using a Universal Programmer. Step 1: Acquire a 'Universal Programmer'. Is one such programmer. The photos below explains the process of restoring the bootloader using this programmer. The procedure for doing the same using a different brand of universal programmer would be similar. Step 2: Download and install the universal programmer's PC frontend software. In case of UNIPro 110u you can get the latest version from (as of the day of posting this blog, the latest version was 4.20 and it did not yet work on Windows 7).
Step 3: • Visit the 'P89V51RB2_RC2_RD2 Product Information Page' at NXP. • At the bottom of this page, you will find a link: 'P89V/LV51RD2 Boot Loader update V5' ( ) • Download this ZIP archive (p89v_lv51rd2_bl_upd.zip). It contains the bootloader HEX file.
Now enter again bootloader mode with FlashMagic (e. The two data areas should read as: 0080: 00 00 FF FF FF. Program the resulting hex-file into a P89V51RD2 using FlashMagic.2009.it should verify OK.the data area must be erased before rewriting After assembling. 0100: AA FF FF FF FF.
• Within this ZIP archive, you will find two HEX files. We are interested only in P89V51RD2_BL_V05.hex. (The other HEX file is for updating the bootloader via flashmagic in cases where the original bootloader is still intact inside the microcontroller) Step 4: Select the microcontroller in the programmer frontend software. Step 5: Select the HEX file: P89V51RD2_BL_V05.hex Step 6 Press the program button! (In case of UNIPro 110u, ignore the 'Need AC Adaptor message' - USB power is enough to program P89V51RD2) If the microcontroller gets programmed successfully, then the bootloader would now reside in the flash memory of the microcontroller.
The microcontroller will now work again with FlashMagic. 3 comments: said. Hey Lare, i see that you are using p89v51rd. I was using p89c51. And lately i bought p89v51rd. I am burning p89c51 through RS232. But when i changed the chip to p89v51rd(as i know is the same.
But bigger memory.) Flash magic program cant burn the program. What do you think the problem. P.s my email is [email protected] said.
Its very informative, i was wondering for the RD2 bootloader and got help from this site only...great Blog. ----Arun Barman Development Engineer(R&D Dept.) Mumbai said. Hi, I went through the blog, do you by chamce have programmer software for unipro110u.
Artikel lain: • • 1. Warna Bulu Hanya dengan melihat warna dari bulunya saja, kita bisa tahu jenis kelamin dari burung kolibri ninja.
My email:[email protected].
Hello, Firstly sorry if this issue is not a new one. I have got a development board for P89V51RD2 and I bought usb to serial converter cable.
I am trying to burn a program into P89v51rd2 microcontroller using a serial cable. I used windows 10, keil compiler and Flash Magic tool. Please look at attached screenshot for further details. When I try to burn program Flash Magic gives an error. I have changed baud rate, continuously resting hardware tried very possible option from my side.