S32K144 code execution doesn't start after power cycle

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

S32K144 code execution doesn't start after power cycle

跳至解决方案
785 次查看
munchosmith
Contributor II

Hello everyone.

Hope you're safe and sound.

My problem: after the code has been build and loaded on the target it works, but when I do a power cycle (power off, then on) the code doesn't start at all.

I did my development on a S32K142Q100 EVB and everything was fine.

Then I moved to my target PCBA which is with S32K144 (FS32K144ULT0VLLT). I think I've done all my settings correctly, considering the migration to the S32K144, incl. proper project settings (S32DS 2018.R1), replacing linker file (btw I use S32K144_64_flash.ld from the SDK).

My debugger is P&E micro Multilink universal, but I also tried it with Lauterbach's Trace32.

Can you suggest what miserable setting in the S32DS have I put wrong ...

I'll appreciate any help, and thanks for your time.

0 项奖励
1 解答
756 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @munchosmith 

The MCU must always do something.

If it does not keep resetting itself, the application is stuck somewhere.

You can attach the Multilink and examine the state of the MCU.

danielmartynek_0-1615288776825.png

 

Regards,

Daniel

在原帖中查看解决方案

0 项奖励
2 回复数
757 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @munchosmith 

The MCU must always do something.

If it does not keep resetting itself, the application is stuck somewhere.

You can attach the Multilink and examine the state of the MCU.

danielmartynek_0-1615288776825.png

 

Regards,

Daniel

0 项奖励
769 次查看
munchosmith
Contributor II

It appears that with one additional reset the code eventually starts executing...

0 项奖励