One update : WICED SDK 3.1.0 supports SN8200 and this is is lot better than 2.4.1 beacause platform files are more managable,
Now regarding your issue,
1. Are you updating the the received data in a global buffer, If you're filling the data in a buffer declared with in stack there is an Chance for stackoverflow, so try to update a global buffer.
2. Printing large amount of data is not advisable , beacause printing takes a lot of time , so better print all the data when you've completed reception.
Thanks for replying.
About updating to 3.1, in this response says that SN8200 (stm32f1x) doesn't support SDK 3.1:
Have you any patch that make it possible?
The buffer is declared as global variable. The idea is obtaining all the audio data from a streaming radio (so we're reading data continuosly) and send it to an STM32F4 for processing it (that's why I'm printing to serial console).
I probed with different size stack with no result.
I reduced the TCP Window Size and now seems to work. Although I get a low througput (~65,5Kbps).