Yahoo Groups archive

Lpc2000

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

Message

re: self-destruct code in Philips boot sector

2005-12-12 by jayasooriah

Hello,

An application code being debugged on LPC device that crashes can
execute code in boot sector and cause the device to self-destruct.

This is because the code provided by Philips in boot sector is not
protected from inadvertent execution.

Furthermore the algorithms for programming LPC flash do not require
any feed sequences (eg 0xaa followed by 0x55) as is the industry
practice.  

For these reasons, I want to replace Philips boot loader with my own.
The aim is to not have any flash programming code at all in the boot
sector, or for that matter, in any flash sector.

My bootloader allows you to load and run code by simply copying and
pasting Intel-hex load files onto Minicom or HyperTerm window to the
serial port.  This is another reason why I want to replace the loader
provided by Philips.

Has anyone replaced Philips boot loader code for any LPC device?

Kind regards,

Jaya

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.