Code Security Module (CSM)
CSM Registers
CSM Registers
Address Name Reset Value
Address Name Reset Value
Description
Description
0x00 0AE0 KEY0 0xFFFF
0x00 0AE0 KEY0 0xFFFF
Low word of 128
Low word of 128
-
-
bit Key register
bit Key register
0x00 0AE1 KEY1 0xFFFF
0x00 0AE1 KEY1 0xFFFF
2
2
nd
nd
word of 128
word of 128
-
-
bit Key register
bit Key register
0x00 0AE2 KEY2 0xFFFF
0x00 0AE2 KEY2 0xFFFF
3
3
rd
rd
word of 128
word of 128
-
-
bit Key register
bit Key register
0x00 0AE3 KEY3 0xFFFF
0x00 0AE3 KEY3 0xFFFF
4
4
th
th
word of 128
word of 128
-
-
bit Key register
bit Key register
0x00 0AE4 KEY4 0xFFFF
0x00 0AE4 KEY4 0xFFFF
5
5
th
th
word of 128
word of 128
-
-
bit Key register
bit Key register
0x00 0AE5 KEY5 0xFFFF
0x00 0AE5 KEY5 0xFFFF
6
6
th
th
word of 128
word of 128
-
-
bit Key register
bit Key register
0x00 0AE6 KEY6 0xFFFF
0x00 0AE6 KEY6 0xFFFF
7
7
th
th
word of 128
word of 128
-
-
bit Key register
bit Key register
0x00 0AE7 KEY7 0xFFFF
0x00 0AE7 KEY7 0xFFFF
High word of 128
High word of 128
-
-
bit Key register
bit Key register
0x00 0AEF CSMSCR 0xFFFF
0x00 0AEF CSMSCR 0xFFFF
CSM status and control register
CSM status and control register
Key Registers
Key Registers
–
–
accessible by user; EALLOW protected
accessible by user; EALLOW protected
Address Name Reset Value
Address Name Reset Value
Description
Description
0x3F 7FF8 PWL0 user defined
0x3F 7FF8 PWL0 user defined
Low word of 128
Low word of 128
-
-
bit password
bit password
0x3F 7FF9 PWL1 user defined
0x3F 7FF9 PWL1 user defined
2
2
nd
nd
word of 128
word of 128
-
-
bit password
bit password
0x3F 7FFA PWL2 user defined
0x3F 7FFA PWL2 user defined
3
3
rd
rd
word of 128
word of 128
-
-
bit password
bit password
0x3F 7FFB PWL3 user defined
0x3F 7FFB PWL3 user defined
4
4
th
th
word of 128
word of 128
-
-
bit password
bit password
0x3F 7FFC PWL4 user defined
0x3F 7FFC PWL4 user defined
5
5
th
th
word of 128
word of 128
-
-
bit password
bit password
0x3F 7FFD PWL5 user defined
0x3F 7FFD PWL5 user defined
6
6
th
th
word of 128
word of 128
-
-
bit password
bit password
0x3F 7FFE PWL6 user defined
0x3F 7FFE PWL6 user defined
7
7
th
th
word of 128
word of 128
-
-
bit password
bit password
0x3F 7FFF PWL7 user defined
0x3F 7FFF PWL7 user defined
High word of 128
High word of 128
-
-
bit password
bit password
PWL in memory
PWL in memory
–
–
reserved for passwords only
reserved for passwords only
Locking and Unlocking the CSM
Locking and Unlocking the CSM
The CSM is locked at power
The CSM is locked at power
-
-
up and reset
up and reset
To unlock the CSM:
To unlock the CSM:
Perform a dummy read of each password in
Perform a dummy read of each password in
the Flash
the Flash
Write the correct passwords to the key
Write the correct passwords to the key
registers
registers
New Flash Devices (PWL are all 0xFFFF):
New Flash Devices (PWL are all 0xFFFF):
When all passwords are 0xFFFF
When all passwords are 0xFFFF
–
–
only a
only a
read of the PWL is required to bring the
read of the PWL is required to bring the
device into unlocked mode
device into unlocked mode
10 - 16 C28x - System Design