Compiling/debugging 405GP and RISCWatch
Kenneth Johansson
kenneth.johansson at inn.ericsson.se
Thu Mar 22 02:43:27 EST 2001
Mark Powell wrote:
>
>
> Is it possible to use the RISCWatch/JTAG interface as a backend to gdb?
No target exist now that Iam aware of.
The thing that prevent one from beeing written is that the help on the commands that the
riscwatch probe can do is to poor.
for ex. the help for dump is
---
help dump
dump - upload processor memory in absolute file format
dump -h <addr>..<addr> - upload hp format (requires transfer protocol)
dump -b <addr>..<addr> - send data in binary (valid with -h option)
dump -n <addr>..<addr> - send data in fast binary format
---
This dose not actually work if you trace a dump from the rwppc program you see that
a @<memory_type> is also needed.
On the other hand nobody has tried to make the interface difficult so its probably
quite easy to reverse engineer it.
What you need for gdb is a way to start/stop the cpu and to read/write registers and memory.
Its only the command for writing that is not obvious from the ascii trace that I did.
--
Kenneth Johansson
Ericsson Business Innovation AB Tel: +46 8 404 71 83
Viderögatan 3 Fax: +46 8 404 72 72
164 80 Stockholm kenneth.johansson at inn.ericsson.se
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list