This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Issue while send() recv(), stucks b'coz of Rx buffer overrun

2046.BufferFull_MagicNumber.zipHello,

I have PC client that sends packet of 1000 bytes at the gap of 10ms and Freescale Host micro( connected with TiWi-SL) receives that packet and sends it back to PC client and PC client just discard it as of now. All communication is thru router and over TCP.

After sometime host micro stucks in:
 if (sSpiInformation.pRxPacket[CC3000_RX_BUFFER_SIZE - 1] != CC3000_BUFFER_MAGIC_NUMBER)
 {
  while (1);
 }

Please find attached Wireshark Trace, and Flow graph snap-shot.
I do not see this issue when I just transmit messages back to back (From PC client to TiWi) OR just receive messages back to back(From TiWi).

I even tried the test version of upcoming patch and host code, but no help.

Please help me to understand the issue. What could be the wrong in this scenario?

Thanks,

Manish K