Hi ,
With the technical reference manual of AM335x, TRACE port is defined in EMU0,EMU1,EMU2,EMU3,EMU4.
What pin is TRACECLK necessary for trace of ETM?
With the following gel file of CCS, I seem to choose a pin by register setting, but the details of this register do not list it in a technical reference manual.
May you output it freely as TRACECLK wherever of the EMU pin?
I think that EMU2 uses it with the following gel file as TRACECLK, is it right?
GEL file:
AM335x_trace_dapdebugss.gel
DRM_CTL(0) = (0x80000000 | DPM_MODE_STM_DATA0); // set DP0 as STM trace data0
DRM_CTL(1) = (0x80000000 | DPM_MODE_STM_DATA1); // set DP0 as STM trace data1
DRM_CTL(2) = (0x80000000 | DPM_MODE_STM_CLK ); // set DP0 as STM trace clock
DRM_CTL(3) = (0x80000000 | DPM_MODE_STM_DATA2); // set DP0 as STM trace data2
DRM_CTL(4) = (0x80000000 | DPM_MODE_STM_DATA3); // set DP0 as STM trace data3
Best Regards,
Shigehiro Tsuda