Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Re: How to protect code in LPC2129

2006-02-16 by Karl Olsen

---- Original Message ----
From: "Rui Gon\ufffdalves" <rpsgoncalves@...>
To: <lpc2000@yahoogroups.com>
Sent: Thursday, February 16, 2006 5:59 PM
Subject: Re: [lpc2000] Re: How to protect code in LPC2129

> I've done that but when I read the flash buffer
> the value in position 0x1FC is 0x21346587
> instead of 0x87654321. Do you know why?
>
> What can I do to correct the problem?
> Write
>  .word 0x21435687

I finally tested http://groups.yahoo.com/group/lpc2000/message/11515 on my
LPC2103, and it works.  The Philips Flash Utility gives the not so useful
error message "Cannot communicate with test board!" when I try a Download
Flash or erase a subset of the sectors.

The LPC2000 uses little endian, so the value should be stored like this:

0x1FC = 0x21
0x1FD = 0x43
0x1FE = 0x65
0x1FF = 0x87

This is not an error.

Karl Olsen

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.