riscv-openocd/src
David Brownell 16b4b8cf54 Cortex-M3: expose most DWT registers
Expose most DWT registers via Tcl; there are a few more, but
those are mostly for profiling along with the ITM.  Having
this set available enables operations which aren't possible
with just the standard watchpoint operations.

The cycle counter may be interesting.  Turn it on after reset
by setting the LSB of the dwt_ctrl register, and it counts
CPU clocks.  You can program the comparator 0 watchpoint to
trigger on a given cycle count, rather than a data address.

Likewise, comparator 1 may be able to match data values given
address matches from one or two other comparators.  (Not all
hardware supports this capability though; try it.  That is
something the standard watchpoint methods should eventually
handle, for the single address case.)

Minor cleanup:  remove needless functional indirection for
exposing the v7m architctural registers.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-05 01:04:08 -08:00
..
flash Added the faux flash driver and target. Used for testing. 2009-10-20 12:23:56 +02:00
helper bin2char: for win32 set stdin/stdout to binary mode 2009-10-30 11:59:57 +00:00
jtag ft2232: cleanup 2009-11-04 21:41:08 -08:00
pld - Replace '){' with ') {'. 2009-06-23 22:49:06 +00:00
server Retired gdb_attach. gdb-detach event covers this functionality. 2009-10-13 13:44:15 +02:00
svf SVF: fix checking bit pattern against length 2009-10-29 15:39:03 -07:00
target Cortex-M3: expose most DWT registers 2009-11-05 01:04:08 -08:00
xsvf XSVF: bugfix handling state paths 2009-10-29 12:42:41 -07:00
Makefile.am MinGW: use WinSock2 2009-10-19 17:48:19 -07:00
ecosboard.c warnings: remove 2009-11-05 09:03:24 +01:00
main.c Dick Hollenbeck <dick@softplc.com> moved stuff into openocd.c - should never have been in main.c in the first place. DLL will now build. 2009-05-02 19:31:30 +00:00
openocd.c Change most in-tree references from SVN to GIT. 2009-10-08 00:13:50 +00:00