From: NIIBE Y. <gn...@ch...> - 2000-05-09 03:18:39
|
Mitch Davis wrote: > Can someone advise me on how I can get GDB to talk > to the SolutionEngine, for loading images, setting memory > and starting execution please? I'm using my GDB stub to learn the programming of SuperH. GDB stub is not so qute. Kaz uses his own ITRON based monitor, I've heard. You can see GDB stub at ftp://ftp.m17n.org/pub/super-h. In my case, I have to set MD[2:0] ON-OFF-OFF and specify the clock rate 6:2:1 (CPU 200MHz, Bus 66MHz, Module 33MHz), to stabilize it. In case of Busclock=33MHz, I faced sudden stop/reset of the system, as I've reported. I don't know why. Currently, it works fine for me. To write gdb-stub image to the flash rom, I used Kermit like follows. ---------------------- Kermit > set line /dev/ttyS0 > set speed 115200 > binary > set transmit pause 1 ---------------------- On the monitor (FLash command) Ready> fl a0000000 ---------------------- Kermit to send gdb-stub S-record > transmit gdb-sh-stub/sh-stub.srec ---------------------- You need some "pause" as there's no protocol to control the flow. But I don't recommend so much using GDB stub, as it's not good, no user interface. If you'd like hacking, please try it out. -- |