Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by terrype on Tue Sep 09 00:56:23 MST 2014
IDE : LPCexpresso
BSP; LPC Open 2.10
Board ; LPCexpresso 1769
example use ; lwip_tcpecho_freertos

I modify the example to works as TCP client and it wroks well, I add a extra task which was tested independly and works well.
When boath task run together then started get
1. Malloac fail
2. Increase the total heap size then get Hardfault_Handler error

I attached few images

Q1. How to reduce the lwip tcp tx and rx frame size? also all level of tx and rx buffer