Dual Code Security Module (DCSM)
10 - 12 TMS320F2837xD Microcontroller Workshop - System Design
Dual Code Security Module (DCSM)
Dual Code Security Module (DCSM)
DCSM offers protection for two zones – zone 1 & zone 2
(Note: For dual-core devices each CPU has a DCSM)
Each zone has its own dedicated secure OTP
Contains security configurations for each zone
The following on-chip memory can be secured:
Flash – each sector individually
LS0-5 RAM – each block individually
D0-1 RAM – each block individually
CLA – Includes CLA message RAMs
Data reads and writes from secured memory are only
allowed for code running from secured memory
All other data read/write accesses are blocked:
JTAG emulator/debugger, ROM bootloader, code running in
external memory or unsecured internal memory
Zone Selection
Each securable on-chip memory resource can
be allocated to either zone 1 (Z1), zone 2 (Z2),
or as non-secure
DcsmZ1Regs.Z1_GRABSECTR register:
Allocates individual Flash sectors to zone 1 or non-secure
DcsmZ2Regs.Z2_GRABSECTR register:
Allocates individual Flash sectors to zone 2 or non-secure
DcsmZ1Regs.Z1_GRABRAMR register:
Allocates LS0-5, D0-1, and CLA1 to zone 1 or non-secure
DcsmZ2Regs.Z2_GRABRAMR register:
Allocates LS0-5, D0-1, and CLA1 to zone 2 or non-secure
Technical Reference Manual contains a table to resolve mapping conflicts