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
Hi Mark,
you can attach to running target via PE Micro by modifying startup sequence:
When you are already attached - you can check Exception_handling_registers (any other core related registers) in the SPR Registers window (on the main menu bar click Window -> Show view -> other ->SPR Registers. If view is complaining that there is missing data file - click on settings button and set the Z4 core)
Jiri