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 on STLinkReflash and BMDA on Linux. * 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.
- Loading branch information