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

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

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

1,531 次查看
pratap1
Contributor I

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

0 项奖励
回复
3 回复数

1,527 次查看
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 项奖励
回复

1,508 次查看
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 项奖励
回复

1,504 次查看
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 项奖励
回复