X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=doc%2Fopenocd.texi;h=a97ad85679034fa6f46cbf4cd179d763c4dbe214;hp=c5975c9d3fc8f381f7777b83c345ad13e91d89a5;hb=97c96ac13ff2d900345b71e12d1ac5c22417832f;hpb=d12fa18bd91133bca0fcc4bfd05bfb8c7d86b45c diff --git a/doc/openocd.texi b/doc/openocd.texi index c5975c9d3f..a97ad85679 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