Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tools:stm32flash [2015/01/02 01:01] – created darron | tools:stm32flash [2015/03/22 21:55] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== STM32 Flash ==== | + | ==== STM32Flash |
- | TODO | + | STM32FLash is used to program STM32 CPUs on various ARM boards via a serial interface. |
+ | |||
+ | === Install === | ||
+ | < | ||
+ | mkdir -p /opt/src | ||
+ | cd /opt/src | ||
+ | git clone https:// | ||
+ | cd stm32flash | ||
+ | make | ||
+ | make install | ||
+ | </ | ||
+ | |||
+ | === Test === | ||
+ | This test was on the STM32 Value line discovery board using PA10/PA9. Boot was pulled high via 220R. | ||
+ | |||
+ | It took a few attempts to synchronise. | ||
+ | |||
+ | < | ||
+ | stm32flash -b 115200 / | ||
+ | stm32flash 0.4 | ||
+ | |||
+ | http:// | ||
+ | |||
+ | Interface serial_posix: | ||
+ | Version | ||
+ | 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 | ||
+ | </ |