Hi M.Kiniwa,
Thank you for your confirmation.
If you change FOPT to 0XFD, it means your code will boot from ROM not flash after reset.
So, you can't debug it directly, when you enter the ROM bootloader, you need to use the kinetisFlashTool in the KBOOT2.0, download the application code at first.
I think, you can use the MDK to download the code, and then reset the chip, use the kinetisFlashTool to download the application code, whether you can download the app, if yes, it means, the MDK already download your modified code to your chip.
Wish it helps you!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------