2023-09-28 09:13 PM
I've been previously programming the STM32F103C6T6 blue pill with an FTDI via UART and am now trying to flash a USB bootloader binary to program it directly via USB.
I've closely followed the guide on https://www.electrosoftcloud.com/en/stm32f103-bootloader-and-programming/ - I've successfully flashed the generic_bootloader_pc_13.bin file via UART, installed the required drivers, and followed the BOOT0 pattern correctly. On connecting via USB, the board is detected as "Maple DFU" in the Device Manager.
But STM32CubeProgrammer keeps showing "No DFU detected" when I try connecting via USB and pressing the refresh button.
However, when I enter the PID and VID specified in the Maple DFU driver properties shown below in STM32CubeProgrammer:
On refreshing and trying to connect, the error "unknown or unsupported device" is displayed:
I've followed several online resources, and nobody seems to encounter this issue.
Can anyone provide any insights into why this might occur?
2023-09-30 09:23 AM
> But why not USB 3.x?
New USB 3.x hubs sometimes are less tolerable to "not 100% compatible" full speed devices. Depends on the model, of course.
2023-09-30 12:25 PM
why you dont choice device with system DFU? List is in AN2606
2023-09-30 10:37 PM - edited 2023-09-30 10:57 PM
So you mean that the STM32F10xxx series lacks a USB bootloader as the only bootloader listed on Page 75 is USART1? Other series do have DFU bootloader listed in their bootloader configuration. Seems there's no way to program the device in hand using STM32CubeProg and USB. I need to use this device so FTDI (to flash bin files)/ST-Link (to use STM32Cube since FTDI doesn't support debugging) are probably the only options :\
2023-10-01 12:04 AM
Yes as you see DFU is only 105 107
but MCUs with USB interface without this in system ROM, can use user coded DFU ... you test it, but not based on BOOT0 pin...
2023-10-01 03:20 AM
2023-10-01 09:28 AM - edited 2023-10-01 09:29 AM
Thank you! I'll check if this works for uploading bin/hex files via USB. For debugging in STM32CubeIDE, ST-Link is the only option.
2024-07-16 03:31 AM
Bro I am also getting same kind of error in device driver window. When i connect STM32f103c6t6 board it is showing
USB device not recognized. I tried with TTL using cube programmer it is working but via USB it is not working. If you get the solution please share here