Sun Nov 9 13:22:15 EST 2014
debugging USB on f103
So it seems that the low-level libopencm3 part is running fine. RSP
stub is mostly working as well. There is no real need for debugging
at the packet level.
Something I noticed though is that the max packet size seems to be 32
instead of 64. Strange..
So, what I want to do is to make a pass-through for the RSP data that
will log it. The simplest way to do this is to bridge /dev/ttyACM0 to
a tcp port and use a tcp sniffer.
socat /dev/ttyACM0 TCP-LISTEN:12345,reuseaddr
tcpflow -i lo -C -e port 12345