LPC1788 Ethernet Based Socket Communication Randomly Stops Working After Few Hours

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC1788 Ethernet Based Socket Communication Randomly Stops Working After Few Hours

2,076 次查看
pratap1
Contributor I

We are using LPC1788 OEM Board REV E.of Embedded Artists.
We are using MCUXpresso IDE V11.3.0 and FreeRTOS Lwip stack.

This Board uses a socket communication to communicate with other board at 1ms time interval.
Randomly after few hours the LPC1788 Board stops working.
The socket communication stops and the continuously Blinking test LED also Stops Blinking.

0 项奖励
回复
3 回复数

2,066 次查看
converse
Senior Contributor V

You are going to have to debug this yourself. Nobody can help you find the problem. 

The most likely given your sparse description is has the system hard faulted? If it has, the causes could be

- out of heap space (memory leak) 

- memory corruption (bad pointer or stack overflow)

 

0 项奖励
回复

2,041 次查看
pratap1
Contributor I

We are doing socket communication between two boards at 1ms interval. After around 17 hrs communication stopped. 

We have not used any dynamic memory allocation in our application ,however lwip stack(FreeRTOS) used for Ethernet communication uses dynamic memory allocation. 

Please see attached Debugger Screen shot  when application stopped (HARD FAULT). 

0 项奖励
回复

2,063 次查看
frank_m
Senior Contributor III
0 项奖励
回复