I have a “FreeRTOS lwIP Perf Server” application template modified as a UDP echo server running on a KCU105 Microblaze in the Xilinx SDK 2019.1, with freertos10_v1_3 and lwip211_v1_0 building from the BSP. However, when building lwIP 2.1.2 from source as a static library, the server fails (pxQueue equals 0) on configAssert( pxQueue );
in file queue.c
, in functions xQueueGenericSend()
and xQueueGenericSendFromISR()
.
The application sends and receives UDP packets successfully when using lwIP in the BSP, but eventhough the lwIP library builds from source and produces the .a library file, it fails on Queue Send functions.
Any input regarding this will be helpful. Thanks.
Below is the serial output, where queue.c line 753 is xQueueGenericSend()
and queue.c line 963 is xQueueGenericSend()
-----lwIP Socket Mode UDP Server Application------
Start PHY autonegotiation
Waiting for PHY to complete autonegotiation
Autonegotiation complete
Waiting for Link to be up; Polling for SGMII core Reg
auto-negotiated link speed: 1000
Configuring default IP 192.168.1.10
Board IP: 192.Assert failed in file queue.c, line 753
-----lwIP Socket Mode UDP Server Application------
Start PHY autonegotiation
Waiting for PHY to complete autonegotiation
Autonegotiation complete
Waiting for Link to be up; Polling for SGMII core Reg
auto-negotiated link speed: 1000
Configuring default IP 192.168.1.10
Assert failed in file queue.c, line 963
Here is an screenshot of the function call stack as well: