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 ;)

2 Comments

    • Ono mi je provjeren prodavač, ja sam ih već 15 naručio :) Postoji verzija koja nema pullup otpornike na usb-u, pa se ne može ovako koristiti dok se ne dodaju. Svakako preporuka za testiranje ima 32bitni adc, mislim da svaki pin može biti interrupt(barem ovikoje sam ja probao mogu). I jeftino je, sa programatorom mi radi i u ecplise, a probao sam i na rasp-u programirati, stvarno za te novce pločica sa kojom se da jako puno naučiti…

Leave a Reply