2023-01-13 06:54 AM
I am trying to upgrade my uC via dfu-util however i receive an error and i do not know how could i debug it dfu-util: Error during download get_status
dfu-util 0.9
Opening DFU capable USB device...
ID 0483:df11
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 1024
DfuSe interface name: "Internal Flash "
Downloading to address = 0x08000000, size = 638548
Download [=========================] 100% 638548 bytes
Download done.
File downloaded successfully
dfu-util: Error during download get_status
2023-01-13 08:24 AM
On windows you can use STMCubeProgrammer CLI too for DFU.
Simply check flash content with stlink or ?
2023-01-16 01:37 AM
I am trying to upgrade the uC via software so i guess the only option for me is using the DFU, however when i call
system("sudo dfu-util -a 0 -i 0 -s 0x08000000:leave -D "path to file");
i get the error from above
When i am doing it from the STMCubeProgrammer interface all works well (even though i had to downgrade STMCubeProgrammer version, the latest one was crashing)