How can I repair bootloader?

Started by scottyz, November 29, 2006, 11:30:31 PM

Previous topic - Next topic

scottyz

Hi :
I make a mistake ,i had erased contents in block1,
now ,i know block1 contains a bootloader code ,
even i usr All-11 programmer to burn my code in block0,
the mcu still not work, i had download a bootloader v5,and burn it
to block1, but i seems to have no effect.

what can i do?

Je Gold

Hi,

I can confirm you can reload the bootloader to block1  using a "Parallel" propgramer like the HiLo All-11.
(block0 is the user program code)

I have done it a few times.

you need to download the latest bootloader code from  NXP (Philips).

http://www.standardics.nxp.com/support/documents/microcontrollers/zip/boot.loader.p89(l)v51rd2.zip


PS... You may need to check your programmer setting to disable double clock etc.

Joe


Joe

Jan Waclawek

Even if you wouldn't be able to program block1 on the parallel programmer - which I doubt, I believe there must be some "trick" how to achieve it - maybe they map Block1 to above 0xFFFF? try consulting the programmer's manual, manufacturer's website etc. - if you program the "upgrade" into block 0, upon running it programs the bootloader to block1.

Have fun!

JW

Andy Ayre

The 89(L)V51Rx2 bootloader in the Flash Magic resources section is newer than the version on the NXP web site.

  http://www.flashmagictool.com/resources.html

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