This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: application fail to execute instead.....


well, in my case after converting the hello to hello.srec the load
address is 0x30000000; this is the actual remapped address of the 
flashrom after reset, and i downloaded as u said. and when when i 
executed "go 0x30000040" i get the same RedBoot "version" output.

satish


On Thu, 31 Jul 2003 07:26:54 +0000
"Michael Anburaj" <embeddedeng@hotmail.com> wrote:

> Tip on find the load address (or eCOS app linked in address) & starting 
> point for go:
> 
> 1.
> Convert you elf to srec:
> arm-elf-objcopy -O srec hello hello.rec
> 
> hello is the eCOS app's elf image.
> 
> 2. Open it in a ASCII text editor.
> 
> 3. Find the 1st line with a S3 record
> Eg.
> S31500040000
> 
> 0x00040000 is the load address, use it with the load instruction
> 
> 4. Find the S7 record
> Eg.
> S705000400403E
> 
> 0x00040040 is the start point, use it with the go instruction.
> 
> Cheers,
> -Mike.
> 
> _________________________________________________________________
> MSN 8 with e-mail virus protection service: 2 months FREE*  
> http://join.msn.com/?page=features/virus

-- 
Satish Kumar <satish@bvt.sc.sanyo.co.jp>


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]