Hard fault on LPCXpresso845MAX

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

Hard fault on LPCXpresso845MAX

1,562 次查看
Jason_fx
Contributor I

During the development process of my IDE, a Hard fault suddenly occurred, and the program could not be executed. I tried using the example code, but the same Hard fault occurred, Can get me any debug suggestions?

0 项奖励
回复
5 回复数

1,539 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @Jason_fx 

Please try to enter ISP mode, try to full erase your chip, then re-debug.

If still can not work, tell me which IDE do you used? How about test with MCUxpresso IDE?

Check whether can enter ISP mode use Flash Magic.

 

BR

Alice

0 项奖励
回复

1,534 次查看
Jason_fx
Contributor I

How to enter ISP mode?
I use IDE is MCUXpresso IDE.

I use the following method to perform flash erase, but the result is still not working

Debug setting -> GUI Flash Tool -> Erase -> Mass erase -> Run -> MassErase completed

0 项奖励
回复

1,490 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @Jason_fx 

Pressing SW1 when power-up or reset.

You can try to keep pressing when you do your steps "Debug setting -> GUI Flash Tool -> Erase -> Mass erase -> Run -> MassErase completed".

 

BR

Alice

0 项奖励
回复

1,486 次查看
Jason_fx
Contributor I

Hi @Alice_Yang 

Thanks for the advice, I tried it and nothing changed.
And a new error popped up.

The following is the error message, I confirmed Windows has found boards.

Failed on connect: Ee(42). Could not connect to core.

No connection to chip's debug port

0 项奖励
回复

1,481 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @Jason_fx 

"I confirmed Windows has found boards."

-> I think windows just fund debugger.

If ISP mode also failed, I think the chip broken. You can download Flash Magic, then try to whether can connect using ISP mode.

Download Flash Magic from: https://www.flashmagictool.com/download.html 

 

BR

Alice

0 项奖励
回复