If your MCU is NXP S32K144,you can use the commands as follows to enable security. JLink.exe -device "S32K144 (allow security)" ...