Yahoo Groups archive

Lpc2000

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

Message

RE: [lpc2000] FLASH Security

2005-12-14 by Joel Winarske

> Do any of the LPC series have FLASH security on par with PICs and AVRs?
> Or can you always just put a JTAG unit on it and copy out the memory?


User Manual excerpt:

Code Read Protection (CRP)
--------------------------
Code read protection is enabled by programming the flash address location
0x1FC (User flash sector 0) with value 0x8765 4321 (2271560481 Decimal).
Address 0x1FC is used to allow some room for the FIQ exception handler. When
the code read protection is enabled the JTAG debug port, external memory
boot and the following ISP commands are disabled:
. Read Memory
. Write to RAM
. Go
. Copy RAM to Flash
The ISP commands mentioned above terminate with return code
CODE_READ_PROTECTION_ENABLED. The ISP erase command only allows erasure
of all user sectors when the code read protection is enabled. This
limitation does not exist if the code read protection is not enabled. IAP
commands are not affected by the code read protection.

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.