Hello everyone,
I've been struggling to upload code to my STM32 Blue Pill (STM32F103C8T6) using the Arduino IDE for quite a while now. Here's my current setup:
Arduino IDE Setup:
- Maple Mini Driver Installed
Downloaded from: GitHub - rogerclarkmelbourne/Arduino_STM32: Arduino STM32. Hardware files to support STM32 boards, on Arduino IDE 1.8.x including LeafLabs Maple and other generic STM32F103 boards - Board Manager URL Added:
http://dan.drown.org/stm32duino/package_STM32duino_index.json
- Board Configuration:
- Tools > Board: Generic STM32F103C series
- Tools > Upload Method: STM32duino Bootloader
- Tools > CPU Speed: 72MHz (Normal)
Test Code (Simple Blink):
void setup() {
pinMode(PC13, OUTPUT);
Serial.begin(115200);
delay(2000);
Serial.println("Blink test");
}
void loop() {
digitalWrite(PC13, HIGH);
delay(1000);
digitalWrite(PC13, LOW);
delay(1000);
Serial.println("Blink");
}
Upload Output:
Sketch uses 12972 bytes (19%) of program storage space. Maximum is 65536 bytes.
Global variables use 2064 bytes (10%) of dynamic memory, leaving 18416 bytes for local variables. Maximum is 20480 bytes.
'java' is not recognized as an internal or external command,
operable program or batch file.
The board has already been flashed with the STM32duino bootloader previously, so it should be ready for upload.
There is no problem arise when compile the code, but, when I upload, there's no result. Can somebody give me a suggestion please ? What should I do ? Thank you for everyone that are willing to help.