Hard fault on LPC5526JBD64

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

Hard fault on LPC5526JBD64

3,032 次查看
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 项奖励
回复
5 回复数

2,866 次查看
anbui
Contributor II

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

0 项奖励
回复

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

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

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

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