Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:stm32flash [2015/01/02 22:48] – darron | tools:stm32flash [2015/03/22 21:55] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== STM32Flash ==== | ==== STM32Flash ==== | ||
- | == Install == | + | STM32FLash is used to program STM32 CPUs on various ARM boards via a serial interface. |
+ | |||
+ | === Install | ||
< | < | ||
mkdir -p /opt/src | mkdir -p /opt/src | ||
Line 9: | Line 11: | ||
make | make | ||
make install | 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 | ||
</ | </ |