LPC1788 Ethernet Based Socket Communication Randomly Stops Working After Few Hours

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC1788 Ethernet Based Socket Communication Randomly Stops Working After Few Hours

750 Views
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 Kudos
3 Replies

740 Views
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 Kudos

716 Views
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 Kudos

738 Views
frank_m
Senior Contributor III
0 Kudos