I encountered this problem in which I get the error "Failed to initialize RAMCode" when I am trying to flash my firmware into MIMXRT1021. I have a few of the same custom boards with MIMXRT1021 and all others can be flashed except for this one.
Here are a few details of what I have done to all boards:
1. Setting BT_FUSE_SEL bit to 1 by flashing a small .hex to RAM and execute it from RAM by setting PC to RAM. It works for all boards.
2. The Jlink is connected via SWD
3. Custom .flm file that I downloaded from this forum is used and JLinkDevices.xml is altered accordingly
Anyone knows if this one exception that I faced can be solved in some ways, or I should just declare the controller on this board is dead and move on? Would be cool to know if there is any solution to this in case I encounter this same problem again in the future.
Thanks!
