forked from auracaster/openocd
flash/nor/stellaris: allow to recover a locked device that can't be examined
Change-Id: I28536184053e2d1ba906620e728f7fad6ba39f0a Reported-by: Ed Beroset <beroset@mindspring.com> Signed-off-by: Paul Fertser <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2552 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-by: Ed Beroset <beroset@ieee.org>
This commit is contained in:
@@ -5480,12 +5480,12 @@ standard @command{flash erase_address} command.}
|
||||
flash bank $_FLASHNAME stellaris 0 0 0 0 $_TARGETNAME
|
||||
@end example
|
||||
|
||||
@deffn Command {stellaris recover bank_id}
|
||||
Performs the @emph{Recovering a "Locked" Device} procedure to
|
||||
restore the flash specified by @var{bank_id} and its associated
|
||||
nonvolatile registers to their factory default values (erased).
|
||||
This is the only way to remove flash protection or re-enable
|
||||
debugging if that capability has been disabled.
|
||||
@deffn Command {stellaris recover}
|
||||
Performs the @emph{Recovering a "Locked" Device} procedure to restore
|
||||
the flash and its associated nonvolatile registers to their factory
|
||||
default values (erased). This is the only way to remove flash
|
||||
protection or re-enable debugging if that capability has been
|
||||
disabled.
|
||||
|
||||
Note that the final "power cycle the chip" step in this procedure
|
||||
must be performed by hand, since OpenOCD can't do it.
|
||||
|
||||
Reference in New Issue
Block a user