2025-06-07 12:05 PM
Hi,
I'm new to stm32 mcu. I got this Mini STM32F103C8T6 CH340 board from Alipexpress (https://fr.aliexpress.com/item/1005006910706030.html)
Thanks to the embedded CH340 uart, I thought I should be able to program it directly from the Arduino IDE. But I'm a little bit confused regarding the settings in the Arduino IDE for this board.
Is there anybody with experience on this board?
Who could give me the whole process to upload a program on this board?
What is the correct additionnal board url to use? I found 2:
-http://dan.drown.org/stm32duino/package_STM32duino_index.json
-https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json
And then which board/part number to select? Which upload method?
On the board itself: what is the correct way/order to press the buttons?
Thanks for your help
Solved! Go to Solution.
2025-06-09 5:07 AM - edited 2025-06-09 5:09 AM
Hello @Shuptuu and welcome to the ST community
According to the image you shared from Aliexpress the chip is not from ST:
ST resources are only dedicated to supporting genuine ST products. We are not committed to ensuring that clones/fakes products work properly with the firmware we provide.
This thread will now be locked. However, if you face difficulties while using genuine ST products, we’re here to assist you. Please feel free to start a new thread, and our team, along with community members, will be ready to help you with any issues/questions you encounter.
2025-06-07 8:58 PM
If the vendor doesn't provide any instructions, you should probably pick something similar / generic
You likely need to use the RST+BT0 button to reset into the system loader, supporting the UART / AN3155 protocol. And use STM32 Cube Programmer or stm32loader to push in the binary image.
You get one shot per reset
2025-06-09 4:08 AM
Thanks a lot for your help.
I installed STM32 Cube Programmer and it works!
Arduino IDE settings:
-additionnal board url: -https://github.com/stm32duino/BoardManagerFiles/raw/main/package_stmicroelectronics_index.json
-Board selection: Generic STM32F1 series
-Board part number: Generic F103C8Tx
-Upload Method: STM32CubeProgrammer (Serial)
Then BT0+RST buttons to set the board in upload mode. Upload in Arduino IDE and that's it.
2025-06-09 5:07 AM - edited 2025-06-09 5:09 AM
Hello @Shuptuu and welcome to the ST community
According to the image you shared from Aliexpress the chip is not from ST:
ST resources are only dedicated to supporting genuine ST products. We are not committed to ensuring that clones/fakes products work properly with the firmware we provide.
This thread will now be locked. However, if you face difficulties while using genuine ST products, we’re here to assist you. Please feel free to start a new thread, and our team, along with community members, will be ready to help you with any issues/questions you encounter.