Hi Enrique Lopez,
If you modified the FSEC, you need to do the reset, then the debug interface will be secured.
Actually, you can modify the code lash address 0x40c, then download it to the flash, do the reset.
When you use the JLINK programmer, you need to select the MKL26 allow security, otherwise, the flash configuration field won't be modified.

Please try again.
If you still have question about it, please let me know!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------