TAMPC — Tamper controller

The tamper controller peripheral handles input from internal and external physical attack detectors and controls the device response.

The following figure shows an overview of the TAMPC detectors, input, and output.

Figure 1. TAMPC overview
TAMPC implements the following physical security features:The tamper detectors are divided into two categories: external and internal. The external detectors rely on external stimuli through dedicated GPIO pins, and the internal detectors rely on internal signals not exposed outside the device package.

Internal tamper detectors

A tamper attack detected by any of the internal tamper detectors indicates that the device's internal logic could be affected by the attack, and the system state could be compromised.

Glitch detector

The device implements general detectors to prevent fault injection attacks.

Detectors are strategically placed among the digital logic to detect local timing glitches (timing violations). The glitch detectors monitor the effects of attempted fault injection attacks and not the attack attempt itself. For example, fault injection attempts could be utilizing voltage glitches on supply or decoupling pins, or electro magnetic fault injection (EMFI) techniques. The detectors are designed and tuned to be more sensitive to timing violations than normal logic, enabling the digital logic to react before an injected fault is propagated through the system.

The glitch detectors are enabled from reset and can be disabled for debugging using the registers PROTECT.GLITCHSLOWDOMAIN.CTRL and PROTECT.GLITCHFASTDOMAIN.CTRL.

When an internal tamper event is detected, one of the following will occur:
  • A TAMPC EVENT is generated.
  • A chip reset is triggered and the SECTAMPER value in the reset reason register indicates what happened, depending on the status of the register PROTECT.INTRESETEN.CTRL.
The internal tamper reset enable signal INTRESETEN is enabled from reset.

Signal protector

The device implements detectors to protect selected signals that control critical device features.

The signal protector implements one detector per protected signal to detect unintentional value changes in that signal. The detector notifies TAMPC if a protected signal changes value caused by tampering. The detectors are enabled from reset and can be disabled using the register , which is for debugging purposes only. A detected unintentional value change in any of the protected signals leads to an internal tamper event where one of the following occur:
  • A TAMPC event is generated.
  • A chip reset is triggered and the SECTAMPER value in the reset reason register indicates what happened, depending on the status of the register PROTECT.INTRESETEN.CTRL.

The INTRESETEN register is enabled from reset. The PROTECT.<component>.STATUS registers indicate which protected signal had an unintentional value change when the register INTENRESETEN is disabled.

The signal protector implements a two stage write cycle to change the value of a protected signal, in addition to a required write key which must be included for all register writes. The two stages are the following:
  1. Initial register write to clear the write protection.
  2. Register write to change the signal's value.

Write Clear to the WRITEPROTECTION field in the PROTECT.<component>.CTRL register to clear the write protection in the first register write. Then write to the VALUE and LOCK fields in the next register write operation.

Note: It is required to clear the WRITEPROTECTION field before any updates to the VALUE and LOCK fields are accepted by the register.

The write protection is automatically re-enabled after the subsequent write to change the VALUE field when the register write does not include the Clear value in the WRITEPROTECTION field.

The LOCK field controls a lock feature which prevents further updates to the VALUE and LOCK fields until a reset with the required reset source for the specific signal is issued.

A WRITEERROR event is generated for any of the following conditions:
  • Register write does not have the correct write key
  • Write protection is active and the write operation does not contain the value to clear the write protection
  • The lock is enabled
The sequence to change the VALUE or LOCK fields in the PROTECT.<component>.CTRL registers is as follows:
  1. Write Clear to the WRITEPROTECTION field and KEY to the KEY field.
  2. Write Disabled to the WRITEPROTECTION field, KEY to the KEY field, and KEY to the desired LOCK and VALUE fields.

Debugger signals

TAMPC provides protection for the following Arm® CoreSight™ debugger signals.

Table 1. TAMPC protected debugger signals
SignalNameNotes
NIDENNon-Invasive Debug EnableETM/ITM trace and other non-halting debug methods
DBGENInvasive Debug EnableThe debugger may halt the CPU for debug purposes
See the appropriateArm CoreSight Technical Reference manual for details on these signals.

For more information about using the protected debugger signals, see Debug.

TAMPC reset behavior

TAMPC registers are reset by different sources.

Protected signals in TAMPC are divided into the following reset source categories.
  • Category 1 – Brownout reset, power-on reset
  • Category 2 – Pin reset and TAMPC reset
  • Category 3 – Watchdog timer reset, CPU lockup reset, System reset request, and Wake-up from System OFF reset
For more information about reset sources, see RESET — Reset control.
Table 2. TAMPC protected signals
Reset source
RegisterFunctionReset valueCat 1Cat 2Cat 3
PROTECT.DOMAIN[0].DBGENAllow invasive debugging.0xx
PROTECT.DOMAIN[0].NIDENAllow non-invasive debugging.0xx
PROTECT.GLITCHSLOWDOMAINEnable slow domain glitch detector.1xxx
PROTECT.GLITCHFASTDOMAINEnable fast domain glitch detector.1xxx
PROTECT.EXTRESETENEnable automatic reset from external tamper detectors events.0xxx
PROTECT.INTRESETENEnable automatic reset from internal tamper detector events.1xxx
PROTECT.ERASEPROTECTAllow device erase using CTRL-AP and RRAMC.0xxx

Registers

Instances

InstanceDomainBase addressDescription
TAMPCGLOBAL0x400EF000

Tamper controller TAMPC

Configuration

InstanceDomainConfiguration
TAMPCGLOBAL

Device can use SWD pins as GPIO pins.

Reset value of field VALUE in register PROTECT.INTRESETEN.CTRL: 1

Register overview

RegisterOffsetDescription
EVENTS_TAMPER0x100

Tamper controller detected an error.

EVENTS_WRITEERROR0x104

Attempt to write a VALUE in PROTECT registers without clearing the WRITEPROTECT.

INTEN0x300

Enable or disable interrupt

INTENSET0x304

Enable interrupt

INTENCLR0x308

Disable interrupt

INTPEND0x30C

Pending interrupts

STATUS0x400

The tamper controller status.

PROTECT.DOMAIN[n].DBGEN.CTRL0x500

Control register for invasive (halting) debug enable for the local debug components within domain n.

PROTECT.DOMAIN[n].DBGEN.STATUS0x504

Status register for invasive (halting) debug enable for domain n.

PROTECT.DOMAIN[n].NIDEN.CTRL0x508

Control register for non-invasive debug enable for the local debug components within domain n.

PROTECT.DOMAIN[n].NIDEN.STATUS0x50C

Status register for non-invasive debug enable for domain n.

PROTECT.AP[n].DBGEN.CTRL0x700

Control register to enable invasive (halting) debug in domain ns access port.

PROTECT.AP[n].DBGEN.STATUS0x704

Status register for invasive (halting) debug enable for domain ns access port.

PROTECT.GPIOSWD.CTRL0x878

Control register for activating GPIO functionality.

PROTECT.GPIOSWD.STATUS0x87C

Status register for active shield detector enable signal.

PROTECT.GLITCHSLOWDOMAIN.CTRL0x940

Control register for slow domain glitch detectors enable signal.

PROTECT.GLITCHSLOWDOMAIN.STATUS0x944

Status register for slow domain glitch detectors enable signal.

PROTECT.GLITCHFASTDOMAIN.CTRL0x948

Control register for fast domain glitch detectors enable signal.

PROTECT.GLITCHFASTDOMAIN.STATUS0x94C

Status register for fast domain glitch detectors enable signal.

PROTECT.INTRESETEN.CTRL0x978

Control register for internal tamper reset enable signal.

PROTECT.INTRESETEN.STATUS0x97C

Status register for internal tamper reset enable signal.

PROTECT.ERASEPROTECT.CTRL0x980

Control register for erase protection.

PROTECT.ERASEPROTECT.STATUS0x984

Status register for eraseprotect.

EVENTS_TAMPER

Address offset: 0x100

Tamper controller detected an error.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

EVENTS_TAMPER

Tamper controller detected an error.

NotGenerated

0

Event not generated

Generated

1

Event generated

EVENTS_WRITEERROR

Address offset: 0x104

Attempt to write a VALUE in PROTECT registers without clearing the WRITEPROTECT.

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

EVENTS_WRITEERROR

Attempt to write a VALUE in PROTECT registers without clearing the WRITEPROTECT.

NotGenerated

0

Event not generated

Generated

1

Event generated

INTEN

Address offset: 0x300

Enable or disable interrupt

Bit number313029282726252423222120191817161514131211109876543210
IDBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

TAMPER

Enable or disable interrupt for event TAMPER

Disabled

0

Disable

Enabled

1

Enable

B

RW

WRITEERROR

Enable or disable interrupt for event WRITEERROR

Disabled

0

Disable

Enabled

1

Enable

INTENSET

Address offset: 0x304

Enable interrupt

Bit number313029282726252423222120191817161514131211109876543210
IDBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW
W1S

TAMPER

Write '1' to enable interrupt for event TAMPER

Set

1

Enable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

B

RW
W1S

WRITEERROR

Write '1' to enable interrupt for event WRITEERROR

Set

1

Enable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

INTENCLR

Address offset: 0x308

Disable interrupt

Bit number313029282726252423222120191817161514131211109876543210
IDBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW
W1C

TAMPER

Write '1' to disable interrupt for event TAMPER

Clear

1

Disable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

B

RW
W1C

WRITEERROR

Write '1' to disable interrupt for event WRITEERROR

Clear

1

Disable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

INTPEND

Address offset: 0x30C

Pending interrupts

Bit number313029282726252423222120191817161514131211109876543210
IDBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

R

TAMPER

Read pending status of interrupt for event TAMPER

NotPending

0

Read: Not pending

Pending

1

Read: Pending

B

R

WRITEERROR

Read pending status of interrupt for event WRITEERROR

NotPending

0

Read: Not pending

Pending

1

Read: Pending

STATUS

Address offset: 0x400

The tamper controller status.

Note: Unless cleared, the STATUS register will be cumulative. A field is cleared by writing '1' to it.
Note: The glitch detectors must be reset using their CTRL registers before the STATUS register bits for glitch detectors can be cleared. The glitch detector continuously drives its output status signal to the STATUS register, hence clearing only the STATUS register is not sufficient.
Bit number313029282726252423222120191817161514131211109876543210
IDFEDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW
W1C

PROTECT

Error detected for the protected signals.

NotDetected

0

Not detected.

Detected

1

Detected.

B

RW
W1C

GLITCHSLOWDOMAIN[i] (i=0..0)

Slow domain glitch detector i detected an error.

NotDetected

0

Not detected.

Detected

1

Detected.

C-F

RW
W1C

GLITCHFASTDOMAIN[i] (i=0..3)

Fast domain glitch detector i detected an error.

NotDetected

0

Not detected.

Detected

1

Detected.

PROTECT.DOMAIN[n].DBGEN.CTRL

Address offset: 0x500 + (n × 0x20)

Control register for invasive (halting) debug enable for the local debug components within domain n.

Bit number313029282726252423222120191817161514131211109876543210
IDDDDDDDDDDDDDDDDDCCCCBA
Reset 0x0000001000000000000000000000000000010000
IDR/WFieldValue IDValueDescription
A

RW

VALUE

Set value of dbgen signal.

Low

0

Signal is logic 0, indicating that invasive debug is disabled.

High

1

Signal is logic 1, indicating that invasive debug is enabled.

B

W1
W1S

LOCK

Lock this register to prevent changes to the VALUE field until next reset.

Disabled

0

Lock disabled.

Enabled

1

Lock enabled.

C

RW

WRITEPROTECTION

The write protection must be cleared to allow updates to the VALUE field.

The write protection is cleared by writing CLEAR in a separate write operation prior to updating the VALUE and LOCK fields.

The write protection is automatically enabled after the corresponding change to the VALUE field.

Disabled

0x0

Read: Write protection is disabled.

Enabled

0x1

Read: Write protection is enabled.

Clear

0xF

Write: Value to clear write protection.

D

W

KEY

Required write key for upper 16 bits. Must be included in all register write operations.

KEY

0x50FA

Write key value.

PROTECT.DOMAIN[n].DBGEN.STATUS

Address offset: 0x504 + (n × 0x20)

Status register for invasive (halting) debug enable for domain n.

Note: Unless cleared, the STATUS register will be cumulative. A field is cleared by writing '1' to it.
Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW
W1C

ERROR

Error detection status.

NoError

0

No error detected.

Error

1

Error detected.

PROTECT.DOMAIN[n].NIDEN.CTRL

Address offset: 0x508 + (n × 0x20)

Control register for non-invasive debug enable for the local debug components within domain n.

Bit number313029282726252423222120191817161514131211109876543210
IDDDDDDDDDDDDDDDDDCCCCBA
Reset 0x0000001000000000000000000000000000010000
IDR/WFieldValue IDValueDescription
A

RW

VALUE

Set value of niden signal.

Low

0

Signal is logic 0, indicating that non-invasive debug is disabled.

High

1

Signal is logic 1, indicating that non-invasive debug is enabled.

B

W1
W1S

LOCK

Lock this register to prevent changes to the VALUE field until next reset.

Disabled

0

Lock disabled.

Enabled

1

Lock enabled.

C

RW

WRITEPROTECTION

The write protection must be cleared to allow updates to the VALUE field.

The write protection is cleared by writing CLEAR in a separate write operation prior to updating the VALUE and LOCK fields.

The write protection is automatically enabled after the corresponding change to the VALUE field.

Disabled

0x0

Read: Write protection is disabled.

Enabled

0x1

Read: Write protection is enabled.

Clear

0xF

Write: Value to clear write protection.

D

W

KEY

Required write key for upper 16 bits. Must be included in all register write operations.

KEY

0x50FA

Write key value.

PROTECT.DOMAIN[n].NIDEN.STATUS

Address offset: 0x50C + (n × 0x20)

Status register for non-invasive debug enable for domain n.

Note: Unless cleared, the STATUS register will be cumulative. A field is cleared by writing '1' to it.
Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW
W1C

ERROR

Error detection status.

NoError

0

No error detected.

Error

1

Error detected.

PROTECT.AP[n].DBGEN.CTRL

Address offset: 0x700 + (n × 0x10)

Control register to enable invasive (halting) debug in domain ns access port.

Bit number313029282726252423222120191817161514131211109876543210
IDDDDDDDDDDDDDDDDDCCCCBA
Reset 0x0000001000000000000000000000000000010000
IDR/WFieldValue IDValueDescription
A

RW

VALUE

Set value of dbgen signal.

Low

0

Signal is logic 0, indicating that invasive debug is disabled.

High

1

Signal is logic 1, indicating that invasive debug is enabled.

B

W1
W1S

LOCK

Lock this register to prevent changes to the VALUE field until next reset.

Disabled

0

Lock disabled.

Enabled

1

Lock enabled.

C

RW

WRITEPROTECTION

The write protection must be cleared to allow updates to the VALUE field.

The write protection is cleared by writing CLEAR in a separate write operation prior to updating the VALUE and LOCK fields.

The write protection is automatically enabled after the corresponding change to the VALUE field.

Disabled

0x0

Read: Write protection is disabled.

Enabled

0x1

Read: Write protection is enabled.

Clear

0xF

Write: Value to clear write protection.

D

W

KEY

Required write key for upper 16 bits. Must be included in all register write operations.

KEY

0x50FA

Write key value.

PROTECT.AP[n].DBGEN.STATUS

Address offset: 0x704 + (n × 0x10)

Status register for invasive (halting) debug enable for domain ns access port.

Note: Unless cleared, the STATUS register will be cumulative. A field is cleared by writing '1' to it.
Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW
W1C

ERROR

Error detection status.

NoError

0

No error detected.

Error

1

Error detected.

PROTECT.GPIOSWD

Enable GPIO functionality on SWD pins.

The SWD pins can be used as GPIO pins.

PROTECT.GPIOSWD.CTRL

Address offset: 0x878

Control register for activating GPIO functionality.

Bit number313029282726252423222120191817161514131211109876543210
IDDDDDDDDDDDDDDDDDCCCCBA
Reset 0x0000001000000000000000000000000000010000
IDR/WFieldValue IDValueDescription
A

RW

VALUE

Activate GPIO functionality.

Low

0

SWD pins have SWD functionality.

High

1

SWD pins are re-purposed as GPIO pins.

B

W1
W1S

LOCK

Lock this register to prevent changes to the VALUE field until next reset.

Disabled

0

Lock disabled.

Enabled

1

Lock enabled.

C

RW

WRITEPROTECTION

The write protection must be cleared to allow updates to the VALUE field.

The write protection is cleared by writing CLEAR in a separate write operation prior to updating the VALUE and LOCK fields.

The write protection is automatically enabled after the corresponding change to the VALUE field.

Disabled

0x0

Read: Write protection is disabled.

Enabled

0x1

Read: Write protection is enabled.

Clear

0xF

Write: Value to clear write protection.

D

W

KEY

Required write key for upper 16 bits. Must be included in all register write operations.

KEY

0x50FA

Write key value.

PROTECT.GPIOSWD.STATUS

Address offset: 0x87C

Status register for active shield detector enable signal.

Note: Unless cleared, the STATUS register will be cumulative. A field is cleared by writing '1' to it.
Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW
W1C

ERROR

Error detection status.

NoError

0

No error detected.

Error

1

Error detected.

PROTECT.GLITCHSLOWDOMAIN

Enable slow domain glitch detectors.

PROTECT.GLITCHSLOWDOMAIN.CTRL

Address offset: 0x940

Control register for slow domain glitch detectors enable signal.

Bit number313029282726252423222120191817161514131211109876543210
IDDDDDDDDDDDDDDDDDCCCCBA
Reset 0x0000001100000000000000000000000000010001
IDR/WFieldValue IDValueDescription
A

RW

VALUE

Set value of slow domain glitch detectors enable signal.

Low

0

Signal is logic 0.

High

1

Signal is logic 1.

B

W1
W1S

LOCK

Lock this register to prevent changes to the VALUE field until next reset.

Disabled

0

Lock disabled.

Enabled

1

Lock enabled.

C

RW

WRITEPROTECTION

The write protection must be cleared to allow updates to the VALUE field.

The write protection is cleared by writing CLEAR in a separate write operation prior to updating the VALUE and LOCK fields.

The write protection is automatically enabled after the corresponding change to the VALUE field.

Disabled

0x0

Read: Write protection is disabled.

Enabled

0x1

Read: Write protection is enabled.

Clear

0xF

Write: Value to clear write protection.

D

W

KEY

Required write key for upper 16 bits. Must be included in all register write operations.

KEY

0x50FA

Write key value.

PROTECT.GLITCHSLOWDOMAIN.STATUS

Address offset: 0x944

Status register for slow domain glitch detectors enable signal.

Note: Unless cleared, the STATUS register will be cumulative. A field is cleared by writing '1' to it.
Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW
W1C

ERROR

Error detection status.

NoError

0

No error detected.

Error

1

Error detected.

PROTECT.GLITCHFASTDOMAIN

Enable fast domain glitch detectors.

PROTECT.GLITCHFASTDOMAIN.CTRL

Address offset: 0x948

Control register for fast domain glitch detectors enable signal.

Bit number313029282726252423222120191817161514131211109876543210
IDDDDDDDDDDDDDDDDDCCCCBA
Reset 0x0000001100000000000000000000000000010001
IDR/WFieldValue IDValueDescription
A

RW

VALUE

Set value of fast domain glitch detector's enable signal.

Low

0

Signal is logic 0.

High

1

Signal is logic 1.

B

W1
W1S

LOCK

Lock this register to prevent changes to the VALUE field until next reset.

Disabled

0

Lock disabled.

Enabled

1

Lock enabled.

C

RW

WRITEPROTECTION

The write protection must be cleared to allow updates to the VALUE field.

The write protection is cleared by writing CLEAR in a separate write operation prior to updating the VALUE and LOCK fields.

The write protection is automatically enabled after the corresponding change to the VALUE field.

Disabled

0x0

Read: Write protection is disabled.

Enabled

0x1

Read: Write protection is enabled.

Clear

0xF

Write: Value to clear write protection.

D

W

KEY

Required write key for upper 16 bits. Must be included in all register write operations.

KEY

0x50FA

Write key value.

PROTECT.GLITCHFASTDOMAIN.STATUS

Address offset: 0x94C

Status register for fast domain glitch detectors enable signal.

Note: Unless cleared, the STATUS register will be cumulative. A field is cleared by writing '1' to it.
Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW
W1C

ERROR

Error detection status.

NoError

0

No error detected.

Error

1

Error detected.

PROTECT.INTRESETEN

Trigger a reset when tamper is detected by the glitch detectors, signal protector or CRACEN tamper detector.

This reset gives reset reason SECTAMPER

PROTECT.INTRESETEN.CTRL

Address offset: 0x978

Control register for internal tamper reset enable signal.

Bit number313029282726252423222120191817161514131211109876543210
IDDDDDDDDDDDDDDDDDCCCCBA
Reset 0x0000001100000000000000000000000000010001
IDR/WFieldValue IDValueDescription
A

RW

VALUE

Set value of internal tamper reset enable signal.

Low

0

Signal is logic 0.

High

1

Signal is logic 1.

B

W1
W1S

LOCK

Lock this register to prevent changes to the VALUE field until next reset.

Disabled

0

Lock disabled.

Enabled

1

Lock enabled.

C

RW

WRITEPROTECTION

The write protection must be cleared to allow updates to the VALUE field.

The write protection is cleared by writing CLEAR in a separate write operation prior to updating the VALUE and LOCK fields.

The write protection is automatically enabled after the corresponding change to the VALUE field.

Disabled

0x0

Read: Write protection is disabled.

Enabled

0x1

Read: Write protection is enabled.

Clear

0xF

Write: Value to clear write protection.

D

W

KEY

Required write key for upper 16 bits. Must be included in all register write operations.

KEY

0x50FA

Write key value.

PROTECT.INTRESETEN.STATUS

Address offset: 0x97C

Status register for internal tamper reset enable signal.

Note: Unless cleared, the STATUS register will be cumulative. A field is cleared by writing '1' to it.
Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW
W1C

ERROR

Error detection status.

NoError

0

No error detected.

Error

1

Error detected.

PROTECT.ERASEPROTECT

Device erase protection.

PROTECT.ERASEPROTECT.CTRL

Address offset: 0x980

Control register for erase protection.

Bit number313029282726252423222120191817161514131211109876543210
IDDDDDDDDDDDDDDDDDCCCCBA
Reset 0x0000001000000000000000000000000000010000
IDR/WFieldValue IDValueDescription
A

RW

VALUE

Set value of eraseprotect signal.

Low

0

Signal is logic 0.

High

1

Signal is logic 1.

B

W1
W1S

LOCK

Lock this register to prevent changes to the VALUE field until next reset.

Disabled

0

Lock disabled.

Enabled

1

Lock enabled.

C

RW

WRITEPROTECTION

The write protection must be cleared to allow updates to the VALUE field.

The write protection is cleared by writing CLEAR in a separate write operation prior to updating the VALUE and LOCK fields.

The write protection is automatically enabled after the corresponding change to the VALUE field.

Disabled

0x0

Read: Write protection is disabled.

Enabled

0x1

Read: Write protection is enabled.

Clear

0xF

Write: Value to clear write protection.

D

W

KEY

Required write key for upper 16 bits. Must be included in all register write operations.

KEY

0x50FA

Write key value.

PROTECT.ERASEPROTECT.STATUS

Address offset: 0x984

Status register for eraseprotect.

Note: Unless cleared, the STATUS register will be cumulative. A field is cleared by writing '1' to it.
Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW
W1C

ERROR

Error detection status.

NoError

0

No error detected.

Error

1

Error detected.