Author Topic: Flash magic is not erasing 89v51rd2  (Read 11504 times)

Amrita_lv

  • Jr. Member
  • **
  • Posts: 1
    • View Profile
Flash magic is not erasing 89v51rd2
« Reply #45 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

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2190
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Flash magic is not erasing 89v51rd2
« Reply #46 on: April 25, 2014, 12:46:46 AM »
The 0x60 and 0x61 values don't mean anything to us. What do they mean?

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2190
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Flash magic is not erasing 89v51rd2
« Reply #47 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
Embedded Systems Academy, Inc.
support at esacademy dot com

mrsam41

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
Re: Flash magic is not erasing 89v51rd2
« Reply #48 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.

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2190
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Flash magic is not erasing 89v51rd2
« Reply #49 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.
Embedded Systems Academy, Inc.
support at esacademy dot com