aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Fertser <fercerpav@gmail.com>2015-02-04 00:49:42 +0300
committerPaul Fertser <fercerpav@gmail.com>2015-02-11 15:33:50 +0000
commit7f000f824bb405d3985256b123f3e4b55dc43b6b (patch)
tree3c6135cb3f7fbbf85f8057ac433c4d77f2507150
parentbcfb604618c356603d1238815d009ff168db5bf4 (diff)
downloadriscv-openocd-7f000f824bb405d3985256b123f3e4b55dc43b6b.zip
riscv-openocd-7f000f824bb405d3985256b123f3e4b55dc43b6b.tar.gz
riscv-openocd-7f000f824bb405d3985256b123f3e4b55dc43b6b.tar.bz2
doc: document the OCL (on chip flash loader) driver
Change-Id: I8afe870c7a16b04473f4822c2df9a7607f0480e7 Signed-off-by: Paul Fertser <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2529 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
-rw-r--r--doc/openocd.texi8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index 95c2054..9f97539 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -5409,7 +5409,13 @@ lpc2900 secure_jtag 0
@end deffn
@deffn {Flash Driver} ocl
-@emph{No idea what this is, other than using some arm7/arm9 core.}
+This driver is an implementation of the ``on chip flash loader''
+protocol proposed by Pavel Chromy.
+
+It is a minimalistic command-response protocol intended to be used
+over a DCC when communicating with an internal or external flash
+loader running from RAM. An example implementation for AT91SAM7x is
+available in @file{contrib/loaders/flash/at91sam7x/}.
@example
flash bank $_FLASHNAME ocl 0 0 0 0 $_TARGETNAME