List of features added. Other small improvements.
Delete any previously-received file before starting the next transfer.
Optionally trace the USB packet length.
ForeverHangAfterPanic() keeps the watchdog happy in debug builds.
ForeverHang() gets a parameter.
TextParsingUtils.h & .cpp moved to library.
Integer arguments can now be expressed in hex.
'i' displays more information.
Other minor tweaks.
Assert that the unused rest of the TMS and TDI bits are zero.
Enable the watchdog, which now does not run any longer when the CPU is stopped by the debug unit.
Measure main loop iteration time.
Optionally trace the incoming characters.
Accept LF as ENTER indication, like the Bus Pirate does.
Limit the amount of commands processed at once.
DebugTestRxErrorHandling -> SimulateError
Added command Uptime.
Cope with the CPU being busy for long amounts of time.