[redox@RedoXPS ~/STM32F103_Demo]$ stm32flash -w ./main.bin -v -g 0x0 /dev/ttyUSB0
stm32flash - http://stm32flash.googlecode.com/
Using Parser : Raw BINARY
Serial Config: 57600 8E1
Version : 0x22
Option 1 : 0x00
Option 2 : 0x00
Device ID : 0x0410 (Medium-density)
- RAM : 20KiB (512b reserved by bootloader)
- Flash : 128KiB (sector size: 4x1024)
- Option RAM : 16b
- System RAM : 2KiB
Wrote and verified address 0x08001e6c (100.00%) Done.
Starting execution at address 0x08000000... done.