summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-27 12:30:42 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-27 12:30:42 +0000
commitee9766f1db994754f47187d4f929b4ca1891d27d (patch)
tree7f0c93a1c6ddb24679b8fd673e72373727736c5c /doc
parentd2089dbae0c3ec1fc5bef02ea93b9f65b02de597 (diff)
downloadopenocd+libswd-ee9766f1db994754f47187d4f929b4ca1891d27d.tar.gz
openocd+libswd-ee9766f1db994754f47187d4f929b4ca1891d27d.tar.bz2
openocd+libswd-ee9766f1db994754f47187d4f929b4ca1891d27d.tar.xz
openocd+libswd-ee9766f1db994754f47187d4f929b4ca1891d27d.zip
unsik Kim <donari75@gmail.com>:
Add mflash configuration code, updating relevant documentation. git-svn-id: svn://svn.berlios.de/openocd/trunk@1930 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'doc')
-rw-r--r--doc/openocd.texi20
1 files changed, 17 insertions, 3 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index 78d53c58..00f9acf0 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -2393,15 +2393,29 @@ if the @option{erase} parameter is given.
@itemize @bullet
@item @b{mflash probe}
@cindex mflash probe
-Probe mflash.
+@*Probe mflash.
@item @b{mflash write} <@var{num}> <@var{file}> <@var{offset}>
@cindex mflash write
-Write the binary <@var{file}> to mflash bank <@var{num}>, starting at
+@*Write the binary <@var{file}> to mflash bank <@var{num}>, starting at
<@var{offset}> bytes from the beginning of the bank.
@item @b{mflash dump} <@var{num}> <@var{file}> <@var{offset}> <@var{size}>
@cindex mflash dump
-Dump <size> bytes, starting at <@var{offset}> bytes from the beginning of the <@var{num}> bank
+@*Dump <size> bytes, starting at <@var{offset}> bytes from the beginning of the <@var{num}> bank
to a <@var{file}>.
+@item @b{mflash config pll} <@var{frequency}>
+@cindex mflash config pll
+@*Configure mflash pll. <@var{frequency}> is input frequency of mflash. The order is Hz.
+Issuing this command will erase mflash's whole internal nand and write new pll.
+After this command, mflash needs power-on-reset for normal operation.
+If pll was newly configured, storage and boot(optional) info also need to be update.
+@item @b{mflash config boot}
+@cindex mflash config boot
+@*Configure bootable option. If bootable option is set, mflash offer the first 8 sectors
+(4kB) for boot.
+@item @b{mflash config storage}
+@cindex mflash config storage
+@*Configure storage information. For the normal storage operation, this information must be
+written.
@end itemize
@section flash bank command