Was using the following setup to attempt to capture PC Trace for an ARM A15 core:
- CCS 6.1.3.00033
- Keystone2 device support 1.1.5
- TI Emulators 6.0.228.0
- EVMK2H connected with its XDS200 USB Onboard Debug Probe
- Running SYS/BIOS example programs on ARM Cortex-A15 core zero
- The Target Configuration file set to a 66AK2H12 device, and the Initialization Script for the arm_A15_0 core set to ../../emulation/boards/xtcievmk2x/gel/xtcievmk2x_arm.gel
The PC Trace Configuration was setup with the default settings, and to use the ETB as the Transport Type:
When the PC Trace was started CCS didn't report any errors, and the Trace Viewer reported that the expected warning that "WARNING: Clock frequency not available. Cannot provide time in seconds" due to using the ETB.
However, after running the program the Trace Viewer is always showing 0 records:
Note that:
a) PC Trace collection works for a C66xx core.
b) In the target configuration file the Initialization script for the CS_DAP_DebugSS is set to "../../emulation/Keystone2/funnel.gel". If the initialization script is removed from the CS_DAP_DebugSS, then when attempt to start PC Trace collection for the ARM A15 core then CCS reports the following error, which means CCS is attempting to call the Enable_Funnel_For_PTM function inside the funnel.gel script: