Hi,
I am trying to enable the ETM Tracing with Ozone on a TWR-K65 board.
But when starting a debugging session I get the following error:
Display All
The JLinkScript I use is attached and my Ozone-COnfigurations looks like this:
Any Ideas whats going wrong here?
Thanks!
I am trying to enable the ETM Tracing with Ozone on a TWR-K65 board.
But when starting a debugging session I get the following error:
Source Code
- Debug.Start();
- Executed J-Link command "ScriptFile=D:/temp/Kinetis_Tracing.JLinkScript"
- J-Link: Device "MK65FN2M0XXX18" selected.
- J-Link: Executing InitTarget()
- J-Link: Found SW-DP with ID 0x2BA01477
- J-Link: Scanning AP map to find all available APs
- J-Link: AP[2]: Stopped AP scan as end of AP map has been reached
- J-Link: AP[0]: AHB-AP (IDR: 0x24770011)
- J-Link: AP[1]: JTAG-AP (IDR: 0x001C0000)
- J-Link: Iterating through AP map to find AHB-AP to use
- J-Link: AP[0]: Core found
- J-Link: AP[0]: AHB-AP ROM base: 0xE00FF000
- J-Link: CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)
- J-Link: Found Cortex-M4 r0p1, Little endian.
- J-Link: FPUnit: 6 code (BP) slots and 2 literal slots
- J-Link: CoreSight components:
- J-Link: ROMTbl[0] @ E00FF000
- J-Link: ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB00C SCS
- J-Link: ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT
- J-Link: ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB
- J-Link: ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM
- J-Link: ROMTbl[0][4]: E0040000, CID: B105900D, PID: 000BB9A1 TPIU
- J-Link: ROMTbl[0][5]: E0041000, CID: B105900D, PID: 000BB925 ETM
- J-Link: ROMTbl[0][6]: E0042000, CID: B105900D, PID: 003BB907 ETB
- J-Link: ROMTbl[0][7]: E0043000, CID: B105900D, PID: 001BB908 CSTF
- J-Link: connected to target device
- J-Link: Reset: Halt core after reset via DEMCR.VC_CORERESET.
- J-Link: Reset: Reset device via AIRCR.SYSRESETREQ.
- J-Link: Executing AfterResetTarget()
- J-Link: J-Link: Flash download: Bank 0 @ 0x00000000: Skipped. Contents already match
- Executed J-Link command "SelectTraceSource=1"
- J-Link: Start: Initializing trace pins
- J-Link: End: Initializing trace pins
- J-Link: Using main connection for streaming trace. For max. trace throughput, please connect J-Trace via IP
- J-Link: No trace clock present, trace may not work correctly.
- If application enables trace clock during execution, start of trace data may be missing.
The JLinkScript I use is attached and my Ozone-COnfigurations looks like this:
Source Code
- void OnProjectLoad (void) {
- Project.SetDevice ("MK65FN2M0xxx18"); Project.SetHostIF ("USB", ""); Project.SetTargetIF ("SWD");
- Project.SetTIFSpeed ("4 MHz"); Project.SetTraceSource ("Trace Pins"); Project.SetTracePortWidth (4); Project.AddSvdFile ("Cortex-M4.svd");
- Project.SetJLinkScript("D:/temp/Kinetis_Tracing.JLinkScript");}
Any Ideas whats going wrong here?
Thanks!