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?