From ee9766f1db994754f47187d4f929b4ca1891d27d Mon Sep 17 00:00:00 2001 From: zwelch Date: Wed, 27 May 2009 12:30:42 +0000 Subject: unsik Kim : Add mflash configuration code, updating relevant documentation. git-svn-id: svn://svn.berlios.de/openocd/trunk@1930 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- doc/openocd.texi | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'doc') 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 bytes, starting at <@var{offset}> bytes from the beginning of the <@var{num}> bank +@*Dump 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 -- cgit v1.2.3