64.5.4.2.3 Software Restrictions for JTAG Debug Mode
Setting SECUMOD_JTAGCR.CA5_DEBUG_MODE sets the DBGEN, SPIDEN, NIDEN and SPNIDEN Cortex inputs to the appropriate level in order to allow different debug permission levels. See SECUMOD_JTAGCR for more information.