Hi Daniel,
Is there any way to disable debug port(JTAG, SWD, DAP) completely? For security reason, we need to disable the debug port and make sure hardware debuggers(jlink, pemicro, lauterbach, etc) will not work. If needed, we can enable it via other communication interfaces(CAN, UART, etc) with authorization.