Thank you for your information. The CFG configuration is correct but are you terminating the pins externally? If using efuses for this then it is ok to leave them NC.
Please follow these steps:
1. Open MCUXpresso IDE.
2. Import any example of the SDK. In this guide, I imported the iled_blinky example. In the end, I will explain why you need this project.
3. Go to your board and put it in Serial Download mode(Boot_Mode[1:0] = b01).
4. Go back to MCUXpresso, since you just imported the project, I assume that it doesn’t have any debug configurations if you are using another project that does have debug configurations please delete them.
5. Launch the debug session of the project while in serial downloader.
6. When the debug session is launched, you won’t see that the program stops at the main as it normally does.
7. Stop this debug session.
8. Delete the debug configuration of the project.
9. Do a power cycle to your evaluation board and configure it in internal boot or boot from fuses.
10. That’s it! At this point, you should be able to enter the debug sessions without any problems.
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.