I'm using a j-Trace with IAR EWARM 7.80, connecting to a Kinetis MK24FN1M0VLL12 custom board.
I've edited IAR's Kxxx_Trace.dmac file to enable the trace clock (bit 13 of 0x40048038) and pinmux we're using (PTE0..PTE3, so 0x4004D0xx=0x540) and all appears well... the debug session starts, the "Trace" LED on the j-Trace lights orange. And when I hit "Break" in EWARM, I (uually) receive the error "Warning: ERROR: Failed to stop trace" -- and then trace data appears in any enabled trace windows. This is reliable about 90% of the time... sometimes I just get no trace data at all which can be a bummer.
ETB mode works fine, reliable, no errors, but is obviously very short trace and not good enough for me -- that's why we bought a j-Trace after all
I've also tried to use Segger Ozone, and ETM mode does nothing there at all (But not sure where I would set up the pins for Ozone - currently doing this via EWARM first)
What am I missing to be able to successfully use ETM in Ozone? And any ideas why I see the "failed to stop trace" error in EWARM?
Regards,
Ian
I've edited IAR's Kxxx_Trace.dmac file to enable the trace clock (bit 13 of 0x40048038) and pinmux we're using (PTE0..PTE3, so 0x4004D0xx=0x540) and all appears well... the debug session starts, the "Trace" LED on the j-Trace lights orange. And when I hit "Break" in EWARM, I (uually) receive the error "Warning: ERROR: Failed to stop trace" -- and then trace data appears in any enabled trace windows. This is reliable about 90% of the time... sometimes I just get no trace data at all which can be a bummer.
ETB mode works fine, reliable, no errors, but is obviously very short trace and not good enough for me -- that's why we bought a j-Trace after all
I've also tried to use Segger Ozone, and ETM mode does nothing there at all (But not sure where I would set up the pins for Ozone - currently doing this via EWARM first)
What am I missing to be able to successfully use ETM in Ozone? And any ideas why I see the "failed to stop trace" error in EWARM?
Regards,
Ian
The post was edited 1 time, last by IJeffray ().