Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hosted/jlink: Expect the last byte for JTAG3 result in a single packet
* Asking for 1 byte less raises a libusb OVERFLOW error when using JLink V8 and newer with BMDA on Linux hosts after the proprietary software stack touches the adapter (but not before). * libusb docs recommend receiving into a bigger buffer (1028=512*2+4) and checking whether all of expected data got indeed received. * For firmwares which send that transaction-error byte in a separate packet, keep the second read call (V5 ones do this regardless).