I am using s32k116 microcontroller or I am using IAR Workbench compiler and i-jet debugger. please help me my application are working fine but in debug mode only. when i restart the mcu its not working.
please find the attachment file .
Is the MCU in reset? Please monitor the reset pin.
If not, please attach the debugger to the running MCU without resetting it and halt the execution, examine registers and step the code.
thank you for reply
I have checked every configuration register. It was perfect and my code is not reset I toggle one pin for 50ms then I check its working perfect.when I power off then after power ON MCU toggle pin not getting start.
I understand that the MCU is not working as expected after POR but it is not in reset (the reset pin is being pulled HIGH).
That means the execution is stuck somewhere in the code.
As I already wrote, you can attach the debugger to the running MCU after POR.
Could you please give it a try?
Retrieving data ...