I have a project that was built using IAR's Embedded Workbench. The target hardware contains an Nordic Semi nRF52832 from which only GND, Vcc, SWDIO and SWCLK are available on the outside. Flash and debug always worked flawlessly on this hardware using a simple J-Link but that one is no longer available to me. I do have a J-Trace Pro for ARM Cortex-M available though.
The problem I'm facing is that IAR's debugger won't play nice with J-Trace. It flashes correctly but once the debugger is started it just breaks and a dialog pops up it can't detect the trace clock. I don't want to trace, I just want to debug!
The configuration does work when using Ozone, but for convenience it would be nice to use the IAR debugger. Is there anything I can do to make this configuration work?
Second question: we probably need to redesign the target hardware. Will tracing work if I just add TRACEDATA[0..3] and TRACECLK pins or do I need more? The manual is not entirely clear in this respect; for example, it just says SWO is optional but doesn't mention restrictions.
The problem I'm facing is that IAR's debugger won't play nice with J-Trace. It flashes correctly but once the debugger is started it just breaks and a dialog pops up it can't detect the trace clock. I don't want to trace, I just want to debug!
The configuration does work when using Ozone, but for convenience it would be nice to use the IAR debugger. Is there anything I can do to make this configuration work?
Second question: we probably need to redesign the target hardware. Will tracing work if I just add TRACEDATA[0..3] and TRACECLK pins or do I need more? The manual is not entirely clear in this respect; for example, it just says SWO is optional but doesn't mention restrictions.