I.MXRT1021Target error from Commit Flash write: Ep(08). Cannot access core regs when target running.

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

I.MXRT1021Target error from Commit Flash write: Ep(08). Cannot access core regs when target running.

514 Views
Adarsh1
Contributor I

Hi All

i am working in I.MXRT1021 EVK , when i am trying to debug a led blinky example 

i facing this error " Target error from Commit Flash write: Ep(08). Cannot access core regs when target running".

please help in resolving this issue.

0 Kudos
Reply
1 Reply

508 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @Adarsh1 ,

  Normally, this is caused by the invalid image in the flash, which can't boot successfully, then it will cause the debug connect issues.

  But, don't worry, normally, meet this issues, you can do the external flash mass erase at first, then it will be recovered.

  You can let the MIMXRT1020-EVK enter the serial download mode, then use the MCUbootUtility connect the board, and do the mass erase. After that, back to the internal boot mode, do the debug again, it should work again.

  

kerryzhou_0-1661397435004.png

The MCUbootUtility download link:

https://github.com/JayHeng/NXP-MCUBootUtility/releases/tag/v3.5.0
the related user manual is:
https://github.com/JayHeng/NXP-MCUBootUtility

 

Wish it helps you!

If you still have questions about it, just let me know.

Best Regards,

Kerry

 

0 Kudos
Reply