I'm having a problem with an RT1020 board. After hooking it up to a new device, the board entered an unknown state where it shows up on the LinkServer list, but when I try to debug, I get a Wire Ack fault and the console says there is no connection to the debug port. This state persists after completely disconnecting the board from the aforementioned device. I have tried debugging in boot mode but he same thing happens. Is there any known way to recover from this state?
Hope you are well.
Please follow these steps to regain control on you board:
The reason why you need to import a fresh project from the SDK is that we are sure that this project works perfectly and has all the right configurations in the clocks and in all the other peripherals. This will bring your board into a known state and will avoid bricking it again.
Let me know if this is helpful, if you have more questions do not hesitate to ask me.
Please try to recover your board with the MCU Boot Utility: https://github.com/JayHeng/NXP-MCUBootUtility
At this post, you can find a guide on how to recover your board using this tool: https://mcuoneclipse.com/2019/01/02/regaining-debug-access-of-nxp-i-mx-rt1064-evk-executing-wfi/
Let me know if this helps, if you have more questions do not hesitate to ask me.
I spent some time trying to correctly install the boot utility mentioned in that blog post, and never quite got it to work. However, the new boards our group order have arrived, so this issue is no longer a high priority for us.