Flash Magic Forum

In-System Programming Support => P89V51Rx2/P89LV51Rx2 => Topic started by: Seksit on September 05, 2005, 05:06:18 AM

Title: ALL-11 Erase 89V51RD2BN block 0 and bloack
Post by: Seksit on September 05, 2005, 05:06:18 AM
Hi,
I have a problem when all-11 erase 89V51RD2BN bloack 0 and block 1, After that, the mcu it doesn't work,Why???
If erase block 0 and block 1 then How to program new boot loader???

Help me please... Thank you very much.
Title: Re: ALL-11 Erase 89V51RD2BN block 0 and bloack
Post by: Jan Waclawek on September 06, 2005, 12:45:37 AM
The P89V51RD2 starts in block1 after reset. If you have erased it, there is no code there to switch to block0 (where the user code is supposed to sit), so it will run through it (8kB) and then continue at the user area at 2000h. I doubt you wanted that.

You can download the bootloader (v5) at Philips's website at the P89V51RD2 page. Program it into block 1.

Jan Waclawek
Title: Re: ALL-11 Erase 89V51RD2BN block 0 and bloack
Post by: Seksit on September 06, 2005, 02:07:25 AM
Right now, P89V51RD2 cannot reset to ISP mode for flash magic so i cannot to update boot loader and cannot do anything in ISP mode.
 I think it may be cause of i erase boot block 0 and block 1. That means the MCS51 may be it fail. Do you have another way to do it work agains.

Thank.
Title: Re: ALL-11 Erase 89V51RD2BN block 0 and bloack
Post by: Jan Waclawek on September 06, 2005, 04:45:07 AM
Of course if you erased block 1 containing the bootloader you cannot run it...

But you mentioned you used ALL-11 to erase it - so it IS a parallel programmer, isn't it - if it is capable of erasing the boot block, it should also be able to program it, check it out.

Jan Waclawek
Title: Re: ALL-11 Erase 89V51RD2BN block 0 and bloack
Post by: Seksit on September 07, 2005, 09:42:05 PM
Okay, I try that. I want to reprogram boot block. How to do.???
Title: Re: ALL-11 Erase 89V51RD2BN block 0 and bloack
Post by: Jan Waclawek on September 07, 2005, 11:50:50 PM
> I want to reprogram boot block. How to do.???

I don't know, I don't have an ALL-11. Refer to the ALL-11 manual.

Jan Waclawek