Hello dear community,
I recently got to work with some STM32 MCUs and arduino IDE quite successfully...except for this one:
MINI STM32F103C8T6. In spite of sharing ref with the blue pill, it has a totally different format and simply does not work when used as a blue pill.
I used a USB to serial device and tried the same way as I successfully do with a blue pill. However this time the MCU is not even detected.
I also tried to work with it as if it was a maple mini, but the same error is shown :
Resetting to bootloader via DTR pulse
Reset via USB Serial Failed! Did you select the right serial port?
Searching for DFU device [1EAF:0003]...
Assuming the board is in perpetual bootloader mode and continuing to attempt dfu programming...
If somebody has experience with these boards or know how to connect and upload code to them, I will be grateful for the help.
Best regards,
Antoine
With this board, I have no experience. But certainly with Bluepills.
Have you an (clone) ST-Link V2.0 programmer ? If so, the equivalent pins to connect it to on your board, which does not have the standard header, are 3.3v, PA13, PA14, GND
Which Arduino core do you use, incidentally, to program these things, the old Roger Clarke version or the new STMicroelectronics version ?
OK. You are using the 'old' Roger Clarke core.
Here is a reasonable overview of the current situation regarding STM32 Arduino support . Program "blue pill" with STM32 Cores in Arduino IDE · One Transistor
Your compact board appears not to have Boot0 (physical pin 44) broken out so I am not sure how you work with the standard bootloader.
The ST-LINK V2 programmer clones are very cheap so may, in your case, be an option.
the Stlink v2 has arrived, and I also installed the new STMicroelectronics core. Everything worked like a charm, you did give me the good tip mister 6v6GT, Thanksa a lot. I added Karma, I hope it is a good thing...
I'm pleased that all worked out. There is also this forum for STM32 (Bluepill etc.) support. It is somewhat less active than the Arduino forum but there are some good experts there: https://www.stm32duino.com/