I am using the lwIP example Example_S32K344_EMAC_lwIP_FreeRTOS_miniEVB_v1_0_S32DS36_RTD600.zip to test Ethernet functionality on the S32K344.
I downloaded this example from a post in the NXP Community and am using it without making any modifications to the code.
I have a few questions:
Is there a way to create an lwIP example project directly in S32 Design Studio (S32DS), similar to how we create projects for UART, I2C, SPI, etc.?
I am currently using a virtual platform for the S32K344 board to flash and run this lwIP example. However, when I connect using GDB, the program always enters the HardFault handler.
Could you please help me understand:
What might be causing the HardFault?
Whether lwIP examples can run on a virtual platform, or if real hardware is required?
If I am doing something incorrectly, please let me know.
Thank you.