I can avoid getting
Code: Select all
Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
I updated usb driver with zadig to WinUSB v6.1.7600.X:
But I am still getting this error.
I compile through platformIO and the flashing isn't stable, sometimes I have this output:
Code: Select all
Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
** Programming Started **
** Programming Finished **
** Verify Started **
** Verified OK **
** Programming Started **
** Programming Finished **
** Verify Started **
** Verified OK **
** Programming Started **
** Programming Finished **
** Verify Started **
** Verified OK **
shutdown command invoked
=================================================================================================== [SUCCESS] Took 62.58 seconds ===================================================================================================
Terminal will be reused by tasks, press any key to close it.
Code: Select all
Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
** Programming Started **
Error: timed out while waiting for target halted / 4 - 2
Error: xtensa_wait_algorithm: not halted 0, pc 0x40090068, ps 0x60025
Error: Failed to wait algorithm (-302)!
Error: Algorithm run failed (-302)!
*** [upload] Error 3221225477
Thanks