AnsweredAssumed Answered

How to Connect debugger (JTAG) to a running target system

Question asked by mark thompson on Jun 28, 2017
Latest reply on Jun 29, 2017 by Jiri Kral

Hi All

I have a problem with my code on a S32R274 Z4 core.

My code runs fine when I download and run from the debugger (PeMICRO/S32DS).

Eclipse/S32DS seems to be doing some type of initialization that allows the code to run in debug mode only.

When I power cycle target without using the debugger the code will not run to competition.

The problem appears to be in some global variable setup, executing the code crashes the Z4 CPU.

I don’t seem to be getting in to any of the exception handlers. I have attached a catch-all handler and don’t seem to be entering that handler.

I need to attach the jtag debugger and see the state after the crash, but don’t seem to understand how to do that with the Eclipse/S32DS IDE.

 

Thanks

Mark

Outcomes