imx6q route TPIU trace to external pins with DS-5

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

imx6q route TPIU trace to external pins with DS-5

1,226 Views
zhaosongluo
Contributor I

hi guys!

Is there an init script or code sample that will show the complete steps for exporting TPIU trace data to the package pins?

I am Using ARM DS-5 with our IM6Q custom board.

I have search on the internet,but have not found a clear way no how to operate.

any advise would be appreciated!

Tags (3)
0 Kudos
4 Replies

752 Views
Yuri
NXP Employee
NXP Employee

  In order to configure the trace pins the Processor Expert for i.MX may be useful.

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=PROCESSOR-EXPERT-IMX

 
https://community.freescale.com/docs/DOC-101470

~Yuri.

0 Kudos

752 Views
Yuri
NXP Employee
NXP Employee

  It is possible to use the i.MX6 trace signals (ARM_TRACExx, ARM_TRACE_CLK,

ARM_TRACE_CTL) usng signal multipelxing options of the i.MX6  for debugging,

given corresponding power supply voltage meets i.MX6 specs.  ARM_TRACEx should

be properly configured via IOMUX (say, according to Table 4-2 (Muxing Options) of the
i.MX6 DQ Reference Manual, CSI0_DAT4 in ALT7 mode serves as ARM_TRACE01);
also TPIU Current Port Size Register should be set  accordingly. Also note, appears, 
we do not have experience with ETM on i.MX6.

   Mainly it is recommended to use the ETB. In this mode you don't need to

configure ETM, IO pins and you don't need even special trace hardware. The trace

is collected via JTAG. The disadvantage in this mode is that the trace is not

collected in real time and the maximal size of trace is 16K.

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

752 Views
zhaosongluo
Contributor I

hi Yuri!

I have used the ETB for trace correctly. But as the time matter, i do not debug the ETM anymore,if have a free time, i will try it again!

however, thanks for your advice!

Best Regards

geliter

0 Kudos

752 Views
saurabh206
Senior Contributor III

Hi,

Send your post to imx community (e.g. i.MX Community ) to get it visible for active members.

Saurabh