From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel.Andersson@combitechsystems.com To: jlarmour@redhat.com Cc: ecos-discuss@sources.redhat.com Subject: RE: [ECOS] "Invalid download offset" when downloading eCos Date: Wed, 18 Apr 2001 23:48:00 -0000 Message-id: <2253171AF143D21185A60000F8FA748B02DA4CB0@pluto.combitech.se> X-SW-Source: 2001-04/msg00189.html 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