Yahoo Groups archive

Lpc2000

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

Thread

BDI2000 Flash Load Issue

BDI2000 Flash Load Issue

2005-03-29 by najay1

I have started playing with a couple of LPC2129 eval boards and have
noticed a strange anomoly, which i hope somebody here can answer. I
can flash an elf file through the bdi, and i can debug the code fine
using arm-elf-insight, but when I unplug the emulator the code will
not run. I verified this with 2 separate code snippets.

However, if i load the code using the philips loader, all is well. The
only strangeness i have noticed in all this is flash offset 0x14 is
different.

Has anybody seen anything like this, and maybe has an answer? This is
really starting to annoy me.

Thanks, najay

Re: [lpc2000] BDI2000 Flash Load Issue

2005-03-29 by Marko Pavlin

There's signature at 0x00000014.

c/p:
This signature is a word-wide number that is stored in the unused 
location in the ARM7 vector table at 0x00000014. The program signature 
is the two\ufffds compliment of the checksum of the ARM7 vector table.

Marko

najay1 wrote:
Show quoted textHide quoted text
> 
> I have started playing with a couple of LPC2129 eval boards and have
> noticed a strange anomoly, which i hope somebody here can answer. I
> can flash an elf file through the bdi, and i can debug the code fine
> using arm-elf-insight, but when I unplug the emulator the code will
> not run. I verified this with 2 separate code snippets.
> 
> However, if i load the code using the philips loader, all is well. The
> only strangeness i have noticed in all this is flash offset 0x14 is
> different.
> 
> Has anybody seen anything like this, and maybe has an answer? This is
> really starting to annoy me.
> 
> Thanks, najay
> 
> 
> 
> 
> *Yahoo! Groups Sponsor*
> ADVERTISEMENT
> click here 
> <http://us.ard.yahoo.com/SIG=1290imeu1/M=298184.6018725.7038619.3001176/D=groups/S=1706554205:HM/EXP=1112172743/A=2593423/R=0/SIG=11el9gslf/*http://www.netflix.com/Default?mqso=60190075>
> 
> 
> ------------------------------------------------------------------------
> *Yahoo! Groups Links*
> 
>     * To visit your group on the web, go to:
>       http://groups.yahoo.com/group/lpc2000/
>        
>     * To unsubscribe from this group, send an email to:
>       lpc2000-unsubscribe@yahoogroups.com
>       <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>
>        
>     * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>. 
> 
>

Re: BDI2000 Flash Load Issue

2005-09-10 by sbechtho

Is there a way to get this signature at 0x00000014 via BDI2000, i.e.
with help of some script or anything else ?

Sascha

--- In lpc2000@yahoogroups.com, Marko Pavlin <mp@h...> wrote:
Show quoted textHide quoted text
> There's signature at 0x00000014.
> 
> c/p:
> This signature is a word-wide number that is stored in the unused 
> location in the ARM7 vector table at 0x00000014. The program signature 
> is the two's compliment of the checksum of the ARM7 vector table.
> 
> Marko
>

Re: BDI2000 Flash Load Issue

2005-09-10 by Mark Butcher

Hi Najay

If a download is performed via the Philips FLASH loader (serial) the 
loading program calculates the value and stores it automatically.

If you are using a BDI to load a program, the BDI will probably not 
know that it has to be clever and add this piece of info and will 
probably leave the value at 0xffffffff or 0x00000000 as it is in the 
binary, S-record or whatever it is downloading with.

I don't know the BDI2000 and therefore can not comment about script 
files but there is another solution which I have used in the past.

Add a last step in the tool chain process which takes the 
downloadable image, calculates the necessary value and adds it to 
the image (it is quite easy if working with binary or S-records but 
I haven't done it with ELF for example). Afterwards the BDI can work 
as normal and the code will start since the boot loader believes it 
is a valid program (which is not the case if the unused vector is 
left unmodified)

Regards

Mark Butcher
www.mjbc.ch

--- In lpc2000@yahoogroups.com, "sbechtho" <sbechtho@y...> wrote:
> Is there a way to get this signature at 0x00000014 via BDI2000, 
i.e.
> with help of some script or anything else ?
> 
> Sascha
> 
> --- In lpc2000@yahoogroups.com, Marko Pavlin <mp@h...> wrote:
> > There's signature at 0x00000014.
> > 
> > c/p:
> > This signature is a word-wide number that is stored in the 
unused 
> > location in the ARM7 vector table at 0x00000014. The program 
signature 
Show quoted textHide quoted text
> > is the two's compliment of the checksum of the ARM7 vector table.
> > 
> > Marko
> >

Re: [lpc2000] Re: BDI2000 Flash Load Issue

2005-09-12 by Samuel

you can ask rudei at support@...  

--- sbechtho <sbechtho@...> wrote:

> Is there a way to get this signature at 0x00000014
> via BDI2000, i.e.
> with help of some script or anything else ?
> 
> Sascha
> 
> --- In lpc2000@yahoogroups.com, Marko Pavlin
> <mp@h...> wrote:
> > There's signature at 0x00000014.
> > 
> > c/p:
> > This signature is a word-wide number that is
> stored in the unused 
> > location in the ARM7 vector table at 0x00000014.
> The program signature 
> > is the two's compliment of the checksum of the
> ARM7 vector table.
> > 
> > Marko
> > 
> 
> 
> 
> 



		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

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.