* restore hangs up
@ 2006-05-17 0:41 Shaun Jackman
[not found] ` <7f45d9390605161732g3fc29755ie7c7ac41bf07e965@mail.gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Shaun Jackman @ 2006-05-17 0:41 UTC (permalink / raw)
To: gdb
On arm-elf-gdb 6.4 for target rdi, the restore command hangs up. The
`Restoring binary' message is the last thing I see. I see that RDI
support has been removed from CVS. So, three questions:
1. Any idea how I can fix/work-around this bug?
$ arm-elf-gdb
GNU gdb 6.4
...
(gdb) target rdi e=jeeni
JEENI (ADP,ARM7TDI,RST) Rev 2.2
Rebuilt on Jan 12 2001 at 14:22:34
SN=0009J002 ENET=00:80:CF:00:09:E4
IP=192.168.9.2
Connected to ARM RDI target.
(gdb) restore firmware.bin binary 0x2000000
Restoring binary file /srv/tftp/ppimage.bin into memory (0x2000000 to 0x203e434)
^ permalink raw reply [flat|nested] 4+ messages in thread[parent not found: <7f45d9390605161732g3fc29755ie7c7ac41bf07e965@mail.gmail.com>]
* Re: restore hangs up [not found] ` <7f45d9390605161732g3fc29755ie7c7ac41bf07e965@mail.gmail.com> @ 2006-05-17 11:03 ` Daniel Jacobowitz 2006-05-17 19:27 ` Shaun Jackman 0 siblings, 1 reply; 4+ messages in thread From: Daniel Jacobowitz @ 2006-05-17 11:03 UTC (permalink / raw) To: Shaun Jackman; +Cc: gdb On Tue, May 16, 2006 at 06:32:28PM -0600, Shaun Jackman wrote: > On arm-elf-gdb 6.4 for target rdi, the restore command hangs up. The > `Restoring binary' message is the last thing I see. GDB does not > respond to Ctrl-C. I see that RDI support has been removed from CVS. > So, three questions: > > 1. Any idea how I can diagnose/work-around this bug in GDB 6.4? No, since we have no idea what the bug is. > 2. Can the restore command display some progress information? You could certainly hack it to; I don't know if it would be generally useful. > 3. With a CVS version of gdb (no RDI), is there a recommended way to > communicate with RDI targets such as the Jeeni JTAG device? Use a third-party program which converts RDI to the GDB remote protocol. There's at least two; one formerly distributed by Cygnus that you can probably still find (I'm afraid I don't remember the name) and one in CodeSourcery's ARM releases, which are publicly available. There might be others, too. -- Daniel Jacobowitz CodeSourcery ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: restore hangs up 2006-05-17 11:03 ` Daniel Jacobowitz @ 2006-05-17 19:27 ` Shaun Jackman [not found] ` <20060517165538.GA8625@nevyn.them.org> 0 siblings, 1 reply; 4+ messages in thread From: Shaun Jackman @ 2006-05-17 19:27 UTC (permalink / raw) To: Fernando Nasser; +Cc: gdb On 5/16/06, Daniel Jacobowitz <drow@false.org> wrote: > On Tue, May 16, 2006 at 06:32:28PM -0600, Shaun Jackman wrote: ... > > 3. With a CVS version of gdb (no RDI), is there a recommended way to > > communicate with RDI targets such as the Jeeni JTAG device? > > Use a third-party program which converts RDI to the GDB remote > protocol. There's at least two; one formerly distributed by Cygnus > that you can probably still find (I'm afraid I don't remember the name) > and one in CodeSourcery's ARM releases, which are publicly available. > There might be others, too. Fernando, Do you know anything about this Cygnus GDB/RDI translation utility? I looked into the CodeSourcery utility, rdi-stub. It requires a dl-solib (SORDI) that consumes the RDI data. The only one I know of is ARM's Armulator. I need one that communicates with a TCP port, but I'm not sure one exists. Cheers, Shaun ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <20060517165538.GA8625@nevyn.them.org>]
* Re: restore hangs up [not found] ` <20060517165538.GA8625@nevyn.them.org> @ 2006-05-18 0:07 ` Shaun Jackman 0 siblings, 0 replies; 4+ messages in thread From: Shaun Jackman @ 2006-05-18 0:07 UTC (permalink / raw) To: gdb, arm-gnu On 5/17/06, Daniel Jacobowitz <drow@false.org> wrote: > On Wed, May 17, 2006 at 10:02:46AM -0600, Shaun Jackman wrote: > > On 5/16/06, Daniel Jacobowitz <drow@false.org> wrote: > > >On Tue, May 16, 2006 at 06:32:28PM -0600, Shaun Jackman wrote: > > ... > > >> 3. With a CVS version of gdb (no RDI), is there a recommended way to > > >> communicate with RDI targets such as the Jeeni JTAG device? > > > > > >Use a third-party program which converts RDI to the GDB remote > > >protocol. There's at least two; one formerly distributed by Cygnus > > >that you can probably still find (I'm afraid I don't remember the name) > > >and one in CodeSourcery's ARM releases, which are publicly available. > > >There might be others, too. > > > > Fernando, > > > > Do you know anything about this Cygnus GDB/RDI translation utility? > > > > I looked into the CodeSourcery utility, rdi-stub. It requires a > > dl-solib (SORDI) that consumes the RDI data. The only one I know of is > > ARM's Armulator. I need one that communicates with a TCP port, but I'm > > not sure one exists. > > You're supposed to have one of these from wherever you got the RDI > device. The DLL interface is the only one ARM supports or documents, > as far as I remember. What it actually speaks looks like ADP, the > underlying proprietary protocol. > > It's possible that I am mistaken and the ADP DLL is supposed to come > from the ARM tools rather than the device. I'm not sure what to > suggest, then. You may need to ask EPI about this; their FAQ hasn't > been updated in years, but does reference "target rdi". EPI was bought by Mentor Graphics and has declared the Jeeni at its end-of-life, making it impossible to get any resources from the manufacturer. So, here's my plea. If anyone knows of a RDI-to-ADP (DLL interface to TCP stream) dynamic library that can be used with the rdi-stub utility, I'd be very interested in seeing it! If one exists, it might have come either from EPI or possibly with ARM's development tools. If one were to grep through their proprietary toolchain, I'm interested in hearing about any solib that defines the symbol `QuerySORDI'. Thanks for any information you can give! Cheers, Shaun ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-05-17 19:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-17 0:41 restore hangs up Shaun Jackman
[not found] ` <7f45d9390605161732g3fc29755ie7c7ac41bf07e965@mail.gmail.com>
2006-05-17 11:03 ` Daniel Jacobowitz
2006-05-17 19:27 ` Shaun Jackman
[not found] ` <20060517165538.GA8625@nevyn.them.org>
2006-05-18 0:07 ` Shaun Jackman
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox