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.....


Hi Satish,

Comparing your ecos app's srec (hello.rec) & the redboot sign-on info., I see a problem with this.

Redboot sees RAM 0x00000000-0x04000000

But, you have linked in the ecos app at 0x30000000

Which is wrong. You app. should get linked at some address within the range (0x00000000-0x04000000).

I will send you more info. sooner


-Mike.


From: Satish Kumar <satish@bvt.sc.sanyo.co.jp>
To: "Michael Anburaj" <embeddedeng@hotmail.com>
CC: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] application fail to execute instead.....
Date: Thu, 31 Jul 2003 17:58:09 +0900

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


_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail



-- 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]