Hello,
I am trying to use the ETM on the TMS570LC4357 for tracing. I work with a customized board, the IAR toolchain and the IAR I-JET Trace. I am facing problems and hope you guys can help me
1) Connector - I am not even a 100% sure the MIPI-20 is used correctly, this is what I've got on the board
Pin 2 -> CPU TMS (C19)
Pin 4 -> CPU TCK (B18)
Pin 6 -> CPU TDO (C18)
Pin 8 -> CPU TDI (A17)
Pin 10 -> CPU nRST (B17)
Pin 12 -> CPU ETMTRACECTL (R11)
Pin 14 -> CPU ETMDATA0 (R12)
Pin 16 -> CPU ETMDATA1 (R13)
Pin 18 -> CPU ETMDATA2 (J15)
Pin 20 -> CPU ETMDATA3 (H15)
2) ETM Clock
TRM Section 2.4.5: Select ETM clock source -> write 0x01 to register EXTCTL_Out_Port Register to select VCLK as the ETM clock source. TRM suggests to unlock the TPIU with the Coresight key before writing to this register. How is that done? I can't find it in the TRM nor in the ARM Coresight Manual.
This is out of TI's scope, but that's what I get in IAR:
"Tue Jul 12, 2016 07:46:59: Warning: No trace clock - check ETM and GPIO settings "
Thanks for your help, I really appreciate it.
Regards,
Juergen