Commit Graph

6 Commits

Author SHA1 Message Date
fa5647aaab Reopen stdout as an unbuffered binary stream
We want to dump output directly from the device without any further
processing, to support binary data dumps; we also disable buffering
on stdout, to support piping output to other processes more cleanly.
2020-06-10 18:08:29 -04:00
b9562c04e0 Add ability to add output marker via external signal
For example, a script to flash the chip can use this to mark the
output so that it's clear when the target was actually reset.
2020-05-19 10:23:15 -04:00
b3399e6134 Improve throughput by reading data in larger chunks
Once a first byte is received, read as many as are immediately
available in larger chunks before going back to single-byte reads.
This prevents dropped data when the host is sending it quickly.
2020-05-19 10:21:51 -04:00
ed0f7f47f9 Exit cleanly on keyboard interrupt 2020-04-10 10:44:20 -04:00
ae4b0081c8 Improve sync packet handling 2020-04-10 10:44:01 -04:00
e63bc84139 Add Python script to decode ITM data from SWD 2020-04-09 14:35:06 -04:00