Other Parts Discussed in Thread: TMDSEMUPROTRACE
Hi team,
My customer has some questions after looking at some of the JTAG documentation on the AM437x, they would like to know if we have specific recommendations on the following:
Which pins to expose for JTAG debugging, specifically hardware tracing?
- include just EMU0 and EMU1 in addition to nTRST, TCK, TDI, TDO, and TMS?
- Include EMU0-11?
- Any pullup or pulldown requirements on the pins
- some recommendations from TI did not match the AM437x GP EVM schematic
- What are the impedance and length-matching requirements for JTAG as none of the AM437x documents seem to give exact details
- If nothing else, they would like the minimum and maximum speeds for each of the lines as well as maximum trace lengths
- For reference, they are using a XDS560v2 STM JTAG Adapter
Finally, they are having some significant issues with debugging and stepping through u-boot using CCS. Do you have any suggestions on what they could do differently?
Setup
- JTAG connection using the following pins: 3V3, GND, nTRST, TCK, TDI, TDO, and TMS
- Ubuntu 16.04 Virtual Machine with CCS 9.2.0.00013 installed
Issue
- They can connect to the target, load symbols, and see the stopped execution steps on the target
- If they pause the target, after waiting for a couple of seconds, the target continues executing without user intervention
- In addition, hardware tracing does not seem to work, it only displays output when the processor is hung on an instruction
- CCS also frequently becomes unresponsive and must be restarted. Turning off the target and disconnecting the JTAG rarely fixes the issue
- They've slowed down the clock speed to its lowest setting with the same results
Thanks,
Lauren