| |||
| Home > Programmers Model > Register descriptions > Lock Status Register | |||
The LSR Register characteristics are:
Indicates the status of the lock control mechanism. This lock prevents accidental writes by code under debug. When locked, write access is blocked to all registers except the Lock Access Register.
External accesses from a debugger, PADDRDBG31 = 1, are not subject to the Lock registers. This register reads as 0 when read from an external debugger, PADDRDBG31 = 1.
Present in all configurations.
Figure 3.35 shows the LSR Register bit assignments.
Table 3.36 shows the LSR Register bit assignments.
Table 3.36. LSR Register bit assignments
| Bits | Name | Function |
|---|---|---|
| [31:3] | Reserved | Reserved. |
| [2] | LOCKTYPE | Indicates whether the Lock Access Register
(
|
| [1] | LOCKGRANT | Returns the current status of the lock. This bit reads as zero when read from an external debugger, PADDRDBG31 = 1, because external debugger accesses are not subject to Lock Registers.
|
| [0] | LOCKEXIST | Indicates that a lock control mechanism exists for this device. This bit reads as 0 when read from an external debugger, PADDRDBG31 = 1, because external debugger accesses are not subject to lock registers.
|