imxrt1170 evk JTAG/Trace interface

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imxrt1170 evk JTAG/Trace interface

Jump to solution
904 Views
auftrag2021
Contributor III

Hello, 

we are planning to buy a segger J-Trace debugger. but I am quite confused by the debug interfaces on the board

HW: imxrt1170 EVK

as we see, there are two JTAG interfaces on the board

the "1" is quite popular, which is the 2.54mm 20-pin JTAG which I can easily find the suitable cable/adapter for the debugger

auftrag2021_2-1690568814556.png

 

but what is the "2" JTAG/Trace interface? Due to the ixmrt1170 EVK schematic

what is the this interface using for? where do I find more specific information about this interface?

auftrag2021_3-1690569116748.png

 

 

0 Kudos
Reply
1 Solution
825 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi again @auftrag2021,

The most simple and effective way of doing this is by using the Clocks tool from ConfigTools.

Simply go into the Clocks tool, change the value of the Cortex M7 core root clock to the desired value, and click on "Update code":
EdwinHz_0-1691013723018.png

BR,
Edwin.

View solution in original post

0 Kudos
Reply
3 Replies
866 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @auftrag2021,

You can both J1 and J58 as JTAG connections for debugging the RT1170. But the RT1170 also supports ETM Tracing, for which you would have to use J58. Application Note AN AN12437 describes the "Normal" JTAG connector definition on Table 8, which is present on J1 of the EVK, but it also shows the ETM capable connection on Figure 7, which is present on the J58 or the JTAG/Trace interface you mention. For more information about the Embedded Trace Macrocell (ETM), please look into the following link: https://developer.arm.com/documentation/ihi0014/q/Introduction/About-Embedded-Trace-Macrocells.

BR,
Edwin.

0 Kudos
Reply
833 Views
auftrag2021
Contributor III

Hi, thanks for the feedback

I have succeed got the JTRACE debuger communicaton with the imxrt1170 evk. 

but the unfortunately the trace function is very sad, it is so easily to get the trace overflow error

auftrag2021_0-1690968653019.png

I check in the some other post, the issue seemed to be identified:

auftrag2021_1-1690969248978.png

 

Now my question is: how to downgrade the core M7 speed from 1GHz to a certian value?  

 

 

0 Kudos
Reply
826 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi again @auftrag2021,

The most simple and effective way of doing this is by using the Clocks tool from ConfigTools.

Simply go into the Clocks tool, change the value of the Cortex M7 core root clock to the desired value, and click on "Update code":
EdwinHz_0-1691013723018.png

BR,
Edwin.

0 Kudos
Reply