We have 4 boards that are being used for field testing. Of the 4, we have 1 board that deterministically encounters a hard fault. This occurs when the LPC attempts to access the UART peripheral. All 4 boards are running the same software build.
On the board in question when we write a char into an array index it induces a hard fault. The 3 other boards do not exhibit this behavior. The array size is 16384. When we start writing to indexes above 100 on the problematic board we begin seeing the fault.
Could this indicate a hardware SRAM issue on this board?
I don't really see how a software issue could be so deterministic and only on one board.
We are continuing to debug this issue but wanted to see if anyone else had encountered this type of problem.
Thanks,
John
I've sent you our source i a private messge.
Hello @anbui
I have tested your project with LPCxpresso55s28-evk board, no hard fault, I think you need check hardware connection.
BR
Alice
Hi Alice, I will have our embedded designer send you the project. Can you explain why we only see this on 1 of 4 boards? This issue is repeatable, but only on one board. The others do not have this issue.
Hello @jtauch1
If use same project, and the four boards are the same, how about check hardware connection for UART?
If only one board has issue, I think there is no meaning about sending project to me, you should check hardware, also can first use a simple demo project test.
BR
Alice
Hello @jtauch1
How about test simple SDK demo? Dose it can debug well?
If SDK demo work well, only your own project hard fault, you can send your project to me, I help to check on my side.
BR
Alice