iMX2* + ETB targets: hook up ETM and ETB
[fw/openocd] / tcl / target / imx27.cfg
index 039e83c3a8f725d46546be77213f83c4c362c7d8..dabae6d70f8d621cc59dfb5d07e990f84eb7099a 100644 (file)
@@ -47,3 +47,7 @@ $_TARGETNAME configure -work-area-virt 0xffff4c00 -work-area-phys 0xffff4c00 \
 #
 
 arm7_9 dcc_downloads enable
+
+# trace setup
+etm config $_TARGETNAME 16 normal full etb
+etb config $_TARGETNAME $_CHIPNAME.etb