ETM: start support for ETMv2+
authorDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 13 Nov 2009 04:24:41 +0000 (20:24 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 13 Nov 2009 04:24:41 +0000 (20:24 -0800)
commitd47764ff7176b6e3d97b49e82d4db7fe17c8e552
treec8f1c14a6041a4a70f546afa1047b7633a73476d
parent26849ad60d269b0e8d254882bc75268a393dd2a1
ETM: start support for ETMv2+

ARM11 and newer cores include updated ETM modules.  Recognize
their version codes and some key config differences.  Sanity
checked on an OMAP2, with an ETM11RV r0p1 (ETMv3.1).

This still handles only scan chain 6, with at most 128 registers.
Newer cores (mostly, Cortex) will need to use the DAP instead.

Note that the newer ETM modules don't quite fit the quirky config
model of the older ones ... having more port widths is easy, but
the modes aren't the same.  That still needs to change.

Fix a curious bug ... how did the register cache NOT get saved??

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
doc/openocd.texi
src/target/etm.c
src/target/etm.h