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 .
thank you for reply
Dear Sir,
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.
Hello,
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?
Thank you,
BR, Daniel
Hi,
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,
BR, Daniel