Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Re: voiding flash (CRP) security

2006-01-02 by Dominic Rath

Hello,

I've put a small program that blinks the LED of my Olimx H2294 board into the 
on-chip flash, with 0x1fc set to 0x87654321. Bootloader is version 1.63.
JTAG doesn't work anymore.

Here are the results you wanted:
190 A	(entered G 0 A)
19tEsT A (entered G tEsT A)
191073741824 4 8 0 (entered T 1073741824 4 8 0)

The reply was '19' (CODE_READ_PROTECTION_ENABLED) each time, indicating that 
the CRP works as promised.

Regards,

Dominic


On Sunday 01 January 2006 15:45, jayasooriah wrote:
> I do not wish to comment on what the T command is there for, except to
> say it most will be surprised to know what it does, let alone that it
> exists.  I would like to give Philips an opportunity to respond to my
> original question first.
>
> Meanwhile, could those interested in checking out CRP feature to do
> the following and post the results:
>
> 1/  Enable CRP on a device (blank one will do).
>
> 2/  Verify CRP is enabled by Entering "G 0 A" and noting the result.
>
> 3/  Enter "G tEsT A" and observe what happens.
>
> 4/  Enter "T 1073741824 4 8 0" and observe the result code.
>
> I like to use these results to confirm that I have understood the boot
> loader code correctly.  I am not able to do these tests myself because
> my board will not arrive for another couple of weeks.
>
> I will follow up with a reference to my documentation of boot loader
> internals when this is ready, hopefully very soon.
>
> Many thanks.
>
> 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.