viewtopic.php?f=9&t=1960&start=30
Disadvantage of jtag is that it consumes 4 IO pins...
As I am not an expert on this issue I would very much appreciate if the initiator of this thread could show us more on how to configure/build a solution based on the gdb-stub or xmon via the serial port, or perhaps via wifi...