Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tools:stm32flash [2015/01/02 22:48] darrontools: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 ===
 <code> <code>
 mkdir -p /opt/src mkdir -p /opt/src
Line 9: Line 11:
 make make
 make install make install
 +</code>
 +
 +=== 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.
 +
 +<code>
 +stm32flash -b 115200 /dev/ttyCP2102
 +stm32flash 0.4
 +
 +http://stm32flash.googlecode.com/
 +
 +Interface serial_posix: 115200 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
 </code> </code>