I cross-compiled libusb and the imx_usb utility for windows (mingw64 toolchain), but an error occurred as it was trying to open the imx_device after detecting it ( -4 DEVICE_NOT_FOUND ).
I got rid of the problem by commenting out the libusb_free_device_list unref call (right after find_imx_dev).
As it's stated in the libusb documentation, "Be careful not to unreference a device you are about to open until after you have opened it."
I'm surprised I'm the only one reporting this, am I missing something ?
Hello,
I cross-compiled libusb and the imx_usb utility for windows (mingw64 toolchain), but an error occurred as it was trying to open the imx_device after detecting it ( -4 DEVICE_NOT_FOUND ).
I got rid of the problem by commenting out the libusb_free_device_list unref call (right after find_imx_dev). As it's stated in the libusb documentation, "Be careful not to unreference a device you are about to open until after you have opened it."
I'm surprised I'm the only one reporting this, am I missing something ?
Tested on windows 7 64 bit and windows 10 64 bit.