GZ4R2HrImr

STM32F103C8T6 Arduino Development Board

 
Overview
 
This project is a replica of the "MDRDAZE STM32F103C8T6 development board arduino version" project. The original project address is: https://oshwhub.com/1111mdr/stm32f103c8t6-development-board-arduino-version.
   In order to reduce costs, some adjustments were made to the original project based on the components I had on hand, and some silkscreens were modified.
  
After soldering
, connect the USB_1 port with a data cable, set BOOT0 to 1 and BOOT1 to 0. Use ST's official software STM32CubeProgrammer and Flymcu software to read chip information.
 
For some reason, the two software programs read different Flash sizes; it is recommended to choose 64k.
To flash the STM32duino-bootloader,
you need to download Arduino_STM32 and STM32duino-bootloader from Github; download address: https://github.com/rogerclarkmelbourne/Arduino_STM32.
After downloading and extracting both files, connect the USB_1 port with a data cable, set BOOT0 to 1 and BOOT1 to 0. Using STM32CubeProgrammer or Flymcu software, download the generic_boot20_pc13.bin file from the binaries directory of the STM32duino-bootloader-master file to the development board (the firmware selection depends on the pins used by the LEDs on the development board; this development board uses PC13). After successful firmware download, close the software, disconnect the data cable, and set BOOT0 to 0.
In the downloaded Arduino_STM32 file directory Arduino_STM32-masterdriverswin, find the install_drivers.bat file. Install the driver as administrator. Press any key to continue. The driver installation is successful. Then connect the USB_2 port with the data cable.
 
The firmware is successfully written. You can check it through the Device Manager and it will show Maple Serial (COMX).
You can press the reset button. The LED on the board will flash several times quickly to indicate that the writing is successful.
Arduino IDE Environment Setup
1. Download and install the IDE. Download address: https://www.arduino.cc/en/Main/Software
2. Configure the IDE. In the Arduino IDE preferences, add the STM32duino development board manager download address. Click the blue text to find the download address of all non-official development board managers.
After filling in the download address, return to the main interface and install the STM32 development board file in the development board manager.
 
3. Install the Arduino SAM Boards (32-bit ARM Cortex-M3) file. Enter SAM in the development board manager to find the file. Click install. After installation, close the IDE.
4. Java SE 8 needs to be installed. It is recommended to install JDK 8u211 or earlier. Otherwise, errors may occur when writing programs through the IDE (search online for specific installation methods).
Installing a higher version will result in the following error
: JRE version: Java(TM) SE Runtime Environment (8.0_411) (build 1.8.0_411-b09) # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.411-b09 mixed mode windows-amd64 compressed oops) # Problematic frame:
 
 
 
Compiling the blink example. To check if the environment is installed successfully,
restart the Arduino IDE, open the tool, select the board type,
select the port ,
and select the blink example.
The original file's PB1 needs to be changed to PC13.
 
 
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2026-03-25 04:07:53

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号