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

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

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

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

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