summaryrefslogtreecommitdiff
path: root/doc/openocd.texi
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-11-09 12:02:23 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-11-09 12:02:23 -0800
commit9253ce9baea6f7b5ef3fc53b4bc0cfbff48194f4 (patch)
tree7a6a81b1e7006851c97ca07219d680b1caa25f52 /doc/openocd.texi
parent3885ab5a5af7ece410ce3eeb1059da3ea950436a (diff)
downloadopenocd+libswd-9253ce9baea6f7b5ef3fc53b4bc0cfbff48194f4.tar.gz
openocd+libswd-9253ce9baea6f7b5ef3fc53b4bc0cfbff48194f4.tar.bz2
openocd+libswd-9253ce9baea6f7b5ef3fc53b4bc0cfbff48194f4.tar.xz
openocd+libswd-9253ce9baea6f7b5ef3fc53b4bc0cfbff48194f4.zip
User's Guide: Flash/NAND doc tweaks
Rename the "Drivers, Options, and Commands" sections to be just "Driver List" matching the earlier reference. Add an example of parallel CFI flash. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'doc/openocd.texi')
-rw-r--r--doc/openocd.texi15
1 files changed, 12 insertions, 3 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index d869f389..8e1d1a8f 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -3688,7 +3688,7 @@ The @var{num} parameter is a value shown by @command{flash banks}.
@end deffn
@anchor{Flash Driver List}
-@section Flash Drivers, Options, and Commands
+@section Flash Driver List
As noted above, the @command{flash bank} command requires a driver name,
and allows driver-specific options and behaviors.
Some drivers also activate driver-specific commands.
@@ -3704,7 +3704,7 @@ specific external chip select on the CPU.
Frequently the first such chip is used to boot the system.
Your board's @code{reset-init} handler might need to
configure additional chip selects using other commands (like: @command{mww} to
-configure a bus and its timings) , or
+configure a bus and its timings), or
perhaps configure a GPIO pin that controls the ``write protect'' pin
on the flash chip.
The CFI driver can use a target-specific working area to significantly
@@ -3725,6 +3725,15 @@ wide on a sixteen bit bus:
flash bank cfi 0x00000000 0x01000000 2 2 $_TARGETNAME
flash bank cfi 0x01000000 0x01000000 2 2 $_TARGETNAME
@end example
+
+To configure one bank of 32 MBytes
+built from two sixteen bit (two byte) wide parts wired in parallel
+to create a thirty-two bit (four byte) bus with doubled throughput:
+
+@example
+flash bank cfi 0x00000000 0x02000000 2 4 $_TARGETNAME
+@end example
+
@c "cfi part_id" disabled
@end deffn
@@ -4620,7 +4629,7 @@ with the wrong ECC data can cause them to be marked as bad.
@end deffn
@anchor{NAND Driver List}
-@section NAND Drivers, Options, and Commands
+@section NAND Driver List
As noted above, the @command{nand device} command allows
driver-specific options and behaviors.
Some controllers also activate controller-specific commands.