From: oharboe Date: Fri, 17 Oct 2008 14:53:08 +0000 (+0000) Subject: Laurentiu Cocanu - document various commands. X-Git-Tag: v0.1.0~230 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=39d5677fc972c0dd1b6ec10c6e81f15d313a6e35;p=openocd Laurentiu Cocanu - document various commands. git-svn-id: svn://svn.berlios.de/openocd/trunk@1083 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- diff --git a/doc/openocd.texi b/doc/openocd.texi index d0c51428..0cb6b1d4 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -835,6 +835,13 @@ openocd -c "fast enable" -c "interface dummy" -f target/str710.cfg @subsection Target state handling @itemize @bullet +@item @b{reg} [@option{#}|@option{name}] [value] +@cindex reg +@*Access a single register by its number[@option{#}] or by its [@option{name}]. +No arguments: list all available registers for the current target. +Number or name argument: display a register +Number or name and value arguments: set register value + @item @b{poll} [@option{on}|@option{off}] @cindex poll @*Poll the target for its current state. If the target is in debug mode, architecture @@ -880,6 +887,10 @@ With no arguments a "reset run" is executed @*Immediately halt the target, and execute the reset script (works only with certain configurations) @end itemize + +@item @b{soft_reset_halt} +@cindex reset +@*Requesting target halt and executing a soft reset. @end itemize @subsection Memory access commands @@ -919,6 +930,23 @@ These commands allow accesses of a specific size to the memory system: This will first attempt comparison using a crc checksum, if this fails it will try a binary compare. @end itemize +@subsection Breakpoint commands +@cindex Breakpoint commands +@itemize @bullet +@item @b{bp} <@var{addr}> <@var{len}> [@var{hw}] +@cindex bp +@*set breakpoint
[hw] +@item @b{rbp} <@var{addr}> +@cindex rbp +@*remove breakpoint +@item @b{wp} <@var{addr}> <@var{len}> <@var{r}|@var{w}|@var{a}> [@var{value}] [@var{mask}] +@cindex wp +@*set watchpoint
[value] [mask] +@item @b{rwp} <@var{addr}> +@cindex rwp +@*remove watchpoint +@end itemize + @subsection Flash commands @cindex Flash commands @itemize @bullet