Open multiplemonomials opened 2 years ago
Apparently this is a known issue https://community.nxp.com/t5/i-MX-Processors/Debugging-after-NVIC-SystemReset/td-p/1682963
It seems like we might need a MIMXRT-specific reset function which runs out of RAM and resets the flash using its reset pin before calling NVIC_SystemReset. This would be the first actual, bona fide new HAL API added by Mbed CE!
After running the mbed-hal-rtc-reset test, something really bad happens to the DAPLink debugger and/or the Redlink debug tool on this target. The board is unable to be programmed anymore, and is totally inoperable until it's disconnected and reconnected.
The test appears to run normally and passes, but then any subsequent attempt to program the target gets