Without Debug mode not working.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Without Debug mode not working.

1,240 次查看
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 项奖励
回复
3 回复数

1,122 次查看
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 项奖励
回复

1,122 次查看
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 项奖励
回复

1,122 次查看
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 项奖励
回复