LPC1788 Etherate based Project suddenly stops working After Random Time intervals.

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

LPC1788 Etherate based Project suddenly stops working After Random Time intervals.

1,523 Views
pratap1
Contributor I

LPC1788 Etherate based Project suddenly stops working (HANGED) After Random Time intervals.

0 Kudos
Reply
3 Replies

1,519 Views
frank_m
Senior Contributor III

My crystal ball says your power supply fails periodically ...

But honestly, you need to provide more and specific information to receive help.

I suspect a stack overflow, and a subsequent hardfault.

0 Kudos
Reply

1,500 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
Reply

1,496 Views
frank_m
Senior Contributor III

There is still not much to work on for somebody not sitting in front of this board.

Run your application in the debugger, and check where it ends up when communication stops. I still think it is the hardfault handler. If so, check the SCB registers to get more information about the fault cause.

Otherwise, you can instrument your code (add log/output code to observe it without debugger).

Or use the additional trace channel of the debugger (if you spent the extra money for a professional debug pod and tool chain that supports it).

0 Kudos
Reply