LPCXpresso-LPC1769 freezes during TCP communication

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by Golic on Tue Jul 28 03:49:09 MST 2015

I am using tcp_echo_freertos example from lpcopen_2.10_lpcxpresso example library on LPCXpresso7.4.0. Code works fine for some time (time differs from 3 hours to 4 days), but then controller freezes. WireShark doesn't show any irregularity during communication. I found that code stops executing in:

sys_arch_sem_wait(sys_sem_t *pxSemaphore, u32_t ulTimeout).

Not sure is that cause or aftermath of code freezing. Can anyone help?