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?
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
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
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
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
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