2019-03-28 01:09 AM
Hello Everyone,
I am using STM32F429ZIT MCU and Modbus TCP library provided by FreeModbus.
After attaching TCP library to my application code, i am getting below errors.
In modbus TCP library , inside portTCP.c , if i am commenting
prvvMBPortReleaseClient_s( pxPCB ) funcion inside
prvxMBTCPPortReceive( void *pvArg, struct tcp_pcb *pxPCB, struct pbuf *p, err_t xErr ) function, then my code is working perfectly, my device can handle multiple TCP request one by one.
but whe i am adding above function then i am getting below errors , and my device drops TCP client
i think it might be causing because of memory allocation
Thank in advance.