sudo apt-get install stm32flash minicom
Note: For Raspberry Pi 3 / ZeroW only
Standard UART is used by Bluetooth chip, and miniUART does not work with stm32flash.
To disable it:
echo "dtoverlay=pi3-disable-bt" >> /boot/config.txt
stm32flash /dev/ttyAMA0
stm32flash 0.5
http://stm32flash.sourceforge.net/
Interface serial_posix: 57600 8E1
Version : 0x31
Option 1 : 0x00
Option 2 : 0x00
Device ID : 0x0444 (STM32F03xx4/6)
- RAM : 4KiB (2048b reserved by bootloader)
- Flash : 32KiB (size first sector: 4x1024)
- Option RAM : 16b
- System RAM : 3KiB
10-May-2018