Open adriatic opened 1 year ago
My Swan was in the state created running the same sample (blinking Led), few days back. So upload resulted with error
**dfu-util: No DFU capable USB device available *** [upload] Error 74**
dfu-util: No DFU capable USB device available *** [upload] Error 74
More precisely
Executing task: platformio run --target upload Processing bw_swan_r5 (platform: ststm32; board: bw_swan_r5; framework: arduino) -------------------------------------------------------------------------------------------------------------------------------------------------------------------- Verbose mode can be enabled via `-v, --verbose` option CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/bw_swan_r5.html PLATFORM: ST STM32 (15.4.1) > BluesWireless Swan R5 HARDWARE: STM32L4R5ZIY6 120MHz, 640KB RAM, 2MB Flash DEBUG: Current (blackmagic) External (blackmagic, cmsis-dap, jlink, stlink) PACKAGES: - framework-arduinoststm32 @ 4.20200.221104 (2.2.0) - framework-cmsis @ 2.50700.210515 (5.7.0) - tool-dfuutil @ 1.11.0 - tool-openocd @ 2.1100.211028 (11.0) - tool-stm32duino @ 1.0.1 - toolchain-gccarmnoneeabi @ 1.90201.191206 (9.2.1) LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf LDF Modes: Finder ~ chain, Compatibility ~ soft Found 12 compatible libraries Scanning dependencies... Dependency Graph |-- Wire @ 1.0 |-- Blues Wireless Notecard @ 1.3.18 | |-- Wire @ 1.0 Building in release mode Checking size .pio/build/bw_swan_r5/firmware.elf Advanced Memory Usage is available via "PlatformIO Home > Project Inspect" RAM: [ ] 0.6% (used 3988 bytes from 655360 bytes) Flash: [ ] 1.4% (used 28712 bytes from 2097152 bytes) Configuring upload protocol... AVAILABLE: blackmagic, cmsis-dap, dfu, jlink, mbed, serial, stlink CURRENT: upload_protocol = dfu Uploading .pio/build/bw_swan_r5/firmware.bin dfu-util 0.11 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2021 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to http://sourceforge.net/p/dfu-util/tickets/ dfu-util: No DFU capable USB device available *** [upload] Error 74
This really means that the Swan CPU was not properly reset, so it was not in the boot loader mode.
My Swan was in the state created running the same sample (blinking Led), few days back. So upload resulted with error
**
dfu-util: No DFU capable USB device available *** [upload] Error 74
**More precisely
This really means that the Swan CPU was not properly reset, so it was not in the boot loader mode.