- https://www.youtube.com/watch?v=KgR3uM21y7o
- https://www.youtube.com/watch?v=EaZuKRSvwdo
- https://www.mikrocontroller.net/articles/STM32_f%C3%BCr_Einsteiger
- https://www.heise.de/developer/artikel/Keine-bittere-Pille-die-Blue-Pill-mit-ARM-Cortex-M3-4009580.html
- https://predictabledesigns.com/introduction-to-programming-stm32-arm-cortex-m-32-bit-microcontrollers/
- https://idyl.io/arduino/how-to/program-stm32-blue-pill-stm32f103c8t6/
- http://docs.leaflabs.com/static.leaflabs.com/pub/leaflabs/maple-docs/latest/index-2.html
- http://stefanfrings.de/stm32/stm32l0.html
- http://www.emcu.eu/2017/03/13/how-to-use-stm32-and-arduino-ide/
- https://www.instructables.com/id/Getting-Started-With-Stm32-Using-Arduino-IDE/
- https://www.electronics-lab.com/project/programming-stm32-based-boards-arduino-ide/
- https://www.onetransistor.eu/2017/11/stm32-bluepill-arduino-ide.html
- https://learnbuildshare.wordpress.com/about/stm32/using-spi-as-master/
- http://cholla.mmto.org/stm32/
- https://github.com/trebisky/stm32f103
- https://github.com/dwelch67/stm32_samples/tree/master/STM32F103C8T6
- http://www.emcu.eu/stm32-cube-programmer/
- ST-Link v2 https://www.youtube.com/watch?v=KgR3uM21y7o
- Windows: you will need ST-Link v2 Driver https://my.st.com/content/my_st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/stsw-link004.html#get-software
ATTENTION: DOUBLE-CHECK YOUR ST-LINK ADAPTER's PINOUT!
STM32 Blue Pill | ST-LINK V2 |
---|---|
3V3 [Red] | 3.3V (Pin 8) |
IO [Orange] | SWDIO (Pin 2) |
CLK [Brown] | SWDCLK (Pin 6) |
GND [Black] | GND (Pin 4) |
https://www.arduino.cc/en/Guide/Linux
- https://blog.jetbrains.com/clion/2016/06/clion-for-embedded-development/
- https://blog.jetbrains.com/clion/2017/12/clion-for-embedded-development-part-ii/
- https://github.com/nagelkl/clion_embedded
- https://github.com/michaelniedermayr/clion_stm32_openocd
- https://tinygo.org/microcontrollers/bluepill/
- If error "Error: jtag status contains invalid mode value - communication failure" occurs, see japaric/f3#84 --> hold down Reset-Button while programming
- https://github.com/lupyuen/stm32-blue-pill-rust
- https://medium.com/coinmonks/coding-the-stm32-blue-pill-with-rust-and-visual-studio-code-b21615d8a20
http://wiki.stm32duino.com/index.php?title=Main_Page http://wiki.stm32duino.com/index.php?title=Main_Page
USB2Serial-Converter (FT232RL) --> STM32 (3v3-Mode!)
-
GND --> GND
-
3V3 --> 3V3 (neighbor of GND) to power the board via converter
-
TX --> A10
-
RX --> A9
-
Power STM32 via microUSB
-
Connect USB2Serial-Converter to PC
- new URL http://http://dan.drown.org/stm32duino/package_STM32duino_index.json
- install STM32F1xx Board
void setup() {
pinMode(PA6, OUTPUT);
}
void loop() {
digitalWrite(PA6, HIGH);
delay(1000);
digitalWrite(PA6, LOW);
delay(1000);
}
Add LED with resistor to Pin6 (A6) and GND.
- uninstall modemmanager
- try to use USB2 port on your PC, avoid USB-Hub or USB3-port