diff options
author | Tomas Vanek <vanekt@fbl.cz> | 2021-12-01 10:41:08 +0100 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2021-12-11 17:40:43 +0000 |
commit | dfc9b8e90d91b387ced8e98de64434bad2c9a552 (patch) | |
tree | 3edc388578fe7361af4cdb9ff20efb3533d5d077 /doc | |
parent | 68ec9d2175f3bad53cd7f1a259e54420047321d6 (diff) | |
download | riscv-openocd-dfc9b8e90d91b387ced8e98de64434bad2c9a552.zip riscv-openocd-dfc9b8e90d91b387ced8e98de64434bad2c9a552.tar.gz riscv-openocd-dfc9b8e90d91b387ced8e98de64434bad2c9a552.tar.bz2 |
doc: list internal commands called by init
Change-Id: I5534c94a983906533a1b38c30ec3eb982e62dee7
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: https://review.openocd.org/c/openocd/+/6760
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/openocd.texi | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi index e0234e5..40ff65c 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -2075,11 +2075,22 @@ If this command does not appear in any startup/configuration file OpenOCD executes the command for you after processing all configuration files and/or command line options. -@b{NOTE:} This command normally occurs at or near the end of your +@b{NOTE:} This command normally occurs near the end of your openocd.cfg file to force OpenOCD to ``initialize'' and make the targets ready. For example: If your openocd.cfg file needs to read/write memory on your target, @command{init} must occur before the memory read/write commands. This includes @command{nand probe}. + +@command{init} calls the following internal OpenOCD commands to initialize +corresponding subsystems: +@deffn {Config Command} {target init} +@deffnx {Command} {transport init} +@deffnx {Command} {dap init} +@deffnx {Config Command} {flash init} +@deffnx {Config Command} {nand init} +@deffnx {Config Command} {pld init} +@deffnx {Command} {tpiu init} +@end deffn @end deffn @deffn {Overridable Procedure} {jtag_init} |