info regarding flashing multiSTM32 via USB port

This commit is contained in:
midelic 2017-02-06 19:54:09 +01:00 committed by GitHub
parent 9cd729df71
commit cc03c27d17

View File

@ -77,9 +77,12 @@ See below my module for reference
This method use USB connector on the STM32 V1.0 board or on the maple clone board.
1. Install first maple USB driver by running the batch file found in Arduino STM32 package folder "..\hardware\Arduino_STM32\drivers\win\install_drivers.bat"
1. Download the free STM32 flash loader demonstrator from [ST.com](http://www.st.com/en/development-tools/flasher-stm32.html) and using a USB-TTL device (like FTDI cable) flash the STM32duino bootloader available from Roger Clark's great STM32 site [here](https://github.com/rogerclarkmelbourne/STM32duino-bootloader/tree/master/STM32F1/binaries)
1. In Arduino IDE under "Upload method" select STM32duino-bootloader.
1. After that select the correct serial port and and upload sketches normally in Arduino using USB port
1. Download the free STM32 flash loader demonstrator from [ST.com](http://www.st.com/en/development-tools/flasher-stm32.html) and using a USB-TTL device (like FTDI cable) flash the STM32duino bootloader available from Roger Clark's great STM32 site [here](https://github.com/rogerclarkmelbourne/STM32duino-bootloader/tree/master/STM32F1/binaries) .Use bootloader **generic_boot20_pc13.bin**
1. Open Arduino IDE,browse to multiprotocol folder,load the sketch multiprotocol.ino.
1. In Arduino IDE under "Upload method" select **STM32duino**-bootloader.Wait until upload is complete.
Note: When you use first time multiSTM32_USB ,the USB drivers are not recognized and port is not open/recognized(arduino IDE port selection is grey/unavailable).
After this first time use, any subsequent updating of the program you have to select the correct serial port and and upload sketches normally in Arduino using USB port.
## Flashing precompiled binaries: