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]

RE: "Invalid download offset" when downloading eCos


Hi,

>Daniel.Andersson@combitechsystems.com wrote:
>> 
>> Hi,
>> 
>> I am using Carl's version of eCos but i cant download any code. If i try
>> then i get the below error message from gdb. I have tried downloading on
>> different locations i.e. 0x02018000 and 0x02000000 and according to the
>> manual it should be right. What else could be wrong?
>
>From the output it looks like the spaces in the filename path are confusing
>it.
>

I don't think so because i have a ledblink application in the same folder
that is NOT using eCos and it works fine to download it. If i run an objdump
on my output file i get the following:

-----------clip------------
Program Header:
    LOAD off    0x00008000 vaddr 0x02000000 paddr 0x02000000 align 2**15
         filesz 0x0000a07c memsz 0x0001239c flags rwx
private flags = 0: [interworking not enabled] [APCS-32] [floats passed in
integer registers] [absolute position]
-----------clip------------

What does it mean by LOAD off 0x00008000? It seems to me that it is this
offset that isn't correct...?

Another question: Is it possitble to download an eCos application with Angel
and make it work fine or do i have to download an eCos gdb stub first.

/Daniel


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