Use cheap STM32 development board with arduino

Use cheap STM32 development board with arduino

http://www.ebay.com/itm/291693366485?_trksid=p2060353.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT

 

Set jumpers like on picture!!!

stm32_arduino_10

Connect to any USB-Serial Board

USB-ser            STM32
RX                    —    A9
TX                    —    A10
GND                 —    GND
3.3V                 —    3.3V

stm32_arduino_11

Check serial port

stm32_arduino

Download

FLASHER-STM32 Demonstrator GUI

http://www.st.com/en/development-tools/flasher-stm32.html

Install, run, select your serial port

stm32_arduino_2

Click on Remove protection

stm32_arduino_3

OK

stm32_arduino_4

Next

stm32_arduino_5

Check on right if all is green (unprotected)

stm32_arduino_6

Download firmware from git

https://github.com/rogerclarkmelbourne/STM32duino-bootloader/blob/master/STM32F1/binaries/generic_boot20_pc13.bin

Select file and hit next

stm32_arduino_8

We are done ;)

stm32_arduino_9

Download

https://github.com/rogerclarkmelbourne/Arduino_STM32

put it into hardware folder of your arduino

Set the jumper back and connect STM32 to usb port

Install driver (it is in downloaded folder)

Start arduino

in boards manager you will need to install arduino zero !!!

after that select Blink LED sample change LED pin to PC13 and hit upload

stm32_arduino_12

You can now blink a led on pin PC13

stm32_arduino_13

Check new serial port, you can now use it as in arduino ;)