diff options
author | Spencer Oliver <ntfreak@users.sourceforge.net> | 2010-03-18 09:35:45 +0000 |
---|---|---|
committer | Spencer Oliver <ntfreak@users.sourceforge.net> | 2010-03-18 09:35:45 +0000 |
commit | ae1c64706a6fa421b60884e23561f39016950f54 (patch) | |
tree | 35f3684fe4051e69074cb2ac8b743a8f1fd9793e /doc | |
parent | b48a94f05da3a887f1978da01db77b79513d4aa9 (diff) | |
download | openocd+libswd-ae1c64706a6fa421b60884e23561f39016950f54.tar.gz openocd+libswd-ae1c64706a6fa421b60884e23561f39016950f54.tar.bz2 openocd+libswd-ae1c64706a6fa421b60884e23561f39016950f54.tar.xz openocd+libswd-ae1c64706a6fa421b60884e23561f39016950f54.zip |
PIC32MX: add unlock cmd
'unlock' performs a full unlock/erase of the device, removing any
code protection.
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/openocd.texi | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi index 98fc6900..da2782b1 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -4523,10 +4523,10 @@ flash bank ocl 0 0 0 0 $_TARGETNAME @deffn {Flash Driver} pic32mx The PIC32MX microcontrollers are based on the MIPS 4K cores, and integrate flash memory. -@emph{The current implementation is incomplete.} @example -flash bank pix32mx 0 0 0 0 $_TARGETNAME +flash bank pix32mx 0x1fc00000 0 0 0 $_TARGETNAME +flash bank pix32mx 0x1d000000 0 0 0 $_TARGETNAME @end example @comment numerous *disabled* commands are defined: @@ -4538,6 +4538,10 @@ Some pic32mx-specific commands are defined: Programs the specified 32-bit @var{value} at the given @var{address} in the specified chip @var{bank}. @end deffn +@deffn Command {pic32mx unlock} bank +Unlock and erase specified chip @var{bank}. +This will remove any Code Protection. +@end deffn @end deffn @deffn {Flash Driver} stellaris |