You are absolutly right Karl. I've tested and it works just fine. Thanks, once more. Another question. How can I place same assembler code before position 0x01FC? And C code (compiled with gnuarm)? Rui Gonçalves ----- Mensagem Original ----- De: Karl Olsen <kro@...> Data: Quinta-Feira, 16 de Fevereiro de 2006, 21:00 Assunto: Re: [lpc2000] Re: How to protect code in LPC2129 > ---- Original Message ---- > From: "Rui Gonçalves" <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 > usefulerror 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 > > > > > Yahoo! Groups Links > > > > > > > _______________________________________________________________________________________ Ate 4500 euros para o que desejar! Saber mais em http://www.iol.pt/correio/rodape.php?dst=0601271
Message
Re: [lpc2000] Re: How to protect code in LPC2129
2006-02-17 by Rui Gonçalves
Attachments
- No local attachments were found for this message.