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]

GDB load "timed out"


Hi all!

I'm using ARM's Evaluator-7T (e7t) to develop eCos- as well as OS-free-
embedded applications. I'm using GDB and its "target remote - load - continue"
cycle to debug them thru the serial line.

This morning I got a loading error on a new binary as follows:
(see trace 1 below)
...then the whole following get "Timed out" messages.
All my others binaries' loadings remained the same, so why is that particular
one failing? Could my binary's contents have an influence on the transmission?
As I was developing it, the binary may (ok, must :) be buggy...

Then I decided to slow down my serial line from 38400 to 9600 but I needed to
recompile RedBoot to do that (no "baudrate" command available in the
pre-compiled redboot image for e7t). Using eCos' last CVS update and configtool
v1.3.1.2, I chose the e7t template with "all" packages and added the RedBoot
package (there has been an automatic conflict "resolution" here), then set the
serial speed (CYGNUM_HAL_VIRTUAL_VECTOR_CHANNELS_DEFAULT_BAUD) to 9600. At
compile time, I get the following build error:
(see trace 2 below)
I'm not an eCos' internals expert yet, what does that mean? Which settings did
I missed?

Thanks!
Sylvain

-- begin trace 1 --
(gdb) load
Loading section .text, size 0x438 lma 0x8000
Sending packet: $X8000,0:#b6...Ack
Packet received: OK
binary downloading suppported by target
Sending packet: $X8000,132:\002x a\006\001\000ê\rA
á\000O-é\004°Lâ\024DMâ\020\00
0\013å\024\020\013å\030 \013å\0340\013åA0\237å\000\000\223å\000\020\223å\001 
a\
0200\eå\0223 á\003
àá\0000\221å\0020\003à\0000\200å\2300\237å\000\000\223å\000\0
20\223å\b \233å\0200\eå\022}\003
á\0000\221å\0020\203á\0000\200åx0\237å\000\000\
223å\000\020\223å\a  a\0200\eå\0223 á\003
àá\0000\221å\0020\003à\0000\200å\0340\
eå\203  á\0040\233å\003 \202á\0240\eå\0031 á\003 \202á\0300\eå\2031 á\0030\202á
0\013å}\0040\237å\000\000\223å\000\020\223å  \eå\0200\eå\022}\003
á\0000\221å\00
20\203á\0000\200å\000"\eé8\205\000\000H\205\000\000\rA
á\000O-é\004°Lâ\004DMâ\02
0\000\013å\0340\237å\000\020\223å\001  a\0200\eå\022}\003
á\0000\221å\0030\002à\
003\000 á\000"\eé<\205#f3...Ack
Packet received: OK
Sending packet: $X8132,134:\000\000\rA
á\000O-é\004°Lâ\004DMâ\020\000\013å}\0040
\237å\000\000\223å\000\020\223å\001  a\0200\eå\0223 á\003
àá\0000\221å\0020\003à
\0000\200å\000"\eé<\205\000\000\rA
á\000O-é\004°Lâ\bDMâ\020\000\013å\024\020\013
åH0\237å\000\000\223å\000\020\223å\001  a\0200\eå\0223 á\003
àá\0000\221å\0020\0
03à\0000\200å 0\237å\000\000\223å\000\020\223å\024 \eå\0200\eå\022}\003
á\0000\2
21å\0020\203á\0000\200å\000"\eé@\205\000\000\rA á\000O-é\004°Lâ\0240\237å\000
\2
23å\0000\223å\0000\223å\t=\203a\0000\202å\000"\eéD\205\000\000\rA
á\000O-é\004°L
â\004DMâ\020\000\013å\0340\237å\000\000\223å\000\020\223å\0200\eå\003
àá\0000\22
1å\0020\003à\0000\200å\000"\eéL\205\000\000\rA
á\000O-é\004°Lâ\004DMâ\020\000\01
3å\0300\237å\000\020#da...Ack
Timed out.
Timed out.
Timed out.
Ignoring packet error, continuing...
-- end trace 1 --

-- begin trace 2 --
arm-elf-gcc -c  -I//C/devel/redboot/redboot_install/include
-I//C/local/src/ecos/packages/compat/posix/current
-I//C/local/src/ecos/packages/compat/posix/current/src
-I//C/local/src/ecos/packages/compat/posix/current/tests -I.
-I//C/local/src/ecos/packages/compat/posix/current/src/ -mcpu=arm7tdmi
-mno-short-load-words -Wall -Wpointer-arith -Wstrict-prototypes -Winline
-Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections
-fno-rtti -fno-exceptions -fvtable-gc -finit-priority -Wp,-MD,src/mqueue.tmp -o
src/compat_posix_mqueue.o
//C/local/src/ecos/packages/compat/posix/current/src/mqueue.cxx
cc1plus.exe: warning: -fvtable-gc is no longer supported
//C/local/src/ecos/packages/compat/posix/current/src/mqueue.cxx:73:48: new: No
such file or directory
<internal>: In function `void* mq_open(const char*, int, ...)':
<internal>:292: too many arguments to function `void* operator new(long 
   unsigned int)'
//C/local/src/ecos/packages/compat/posix/current/src/mqueue.cxx:292: at this 
   point in file
make[1]: *** [src/mqueue.o.d] Error 1
-- end trace 2 --


___________________________________________________________
Do You Yahoo!? -- Vos albums photos en ligne, 
Yahoo! Photos : http://fr.photos.yahoo.com


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