flash/nor/stm32lx: Add 'option_load' command
Add command to re-load option bytes. Tested with STM32L072CZ and STM32L152RCT6. Change-Id: I5653f2222a48af1fe0332d4bdc3552e481e375d0 Signed-off-by: Marc Schink <dev@zapb.de> Reviewed-on: https://review.openocd.org/c/openocd/+/8998 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
This commit is contained in:
@@ -8422,6 +8422,12 @@ 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
|
||||
|
||||
@deffn {Command} {stm32lx option_load} num
|
||||
Forces a re-load of the option byte registers.
|
||||
This command will cause a system reset of the device.
|
||||
The @var{num} parameter is a value shown by @command{flash banks}.
|
||||
@end deffn
|
||||
@end deffn
|
||||
|
||||
@deffn {Flash Driver} {stm32l4x}
|
||||
|
||||
Reference in New Issue
Block a user