I am trying to create a server socket on my Zynq 7000 dev board which can received packets from my PC and reply back. Here are my platform details:
Platform: Xilinx Zynq-7000 SoC on a Cora-Z7-10 development-kit.
OS: FreeRTOS 10+ port for Xilinx
I am successfully able to use
FreeRTOS_recv and get data from the PC. But when I try to echo that data back, my program crashes and I see that the
vApplicationMallocFailedHook function is triggering an assert. I believe this has something to do with my memory allocation and buffer sizes but I’m not sure what is causing the problem.
Here is a link to my Git repo that has my project in its current state.
I have also added the tcp_mem_stats tool to my project but have yet to figure out a way to get it to work.
Any help would be greatly appreciated.