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

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

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

Jump to solution
506 Views
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?

Tags (1)
0 Kudos
Reply
1 Solution
492 Views
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

View solution in original post

0 Kudos
Reply
3 Replies
493 Views
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 Kudos
Reply
432 Views
zhangzhixing
Contributor III

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

Tags (1)
0 Kudos
Reply
436 Views
zhangzhixing
Contributor III

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

Tags (1)
0 Kudos
Reply