Failure may come from the device or the host, so report both return codes.
"Failed : -4,0x0" indicates "LIBUSB_ERROR_NO_DEVICE", which I am seeing 25% of the time regardless of the length of delay before requesting status, but does not mean that uploading bootcode.bin has failed.
Failure may come from the device or the host, so report both return codes.
"Failed : -4,0x0" indicates "LIBUSB_ERROR_NO_DEVICE", which I am seeing 25% of the time regardless of the length of delay before requesting status, but does not mean that uploading bootcode.bin has failed.