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


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



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