* Generic Proxy RSP Server
@ 2009-06-30 18:26 Jeremy Bennett
2009-06-30 19:02 ` Michael Snyder
0 siblings, 1 reply; 2+ messages in thread
From: Jeremy Bennett @ 2009-06-30 18:26 UTC (permalink / raw)
To: gdb
I recently had to port GDB to a new embedded DSP architecture before the
chip was available either in Silicon or model. All I had was the ABI
specification, a GCC compiler and a promise of a cycle accurate model in
a few weeks.
In the absence of any target, I created a simple proxy for RSP, which
was capable of modeling blocks of memory and registers, initialized
according to the ABI specification. This allowed me to test the
architecture definition in the GDB client against the ABI before the
target was ready.
When the target became available (as a model), I was able to quickly
write an RSP server, with some confidence that the GDB client would be
working reasonably accurately.
I'm sure I'm not the first person to do this, but thinking it could be
useful to others, I've packaged up the code and written a user guide for
it (all GPL). It should be configurable to act as a proxy for any "bare
metal" embedded target.
http://www.embecosm.com/download/esp7.html
I'm very happy to donate the code to GDB if people think it would be a
useful addition.
Feedback and comments welcome.
Jeremy
--
Tel: +44 (1590) 610184
Cell: +44 (7970) 676050
SkypeID: jeremybennett
Email: jeremy.bennett@embecosm.com
Web: www.embecosm.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Generic Proxy RSP Server
2009-06-30 18:26 Generic Proxy RSP Server Jeremy Bennett
@ 2009-06-30 19:02 ` Michael Snyder
0 siblings, 0 replies; 2+ messages in thread
From: Michael Snyder @ 2009-06-30 19:02 UTC (permalink / raw)
To: jeremy.bennett; +Cc: gdb
Jeremy Bennett wrote:
> I recently had to port GDB to a new embedded DSP architecture before the
> chip was available either in Silicon or model. All I had was the ABI
> specification, a GCC compiler and a promise of a cycle accurate model in
> a few weeks.
>
> In the absence of any target, I created a simple proxy for RSP, which
> was capable of modeling blocks of memory and registers, initialized
> according to the ABI specification. This allowed me to test the
> architecture definition in the GDB client against the ABI before the
> target was ready.
>
> When the target became available (as a model), I was able to quickly
> write an RSP server, with some confidence that the GDB client would be
> working reasonably accurately.
>
> I'm sure I'm not the first person to do this, but thinking it could be
> useful to others, I've packaged up the code and written a user guide for
> it (all GPL). It should be configurable to act as a proxy for any "bare
> metal" embedded target.
>
> http://www.embecosm.com/download/esp7.html
>
> I'm very happy to donate the code to GDB if people think it would be a
> useful addition.
>
> Feedback and comments welcome.
I've had to do something similar, so I recognize the utilitity.
But by the way "RSP"? Is that remote serial port, route/switch
processor, or revolutionary socialist party? 1/2 ;-)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-30 19:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-30 18:26 Generic Proxy RSP Server Jeremy Bennett
2009-06-30 19:02 ` Michael Snyder
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox