IMXRT1170-EVK board: How to enable instruction trace using J-Trace probe?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IMXRT1170-EVK board: How to enable instruction trace using J-Trace probe?

601 次查看
davidjaouen
Contributor III

Hi,

I'm trying to enable instruction trace using i.MXRT1176 trace pins and a J-Trace probe on a MIMXRT1170-EVK board.

I have installed resistors R1881, R1882, R1883, R1884, R1885, and R1886 so that TRACE_CLK and TRACE_D3..0 be routed to the probe.

I downloaded Segger's sample project to check the instruction trace is working, and it does.

But when I try with my own project, I don't have any trace in Ozone (Segger's debugger). The Instruction Trace view displays "No data".
I wrote a JLink script to configure the trace pins on the RT1176 and the clock is  output on the TRACE_CLK pin (checked with a scope). So, I suppose the pins are correctly configured.

Do I need to configure something in the ETM? in TPIU? or anywhere else in th RT1176?

Any help will be appreciated.

0 项奖励
回复
2 回复数

580 次查看
jackking
Senior Contributor I

597 次查看
mayliu1
NXP Employee
NXP Employee

Hi @davidjaouen ,

Thank you for your interest in the NXP MIMXRT product, I would  like to provide service for you.

I find that you have installed resistors R1881, R1882, R1883, R1884, R1885, and R1886 so that TRACE_CLK and TRACE_D3..0 be routed to the probe.

But I think you still need disconnect other signal resistors on the signal line, such as,
R1290, R1293, R1295, R1294, R1296, which are multiplexed with Ethernet.

I also find a application note for you to refer to.

https://www.nxp.com/webapp/Download?colCode=AN14046&location=null

Wish it helps you.
If you still have question about it, please kindly let me know.

 

Best Regards

MayLiu

0 项奖励
回复