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: problem with redboot


On Wed, 2003-05-14 at 19:27, Gary D. Thomas wrote:
> On Wed, 2003-05-14 at 11:20, Alessandro GARDICH wrote:
> > hi to all 
> > 
> > 
> > i have a problem with Redboot,i have a borad with already intalled
> > RedBoot and there is problem usign that with gdb-5.3 but work fine with
> > gdb-4.18, probably redboot was compiled with a gcc version
> > 2.9-xscale-010413 (never hear about that) ... 
> > 
> > i'm unable to make gdb-5.3 talk with redboot :(
> > 
> > can be a problem cause of different comunication protocol ??
> > 
> > how i can solve ... 
> > 1) can I setup gdb-5.3 to use an older protocol ? how ? 
> > i just make a fast search but find nothing about setting the protocol 
> > 
> > 2) when i'll have the board definition for ecos what can i do ?
> 
> There has been no change [at least not any that would break 
> your setup] in GDB 5.3.  In fact, this version is known to
> work much better (especially the GUI version, Insight) than
> previous versions.
> 
> I'd guess it's some sort of setup issue.
> 
> What have you tried?  Before you try to connect, can you
> turn on remote debugging? 
>   (gdb) set debug remote 1
> 
> You should also check that the default baud rate matches, etc,
> or else force them as appropriate.

here is the actions i do st startup ... 

(gdb) set debug remote 1
(gdb) set remotebaud 115200
(gdb) file test
Reading symbols from test...done.
(gdb) target remote /dev/ttyS0
Remote debugging using /dev/ttyS0
Sending packet: $Hc-1#09...putpkt: Junk: 
Ack
Packet received:
Sending packet: $qC#b4...Ack
Packet received:
Sending packet: $qOffsets#4b...Ack
Packet received:
Sending packet: $?#3f...Ack
Packet received: S05
Sending packet: $Hg0#df...Ack
Packet received:
Sending packet: $g#67...Ack
Packet received: 00300050010000005000000028a6000008c9000001000000a0fb00000000000020fc00005000000020c9000018c900001cc90000fcffff011c3a00500430005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d3000020
Sending packet: $mc918,4#d2...Ack
Packet received: 0c3a0050
Sending packet: $m50003a04,4#8a...Ack
Packet received: 10d82de9
Sending packet: $m50003a08,4#8e...Ack
Packet received: 04b04ce2
Sending packet: $m50003a0c,4#b9...Ack
Packet received: 0d40a0e1
Sending packet: $m50003a10,4#87...Ack
Packet received: 0cd09fe5
Sending packet: $m50003a14,4#8b...Ack
Packet received: 0fe0a0e1
Sending packet: $m50003a18,4#8f...Ack
Packet received: 00f0a0e1
Sending packet: $m50003a1c,4#ba...Ack
Packet received: 04d0a0e1
Sending packet: $m50003a20,4#88...Ack
Packet received: 10a81be9
Sending packet: $m50003a24,4#8c...Ack
Packet received: fcffff01
0x50003004 in ?? ()
(gdb) break 4
Breakpoint 1 at 0x1000000: file test.s, line 4.
Loading section .text, size 0x2c lma 0x1000000
Sending packet: $X1000000,2c:\n\000??\017\020??\003\000\000?\024 \237?\000\000\202?\003\000\000??\020??\001\000\200?\016???\000\000\000\000,\001\000\001#6d...putpkt: Junk: 
Ack
Packet received: OK
Loading section .data, size 0x4 lma 0x100012c
Sending packet: $X100012c,4:\000\000\000\000#79...Ack
Packet received: OK
Start address 0x1000000, load size 48
Transfer rate: 384 bits in <1 sec, 24 bytes/write.
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n)
y
Sending packet: $k#6b...putpkt: Junk: 
Ack
Starting program: /home/gremlin/work/pxa/asmtest/test
Don't know how to run.  Try "help target".

two things i don't understand ... 
1) why there is an alredy running process ???
2) ehat mean "don't know how to run"


thanks


> 
> -- 
> Gary D. Thomas <gary.thomas@mind.be>
> 
> 
> -- 
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
-- 
 /-------------------------------------------------------------\
|           Alessandro Gardich : gremlin@gremlin.it             |
 >-------------------------------------------------------------<
|  I never saw a wild thing sorry for itself.                   |
|  A small bird will drop frozen dead from a bough              | 
|  without ever having felt sorry for itself.                   |
 \-------------------------------------------------------------/

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