David Brown wrote:
mind you, the pyserjtag adapter does only support programming, NO
debugging.

Would it be possible to write msp430 code for the pyserjtag adaptor that
understood gdb serial protocol, and used it to drive the jtag lines - sort
of like rproxy, but on the msp430?

thats not an easy task... i once looked at how big a port of gdbproxy would get, and it would come close to 60kB Flash... (i cross compiled some parts and it used over 40kB, some vital parts were not yet included)

one problem is that for some MSPs you need to save the entire RAM during debugging and thats not possible with the 2k on the MSP in the pyserjtag box. gdbproxy even caches flash memory. that would require rewriting some parts, mabe even starting from scratch is an option.

of course, somebody could do a new implementation of the gdb protocol, i think it's possible with the serial-jtag circuit. one could start with memread/write, registers read/write, start/stop mcu, these functions are all easily possible with the download only library (MSP430mspgcc.dll and whats already in the serial-jtag firmware) adding the breakpoints would not be hard if that level was reached, altough someone with access to the debug docs would need to do that.

chris

Reply via email to