diff options
author | Paul Fertser <fercerpav@gmail.com> | 2015-01-24 13:42:00 +0300 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2015-02-04 22:02:36 +0000 |
commit | 97c96ac13ff2d900345b71e12d1ac5c22417832f (patch) | |
tree | d1e00575a5668fbded9e8a91a632530a401c8495 /doc | |
parent | f34098953a18eb4b63fc16e190d416b0148e84a7 (diff) | |
download | riscv-openocd-97c96ac13ff2d900345b71e12d1ac5c22417832f.zip riscv-openocd-97c96ac13ff2d900345b71e12d1ac5c22417832f.tar.gz riscv-openocd-97c96ac13ff2d900345b71e12d1ac5c22417832f.tar.bz2 |
doc: add stm32lx mass_erase description
Change-Id: Ibe26f40a105dfabcf336ae12fcdc72f4e87513b6
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2502
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/openocd.texi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi index c5975c9..a97ad85 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -5562,6 +5562,15 @@ the flash driver. @example flash bank $_FLASHNAME stm32lx 0 0x20000 0 0 $_TARGETNAME @end example + +Some stm32lx-specific commands are defined: + +@deffn Command {stm32lx mass_erase} num +Mass erases the entire stm32lx device (all flash banks and EEPROM +data). This is the only way to unlock a protected flash (unless RDP +Level is 2 which can't be unlocked at all). +The @var{num} parameter is a value shown by @command{flash banks}. +@end deffn @end deffn @deffn {Flash Driver} str7x |