Hard fault on LPCXpresso845MAX

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

Hard fault on LPCXpresso845MAX

1,563 Views
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 Kudos
Reply
5 Replies

1,540 Views
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 Kudos
Reply

1,535 Views
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 Kudos
Reply

1,491 Views
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 Kudos
Reply

1,487 Views
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 Kudos
Reply

1,482 Views
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 Kudos
Reply