public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] "Invalid download offset" when downloading eCos
@ 2001-04-18  4:02 Daniel.Andersson
  2001-04-18  8:57 ` Jonathan Larmour
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel.Andersson @ 2001-04-18  4:02 UTC (permalink / raw)
  To: ecos-discuss

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?

I have built the "default" version of eCos.

Regards, Daniel

--------------clip-----------------------
administrator@CS080091 /c/program files/red hat/eCos/examples
$ make
arm-elf-gcc -mcpu=arm7tdmi                         -c -o hello.o -g -Wall
-I/ecos-work/eb40_install/include -ffunction-s
ections -fdata-sections -I/cygwin-1.1.8-2/newlib/libc/include hello.c
arm-elf-gcc -mcpu=arm7tdmi                         -nostartfiles
-L/ecos-work/eb40_install/lib -Wl,--gc-sections -Wl,-Ma
p -Wl,bt_mapfile.map -o hello hello.o -Ttarget.ld -nostdlib -o kalle.out

administrator@CS080091 /c/program files/red hat/eCos/examples
$ arm-elf-gdb -nw kalle.out
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-cygwin --target=arm-elf"...
Angel Debug Monitor (serial) 1.04 (Advanced RISC Machines SDT 2.5) for
AT91EB40 (2.00)
Angel Debug Monitor rebuilt on Apr 07 2000 at 12:40:31
Serial Rate:   9600
Connected to ARM RDI target.
gdb.ini:3: Error in sourced command file:
Invalid download offset: files/red hat/eCos/examples/kalle.out
--------------clip-----------------------

-----Original Message-----
From: Balet Charles-Henri [ mailto:charles-henri@prolectronic.com ]
Sent: den 15 april 2001 17:28
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] Personals files with CVS update


Hello, I want to work with the CVS for having the last version, but I have
modify the ecos.db and
adding directory and files for an new platform, my question : are this
modified files replaced on
the next CVS update, if yes, how can I make for preserve this own files ?
many thanks

^ permalink raw reply	[flat|nested] 5+ messages in thread
* RE: [ECOS] "Invalid download offset" when downloading eCos
@ 2001-04-18 23:48 Daniel.Andersson
  2001-04-19  6:20 ` Lewin A.R.W. Edwards
  2001-04-19 14:27 ` Jonathan Larmour
  0 siblings, 2 replies; 5+ messages in thread
From: Daniel.Andersson @ 2001-04-18 23:48 UTC (permalink / raw)
  To: jlarmour; +Cc: ecos-discuss

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-04-19 14:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-18  4:02 [ECOS] "Invalid download offset" when downloading eCos Daniel.Andersson
2001-04-18  8:57 ` Jonathan Larmour
2001-04-18 23:48 Daniel.Andersson
2001-04-19  6:20 ` Lewin A.R.W. Edwards
2001-04-19 14:27 ` Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).