ALL-11 Erase 89V51RD2BN block 0 and bloack

Started by Seksit, September 05, 2005, 05:06:18 AM

Previous topic - Next topic

Seksit

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.

Jan Waclawek

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

Seksit

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.

Jan Waclawek

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

Seksit

Okay, I try that. I want to reprogram boot block. How to do.???

Jan Waclawek

> 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