S32K116 cannot work normally when using S32DS 3.4 but works well when using S32DS 2018.R1

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

S32K116 cannot work normally when using S32DS 3.4 but works well when using S32DS 2018.R1

843 次查看
ruuxi1h4cx
Contributor II

I created a simple project of S32K116 for blinking LED by using S32DS 3.4, the program can be downloaded successfully and the S32K116 works well in Debug_FLASH mode with PEMicro tool。

However,  the program cannot work after power off and power on again, and it's like the program is only downloaded to RAM.

I created a second same project using S32DS 2018.R1, and the S32K116 works well.

The Debug_FLASH configuration in both of the projects uses the default parameter.

ruuxi1h4cx_0-1621844761812.png

 

0 项奖励
回复
2 回复数

825 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Have you seen the same issue with example code delivered with the S32DS?

If it is your own code, I would pay attention to watchdog as it is often the reason why code does nut run standalone.

0 项奖励
回复

812 次查看
ruuxi1h4cx
Contributor II

Thank you very much for your reply. I created an example code using S32DS 3.4, and I found the difference in configurations between the example code and my code.

There is no #START_FROM_FLASH in my code and after I added the symbol in my project my code works well. I don't know why although I created my project using the default configuration.

ruuxi1h4cx_0-1621997198993.png