Author Topic: Bootloader for P89C51RD2BN  (Read 10751 times)

kiransm

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
Bootloader for P89C51RD2BN
« on: May 28, 2007, 05:06:46 AM »
Hi All,
Could you please tell me that from where I could download bootloader for P89C51RD2BN chip?
I want hex file so that I could reprogram the bootloader to the IC.

Thanking in advance.

regards,
Kirankumar

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2190
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Bootloader for P89C51RD2BN
« Reply #1 on: May 29, 2007, 08:44:07 AM »
I'm not sure where you could get it from. You might want to try your local NXP FAE. However it's probably quicker and easier just to get a new device.

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

Jan Waclawek

  • Full Member
  • ***
  • Posts: 220
    • View Profile
    • EFTON homepage
Re: Bootloader for P89C51RD2BN
« Reply #2 on: May 30, 2007, 12:26:42 AM »
Could you please tell me that from where I could download bootloader for P89C51RD2BN chip?
I want hex file so that I could reprogram the bootloader to the IC.
AFAIK, the default bootloader in P89C51RD2 is in ROM, so you can't reprogram it (nor you can "lose" it).

Why do you want to do that?

JW

kiransm

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
Re: Bootloader for P89C51RD2BN
« Reply #3 on: May 30, 2007, 06:28:19 AM »
Thanks for reply.
No, it is not the case that you can not loos the bootloader. Due to your problematic circuitry bootloader can be lost!
Andy, as you told I have searched on NXP also but I couldnt get it. I think my P89C51RD2 lost its bootloader so I want to re program that. I know that bootloader can be re programmed but dont know from where to get it.

Regards,
Kirankumar

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2190
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: Bootloader for P89C51RD2BN
« Reply #4 on: May 30, 2007, 08:13:35 AM »
How do you know the boot vector hasn't been corrupted? A parallel programmer would be able to fix that.

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

Jan Waclawek

  • Full Member
  • ***
  • Posts: 220
    • View Profile
    • EFTON homepage
Re: Bootloader for P89C51RD2BN
« Reply #5 on: May 31, 2007, 04:28:09 AM »
I agree with Andy - you most probably confuse bootloader (which is a program stored in ROM) corruption with bootvector (which is a single FLASH byte) corruption.

If you don't have access to parallel programmer, and are willing to experiment, are not afraid you might destroy your chip, and have a board where you can run the '51 with completely external code memory, I can send you a short code which might restore the bootvector and status byte. However, you will do that on your own risk - I tried it only on a H-suffix chip (P89C51RD2HBP).

Jan Waclawek