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