Code Security Module (CSM)
C2000 Microcontroller Workshop - System Design 12 - 11
Code Security Module (CSM)
Code Security Module (CSM)
Data reads and writes from restricted memory are only
allowed for code running from restricted memory
All other data read/write accesses are blocked:
JTAG emulator/debugger, ROM bootloader, code running in
external memory or unrestricted internal memory
Access to the following on-chip memory is restricted:
Flash Registers
0x000A80
L0 DPSARAM (2Kw)
L1 DPSARAM (1Kw)
L2 DPSARAM (1Kw)
L3 DPSARAM (4Kw)
User OTP (1Kw)
ADC / OSC cal. data
reserved
reserved
FLASH (128Kw)
PASSWORDS (8w)
reserved
0x008000
0x008800
0x008C00
0x00A000
0x009000
0x3D7800
0x3D7C00
0x3D7C80
0x3D7CC0
0x3D8000
0x3F7FF8
0x3F8000
L4 DPSARAM (8Kw)
0x00C000
CSM Password
128-bit user defined password is stored in Flash
128-bit KEY registers are used to lock and unlock
the device
Mapped in memory space 0x00 0AE0 – 0x00 0AE7
Registers “EALLOW” protected
0x3F7FF8 - 0x3F7FFF
CSM Password
Locations (PWL)
FLASH (128Kw)
0x3D8000
128-Bit Password
0x3F7FF8