Dobrica Pavlinušić's random unstructured stuff
FST-01: Revision 6
* http://www.seeedstudio.com/wiki/FST-01
* https://gitorious.org/gnuk * http://www.fsij.org/doc-gnuk/index.html ^ SWD flashing using ST Link v2 * http://www.gniibe.org/memo/development/fst-01/dongle/fst-01-swd-connection * http://no-passwd.net/askbot/question/48/how-can-i-re-flash-fst-01/ Problem: .pre dpavlin@blue:/blue-zfs/STM32/FST-01/gnuk/tool$ ./stlinkv2.py -s ST-Link/V2 version info: 2 17 4 Change ST-Link/V2 mode 0002 -> 0001 CORE: 0de01477, CHIP_ID: 00000000 Flash ROM read protection: off Option bytes: 00000000 Core does not halt, try API V2 halt. ValueError('Status of core is not halt.', 128) .pre after several re-runs: .pre dpavlin@blue:/blue-zfs/STM32/FST-01/gnuk/tool$ ./stlinkv2.py -s ST-Link/V2 version info: 2 17 4 Change ST-Link/V2 mode 0002 -> 0001 CORE: 1ba01477, CHIP_ID: a0036410 Flash ROM read protection: off Option bytes: a0036410 Core does not halt, try API V2 halt. ValueError('Status of core is not halt.', 128) .pre after a bit of fiddling with cables (it's always cables, right?) .pre dpavlin@blue:/blue-zfs/STM32/FST-01/gnuk$ sudo ./tool/stlinkv2.py -s ST-Link/V2 version info: 2 17 4 Change ST-Link/V2 mode 0002 -> 0001 CORE: 1ba01477, CHIP_ID: 20036410 Flash ROM read protection: ON Option bytes: 03fffffe The MCU is now stopped. SUCCESS .pre |