summaryrefslogtreecommitdiff
path: root/tcl/target/imx25.cfg
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-11-13 16:56:11 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-11-13 16:56:11 -0800
commit44d6a531f7ad07ec20962fe1c61bb7787f2c7cf5 (patch)
tree55faf8cbdbff806e553ebf9c6e10b9427d3161b6 /tcl/target/imx25.cfg
parentaafb916bea1153b8d2f4706e4a62628f49741133 (diff)
downloadopenocd+libswd-44d6a531f7ad07ec20962fe1c61bb7787f2c7cf5.tar.gz
openocd+libswd-44d6a531f7ad07ec20962fe1c61bb7787f2c7cf5.tar.bz2
openocd+libswd-44d6a531f7ad07ec20962fe1c61bb7787f2c7cf5.tar.xz
openocd+libswd-44d6a531f7ad07ec20962fe1c61bb7787f2c7cf5.zip
iMX2* + ETB targets: hook up ETM and ETB
ARM9 cores with an ETB will have a matching ETM. Hook them both up by default. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'tcl/target/imx25.cfg')
-rw-r--r--tcl/target/imx25.cfg7
1 files changed, 6 insertions, 1 deletions
diff --git a/tcl/target/imx25.cfg b/tcl/target/imx25.cfg
index 6474a859..ead66102 100644
--- a/tcl/target/imx25.cfg
+++ b/tcl/target/imx25.cfg
@@ -38,4 +38,9 @@ if { [info exists SDMATAPID ] } {
jtag newtap $_CHIPNAME sdma -irlen 5 -expected-id $_SDMATAPID
set _TARGETNAME $_CHIPNAME.cpu
-target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME
+target create $_TARGETNAME arm926ejs -endian $_ENDIAN \
+ -chain-position $_TARGETNAME
+
+# trace setup
+etm config $_TARGETNAME 16 normal full etb
+etb config $_TARGETNAME $_CHIPNAME.etb