Hello there,
I am having problems uploading my firmware to a new Portenta H7 with STM32.
The error is
Cannot open DFU device 2341:035b found on devnum 17 (LIBUSB_ERROR_NOT_FOUND)
No DFU capable USB device available
*** [upload] Error 74
The board gets recognized in the device manager though it shows on different ports if disconnected and reconnected to the same plug.
The platformio.ini file looks like this:
[env:portenta_h7_m7]
platform = ststm32
board = portenta_h7_m7
framework = arduino
upload_protocol = dfu
lib_deps =
https://github.com/sandeepmistry/arduino-CAN.git
I don’t really know how to start adressing this problem. I tried all the other upload_protocols but none of those succeeded in uploading the code and also resulted in an error. I also tried to put the Portenta into Bootloader mode (double pressing the reset button), which also did not make a difference.