Flash Magic Forum

In-System Programming Support => P89V51Rx2/P89LV51Rx2 => Topic started by: Amrita_lv on April 24, 2014, 12:17:23 pm

Title: Flash magic is not erasing 89v51rd2
Post by: Amrita_lv on April 24, 2014, 12:17:23 pm
I have bought 15 nxp89v51rd2; i am using flash magic (version 7.72) to program it; out of 15 mc only 5 mc got programmed; for rest of the micro controller i am getting the issue; It shows reset the device into isp mode now, then if I press reset, nothing happens. So I thought it as a bootloader problem and I downloaded the bootloader from your site and programmed the micro-controller using TOP Universal programmer; After that I put it back on target board and tried to re-program it, now again it shows "reset the device to isp mode now" and i press reset, it works and goes to "erasing device......" after that nothing happens, it can not erase the device.
So I thought it as a configuration bit issue and used the TOP universal programmer to read the config bit for good microcontroller and non-working microcontroller; I found the working micro controller has following configuration "0x60=22 and 0x61=42"; but the non-working micro controller shows "0x60=0f and 0x61=02".
I need your help to solve the issue
Title: Re: Flash magic is not erasing 89v51rd2
Post by: Andy Ayre on April 25, 2014, 12:46:46 am
The 0x60 and 0x61 values don't mean anything to us. What do they mean?

Andy
Title: Re: Flash magic is not erasing 89v51rd2
Post by: Andy Ayre on April 25, 2014, 12:49:51 am
The bootloader is stored in the first 8k of block 1. Please see chapter 7 of the data sheet from NXP which explains this.

Andy
Title: Re: Flash magic is not erasing 89v51rd2
Post by: mrsam41 on December 21, 2016, 06:19:06 pm
I have bought 15 nxp89v51rd2; i am using flash magic (version 7.72) to program it; out of 15 mc only 5 mc got programmed; for rest of the micro controller i am getting the issue; It shows reset the device into isp mode now, then if I press reset, nothing happens. So I thought it as a bootloader problem and I downloaded the bootloader from your site and programmed the micro-controller using TOP Universal programmer; After that I put it back on target board and tried to re-program it, now again it shows "reset the device to isp mode now" and i press reset, it works and goes to "erasing device......" after that nothing happens, it can not erase the device.
So I thought it as a configuration bit issue and used the TOP universal programmer to read the config bit for good microcontroller and non-working microcontroller; I found the working micro controller has following configuration "0x60=22 and 0x61=42"; but the non-working micro controller shows "0x60=0f and 0x61=02".
I need your help to solve the issue

Do you find out solution for this problem? if can pls help me how to fix? thank you.
Title: Re: Flash magic is not erasing 89v51rd2
Post by: Andy Ayre on December 22, 2016, 02:06:00 am
This is probably a question only NXP can answer, but as the parts are out of production it might be difficult.

Why not use a modern device? These parts are not recommended for new projects and it will be difficult to repair/service existing products based on them.