At 09:57 PM 7/5/04 +0000, you wrote:
> > Just a quick untested idea: I wonder if instead of implementing
>your own
> > bootloader because P0.14 is physically inaccessible, you could
>force it
> > to enter the built in bootloader on the next reboot by corrupting
>the
> > vector table checksum word? Of course it will then be completely
> > unbootable until the flash is reprogrammed so you want to be
>careful
> > that you only do it when you're sure the user wants to reprogram
>the device.
>
>That'll be risky business indeed. Luckily, the built-in IAP flash
>programmer can program anywhere except the bootloader sector. I think
>if you corrupt reset table the mcu will be totally useless on
>reset...not even the bootloader will run.
I don't believe the OP is talking about rewriting the bootload sector just
the interrupt vector table (which is at the beginning of the flash rather
than the end). If I were trying that I'd just erase the first sector
(sector/segment/paragraph whatever they call it). That should be relatively
safe. The chip would then act as if it were new. Whether that's better
than bringing out P0.14 for toggling is a different question.
Robert
" 'Freedom' has no meaning of itself. There are always restrictions,
be they legal, genetic, or physical. If you don't believe me, try to
chew a radio signal. "
Kelvin Throop, IIIMessage
Re: [lpc2000] Re: loading hex-es....(Tricky Situation)
2004-07-05 by Robert Adsett
Attachments
- No local attachments were found for this message.