Flash Magic Forum

In-System Programming Support => P89C51Rx+/P89C51Rx2/P89C66x/P89C6xX2/P89V66x => Topic started by: kiransm on May 28, 2007, 05:06:46 AM

Title: Bootloader for P89C51RD2BN
Post by: kiransm 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
Title: Re: Bootloader for P89C51RD2BN
Post by: Andy Ayre 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
Title: Re: Bootloader for P89C51RD2BN
Post by: Jan Waclawek on May 30, 2007, 12:26:42 AM
Quote from: kiransm on May 28, 2007, 05:06:46 AMCould 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
Title: Re: Bootloader for P89C51RD2BN
Post by: kiransm 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
Title: Re: Bootloader for P89C51RD2BN
Post by: Andy Ayre 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
Title: Re: Bootloader for P89C51RD2BN
Post by: Jan Waclawek 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