Without Debug mode not working.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Without Debug mode not working.

1,087 Views
upendra_kumar
Contributor I

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 .

0 Kudos
3 Replies

969 Views
upendra_kumar
Contributor I

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.

0 Kudos

969 Views
danielmartynek
NXP TechSupport
NXP TechSupport

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 

0 Kudos

969 Views
danielmartynek
NXP TechSupport
NXP TechSupport

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

0 Kudos