Hard fault on LPC5526JBD64

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

Hard fault on LPC5526JBD64

3,003 Views
jtauch1
Contributor I

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

 

0 Kudos
Reply
5 Replies

2,837 Views
anbui
Contributor II

I've sent you our source i a private messge.

0 Kudos
Reply

2,799 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @anbui 

I have tested your project with LPCxpresso55s28-evk board, no hard fault, I think you need check hardware connection.

 

BR

Alice

0 Kudos
Reply

2,912 Views
jtauch1
Contributor I

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. 

 

0 Kudos
Reply

2,890 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply

2,968 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply