debug with multilink is ok,but fail after re-powerup

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

debug with multilink is ok,but fail after re-powerup

跳至解决方案
509 次查看
zhangzhixing
Contributor III

The K396 board I developed can be successfully pinged from my computer when running either the lwip_baremetal_s32k396 or lwip_FreeRTOS_s32k396 project using the Multilink debugger. However, after a power cycle, neither project can be pinged.

After changing the optimization level to none for the lwip_baremetal_s32k396 project, it can be pinged successfully without using the debugger. But for the lwip_FreeRTOS_s32k396 project, even after setting optimization to none, it still cannot be pinged without the debugger.

I added code to toggle an LED in vApplicationIdleHook, and it appears that the idle task is not being entered. What could be causing this issue?

标记 (1)
0 项奖励
回复
1 解答
495 次查看
PavelL
NXP Employee
NXP Employee

Hello @zhangzhixing ,

I experienced the same symptoms. Have you tried to disable PIT in device_init, as I mentioned in my update  Solved: lwip_FreeRTOS_s32k396' example project and failure - NXP Community ?

Best regards,

Pavel

在原帖中查看解决方案

0 项奖励
回复
3 回复数
496 次查看
PavelL
NXP Employee
NXP Employee

Hello @zhangzhixing ,

I experienced the same symptoms. Have you tried to disable PIT in device_init, as I mentioned in my update  Solved: lwip_FreeRTOS_s32k396' example project and failure - NXP Community ?

Best regards,

Pavel

0 项奖励
回复
435 次查看
zhangzhixing
Contributor III

Just comment out PIT and that's fine. Thanks.

标记 (1)
0 项奖励
回复
439 次查看
zhangzhixing
Contributor III

Just comment out PIT and that's fine. Thanks.

标记 (1)
0 项奖励
回复