summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2010-02-27 00:31:35 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2010-02-27 00:31:35 -0800
commite70d42a727bebc5ae0ce0b1386620d30ea00b05b (patch)
tree10a999847449419eaf789fe41eec065a67448b25 /doc
parent3ef9beb52cd0ed57ae6d28f7858001bfb68d7e86 (diff)
downloadopenocd+libswd-e70d42a727bebc5ae0ce0b1386620d30ea00b05b.tar.gz
openocd+libswd-e70d42a727bebc5ae0ce0b1386620d30ea00b05b.tar.bz2
openocd+libswd-e70d42a727bebc5ae0ce0b1386620d30ea00b05b.tar.xz
openocd+libswd-e70d42a727bebc5ae0ce0b1386620d30ea00b05b.zip
new "stellaris recover" command
Stellaris chips have a procedure for restoring the chip to what's effectively the "as-manufactured" state, with all the non-volatile memory erased. That includes all flash memory, plus things like the flash protection bits and various control words which can for example disable debugger access. clearly, this can be useful during development. Luminary/TI provides an MS-Windows utility to perform this procedure along with its Stellaris developer kits. Now OpenOCD users will no longer need to use that MS-Windows utility. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'doc')
-rw-r--r--doc/openocd.texi15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index 61e39b28..aa8bed1b 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -4497,6 +4497,21 @@ flash bank stellaris 0 0 0 0 $_TARGETNAME
@end example
@end deffn
+@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.
+
+Note that the final "power cycle the chip" step in this procedure
+must be performed by hand, since OpenOCD can't do it.
+@quotation Warning
+if more than one Stellaris chip is connected, the procedure is
+applied to all of them.
+@end quotation
+@end deffn
+
@deffn {Flash Driver} stm32x
All members of the STM32 microcontroller family from ST Microelectronics
include internal flash and use ARM Cortex M3 cores.