Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: trashed 2148 bootloader

2006-02-22 by Jayasooriah

--- In lpc2000@yahoogroups.com, Richard Duits <yahoo@...> wrote:
 > > 1) I have no choice but to go through the embedded bootloader for the
 > > initial programming.
 > >
 > You can use JTAG to upload your own code to RAM and execute this, so if
 > you really do not want to use the philips bootloader you can use JTAG to
 > do whatever you want. Philips uses this same method to program the
 > bootloader and test the device. You also have an extra flash sector you
 > can use if you are short on flash and like to do everything yourself.

Note that whether JTAG or boot loader is used for programming, the same 
flash algorithms implemented in the boot loader come into the equation.

 > If the bootloader is erased, the hardware should be accessable with
 > JTAG, because there is no bootloader code to disable it.

If completely erased, yes.  However if boot sector is corrupted or 
partially erased, then it is possible first three instructions (to disable 
JTAG) get executed but not the code further down re-enable it.

Send instant messages to your online friends http://au.messenger.yahoo.com

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.