]> git.sur5r.net Git - openocd/commit
STM32F2x: check flash unlock, add mass erase
authorMathias K <kesmtp@freenet.de>
Fri, 16 Dec 2011 06:51:17 +0000 (07:51 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 19 Dec 2011 12:39:42 +0000 (12:39 +0000)
commitc132304ee9fe43c3078caaf64ae0ee2f3a9542fe
treefb3555e72018927a88b3ae042f7cad1a39494497
parent73e3ea47aad4a46826f8680183935c97e307bb60
STM32F2x: check flash unlock, add mass erase

Add verification of the flash unlock sequence and return an error if the
flash is still locked.
Add mass erase subcommand.

Change-Id: Id586b1eaf983a3f25b933847dd6608c15bf0b07e
Signed-off-by: Mathias K <kesmtp@freenet.de>
Reviewed-on: http://openocd.zylin.com/281
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/flash/nor/stm32f2x.c