Hi All
I have been working successfully with the MIMXRT1020-EVK for some time and had a working code loaded in QSPI-FLASH - so that it booted from there and ran this code.
Using IAR I was then developing code directly in RAM so that I didn't need to program the QSPI-FLASH each time and always had a working reference after a power cycle.
I wanted to check something in MCUXpressor and so loaded its blinky project to the board (to QSPI-Flash). The load failed for some reason and there is presumably no QSPI Flash code loaded any more (since the original code doesn't start any more) but no debugger (either MCUXpressor or IAR) can now load or connect any more. The MCUXpresso error message, when trying to load the blinky reference:
The board still appears as DAPLink with USB-CDC so the Open SDA debugger looks OK.
Any idea what went wrong and whether it is recoverable somehow??
Regards
Mark
Hi All
I managed to recovery by selecting a different boot source to the NOR-Flash which I could see was loading something (but not much). Whatever it was loading was presumably causing the SWD interface to stop working.
With a different boot source selected the debugger could then connect and load a good firmware again.
Then I switched back to NOR-Flash loading mode and the code ran from there and debugging etc. was available again as normal.
Therefore EVK is operation again but I wonder what actually caused nothing to be able to work when booting from what was probably partially loaded/corrupt code. Is there a risk of something similar happening when uploading code in the field?
Regards
Mark