diff --git a/tcl/target/imx25.cfg b/tcl/target/imx25.cfg index 6474a8594..ead66102f 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 diff --git a/tcl/target/imx27.cfg b/tcl/target/imx27.cfg index 039e83c3a..dabae6d70 100644 --- a/tcl/target/imx27.cfg +++ b/tcl/target/imx27.cfg @@ -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