41.8.8 Debug control

Name: DBGCTRL
Offset: 0x1E
Reset: 0x00
Property: PAC Write-Protection

Bit 76543210 
      FDDBD DBGRUN 
Access R/WR/W 
Reset 00 

Bit 2 – FDDBD Fault Detection on Debug Break Detection

This bit is not affected by software Reset and must not be changed by software while the TCC is enabled.

By default, this bit is ‘0’, and the On-Chip Debug (OCD) fault protection is disabled. When this bit is written to ‘1’, an OCD break request from the OCD system triggers a non-recoverable fault. When this bit is set, the OCD fault protection is enabled and an OCD break request from the OCD system triggers a non-recoverable fault.

ValueDescription
0No faults are generated when TCC is halted in Debug mode.
1A non recoverable fault is generated and FAULTD flag is set when TCC is halted in Debug mode.

Bit 0 – DBGRUN Debug Running State

This bit is not affected by a software Reset and must not be changed by software while the TCC is enabled.

ValueDescription
0The TCC is halted when the device is halted in Debug mode.
1The TCC continues normal operation when the device is halted in Debug mode.