Stuff from the STM32duino forum and WiKi

Any other microcontroller based boards
mrburnette
Posts: 89
Joined: Fri Mar 29, 2019 2:22 am
Answers: 1
OS: Linux
IDE: Arduino
Core: Any
Board: Blue, MM, Black

Re: Stuff from the STM32duino forum and WiKi

Post by mrburnette » Thu Aug 15, 2019 8:45 pm

Documentation - cont
SDIO STM32GENERIC.zip
(96.39 KiB) Downloaded 12 times
SPI STM32GENERIC.zip
(130.4 KiB) Downloaded 10 times
STM32GENERIC.zip
(45.97 KiB) Downloaded 12 times

mrburnette
Posts: 89
Joined: Fri Mar 29, 2019 2:22 am
Answers: 1
OS: Linux
IDE: Arduino
Core: Any
Board: Blue, MM, Black

Re: Stuff from the STM32duino forum and WiKi

Post by mrburnette » Thu Aug 15, 2019 8:46 pm

Documentation - cont
Testing a board STM32GENERIC.zip
(44.1 KiB) Downloaded 14 times
UART Serial STM32GENERIC.zip
(88.11 KiB) Downloaded 11 times
Uploading STM32GENERIC.zip
(59.91 KiB) Downloaded 11 times

mrburnette
Posts: 89
Joined: Fri Mar 29, 2019 2:22 am
Answers: 1
OS: Linux
IDE: Arduino
Core: Any
Board: Blue, MM, Black

Re: Stuff from the STM32duino forum and WiKi

Post by mrburnette » Thu Aug 15, 2019 8:47 pm

Documentation - cont
USB Mass Storage STM32GENERIC.zip
(111.72 KiB) Downloaded 15 times
USB Serial STM32GENERIC.zip
(50.89 KiB) Downloaded 9 times

mrburnette
Posts: 89
Joined: Fri Mar 29, 2019 2:22 am
Answers: 1
OS: Linux
IDE: Arduino
Core: Any
Board: Blue, MM, Black

Re: Stuff from the STM32duino forum and WiKi

Post by mrburnette » Thu Aug 15, 2019 8:50 pm

Documentation - cont
stm32flash-manual.zip
(10.54 KiB) Downloaded 11 times
stm32flash _ Wiki _ Home.zip
(85.77 KiB) Downloaded 12 times

mrburnette
Posts: 89
Joined: Fri Mar 29, 2019 2:22 am
Answers: 1
OS: Linux
IDE: Arduino
Core: Any
Board: Blue, MM, Black

Re: Stuff from the STM32duino forum and WiKi

Post by mrburnette » Thu Aug 15, 2019 8:52 pm

Linux-centric
STM32 Flash Loader for Linux
e­Gizmo STM32 MCU Board
I've had this STM32 Board from e­Gizmo for about 2 years now and I think it's about time it gets powered up.
The STM32 features a built­in serial bootloader. ST Microelectronics provides a Flash Loader command line tool for Windows here:
http://www.st.com/web/en/catalog/tools/PF257525
Since I've been on a Linux workstation (Xubuntu 14.04 LTS) for a few months now, I started looking for an alternative, preferably open
source, to load the flash memory of the STM32. I found stm32flash.
https://code.google.com/p/stm32flash/
I used git to clone the repository on my home directory. Git can be downloaded from the Ubuntu repository:
sudo apt­get install git
Clone the repository.
git clone https://git.gitorious.org/stm32flash/stm32flash.git
A directory stm32flash will be made. Change directory then make the project.
cd stm32flash
sudo make install
The last line installs stm32flash on /usr/local/bin .
The e­Gizmo STM32 board provides a switch to access the bootloader. To test if stm32flash is properly installed and can communicate
with the STM32 board, the board must be switched to bootloader mode, and run stm32flash to get device information. The e­Gizmo
STM32 board uses a Prolific PL2303 chip, its serial port's name is typically of the form /dev/ttyUSBx .
stm32flash /dev/ttyUSB0
If stm32flash successfully communicates with the board, it will display:
stm32flash ­ http://stm32flash.googlecode.com/Serial Config: 57600 8E1
Version : 0x22
Option 1 : 0x00
Option 2 : 0x00
Device ID : 0x0420 (Medium­density VL)
­ RAM : 8KiB (512b reserved by bootloader)
­ Flash : 128KiB (sector size: 4x1024)
­ Option RAM : 16b
­ System RAM : 2KiB
Resetting device... done.
If otherwise it displays:
stm32flash ­ http://stm32flash.googlecode.com/
Serial Config: 57600 8E1
Failed to read byte: read_byte: Success
Check to make sure that the switch is on bootloader mode, then press the reset button before running stm32flash again.
If the serial port name is improperly entered, it will display something like this:
stm32flash ­ http://stm32flash.googlecode.com/
Failed to open serial port: /dev/ttyUSB1: No such file or directory
If it is taking a long time after displaying Serial Config: 57600 8E1 , it can be terminated using Ctrl­C , then try pushing the
reset button before running stm32flash again.
Posted by Reymond Dominic Tarlengco at 3:51 AM
Labels: ARM, Cortex­M3, Embedded, Linux, Microcontroller, STM32

Post Reply