SPRUI33H November 2015 – June 2024 TMS320F280040-Q1 , TMS320F280040C-Q1 , TMS320F280041 , TMS320F280041-Q1 , TMS320F280041C , TMS320F280041C-Q1 , TMS320F280045 , TMS320F280048-Q1 , TMS320F280048C-Q1 , TMS320F280049 , TMS320F280049-Q1 , TMS320F280049C , TMS320F280049C-Q1
Table 3-246 lists the memory-mapped registers for the DCSM_COMMON_REGS registers. All register offset addresses not listed in Table 3-246 should be considered as reserved locations and the register contents should not be modified.
Offset | Acronym | Register Name | Write Protection | Section |
---|---|---|---|---|
0h | FLSEM | Flash Wrapper Semaphore Register | EALLOW | Go |
2h | B0_SECTSTAT | Flash BANK0 Sectors Status Register | Go | |
4h | RAMSTAT | RAM Status Register | Go | |
8h | B1_SECTSTAT | Flash BANK1 Sectors Status Register | Go | |
Ah | SECERRSTAT | Security Error Status Register | Go | |
Ch | SECERRCLR | Security Error Clear Register | Go | |
Eh | SECERRFRC | Security Error Force Register | Go |
Complex bit access types are encoded to fit into small table cells. Table 3-247 shows the codes that are used for access types in this section.
Access Type | Code | Description |
---|---|---|
Read Type | ||
R | R | Read |
R-0 | R -0 | Read Returns 0s |
Write Type | ||
W | W | Write |
W1S | W 1S | Write 1 to set |
Reset or Default Value | ||
-n | Value after reset or the default value | |
Register Array Variables | ||
i,j,k,l,m,n | When these variables are used in a register name, an offset, or an address, they refer to the value of a register array where the register is part of a group of repeating registers. The register groups form a hierarchical structure and the array is represented with a formula. | |
y | When this variable is used in a register name, an offset, or an address it refers to the value of a register array. |
FLSEM is shown in Figure 3-224 and described in Table 3-248.
Return to the Summary Table.
Flash Wrapper Semaphore Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||||||||||
R-0h | |||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
KEY | RESERVED | SEM | |||||||||||||
R-0/W-0h | R-0h | R/W-0h | |||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-8 | KEY | R-0/W | 0h | Writing a value 0xA5 into this field will allow the writing of the SEM bits, else writes are ignored. Reads will return 0. Reset type: SYSRSn |
7-2 | RESERVED | R | 0h | Reserved |
1-0 | SEM | R/W | 0h | 00 : C28X Flash Wrapper registers can be written by code running from non-secure zone. 01 : Flash Wrapper registers can be written by code running from Zone1 security zone only. User must set this value to perform flash operation on flash sectors of Zone1. 10 : C28X Flash Wrapper registers can be written by code running from Zone2 security zone only. User must set this value to perform flash operation on flash sectors of Zone2. 11 : C28X Flash Wrapper registers can be written by code running from non-secure zone. Allowed State Transitions in this field. 00 to 11 : Code running from anywhere. 11 to 00 : Not allowed. 00/11 to 01 : Code running from Zone1 only can perform this transition. 01 to 00/11 : Code running from Zone1 only can perform this transition. 00/11 to 10 : Code running from Zone2 only can perform this transition. 10 to 00/11 : Code running from Zone2 can perform this transition Reset type: SYSRSn |
B0_SECTSTAT is shown in Figure 3-225 and described in Table 3-249.
Return to the Summary Table.
Flash BANK0 Sectors Status Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
STATUS_SECT15 | STATUS_SECT14 | STATUS_SECT13 | STATUS_SECT12 | ||||
R-0h | R-0h | R-0h | R-0h | ||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
STATUS_SECT11 | STATUS_SECT10 | STATUS_SECT9 | STATUS_SECT8 | ||||
R-0h | R-0h | R-0h | R-0h | ||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
STATUS_SECT7 | STATUS_SECT6 | STATUS_SECT5 | STATUS_SECT4 | ||||
R-0h | R-0h | R-0h | R-0h | ||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
STATUS_SECT3 | STATUS_SECT2 | STATUS_SECT1 | STATUS_SECT0 | ||||
R-0h | R-0h | R-0h | R-0h | ||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-30 | STATUS_SECT15 | R | 0h | Reflects the status of Flash BANK0 Sector 15. 00 : Sector is in-accessible 01 : Sector belongs to Zone1. 10 : Sector belongs to Zone2. 11: Sector is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
29-28 | STATUS_SECT14 | R | 0h | Reflects the status of Flash BANK0 Sector 14. 00 : Sector is in-accessible 01 : Sector belongs to Zone1. 10 : Sector belongs to Zone2. 11: Sector is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
27-26 | STATUS_SECT13 | R | 0h | Reflects the status of Flash BANK0 Sector 13. 00 : Sector is in-accessible 01 : Sector belongs to Zone1. 10 : Sector belongs to Zone2. 11: Sector is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
25-24 | STATUS_SECT12 | R | 0h | Reflects the status of Flash BANK0 Sector 12. 00 : Sector is in-accessible 01 : Sector belongs to Zone1. 10 : Sector belongs to Zone2. 11: Sector is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
23-22 | STATUS_SECT11 | R | 0h | Reflects the status of Flash BANK0 Sector 11. 00 : Sector is in-accessible 01 : Sector belongs to Zone1. 10 : Sector belongs to Zone2. 11: Sector is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
21-20 | STATUS_SECT10 | R | 0h | Reflects the status of Flash BANK0 Sector 10. 00 : Sector is in-accessible 01 : Sector belongs to Zone1. 10 : Sector belongs to Zone2. 11: Sector is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
19-18 | STATUS_SECT9 | R | 0h | Reflects the status of Flash BANK0 Sector 9. 00 : Sector is in-accessible 01 : Sector belongs to Zone1. 10 : Sector belongs to Zone2. 11: Sector is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
17-16 | STATUS_SECT8 | R | 0h | Reflects the status of Flash BANK0 sector 8. 00 : Sector is in-accessible 01 : Sector belongs to Zone1. 10 : Sector belongs to Zone2. 11: Sector is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
15-14 | STATUS_SECT7 | R | 0h | Reflects the status of Flash BANK0 Sector 7. 00 : Sector is in-accessible 01 : Sector belongs to Zone1. 10 : Sector belongs to Zone2. 11: Sector is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
13-12 | STATUS_SECT6 | R | 0h | Reflects the status of Flash BANK0 Sector 6. 00 : Sector is in-accessible 01 : Sector belongs to Zone1. 10 : Sector belongs to Zone2. 11: Sector is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
11-10 | STATUS_SECT5 | R | 0h | Reflects the status of Flash BANK0 Sector 5. 00 : Sector is in-accessible 01 : Sector belongs to Zone1. 10 : Sector belongs to Zone2. 11: Sector is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
9-8 | STATUS_SECT4 | R | 0h | Reflects the status of Flash BANK0 Sector 4. 00 : Sector is in-accessible 01 : Sector belongs to Zone1. 10 : Sector belongs to Zone2. 11: Sector is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
7-6 | STATUS_SECT3 | R | 0h | Reflects the status of Flash BANK0 Sector 3. 00 : Sector is in-accessible 01 : Sector belongs to Zone1. 10 : Sector belongs to Zone2. 11: Sector is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
5-4 | STATUS_SECT2 | R | 0h | Reflects the status of Flash BANK0 Sector 2. 00 : Sector is in-accessible 01 : Sector belongs to Zone1. 10 : Sector belongs to Zone2. 11: Sector is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
3-2 | STATUS_SECT1 | R | 0h | Reflects the status of Flash BANK0 sector 1. 00 : Sector is in-accessible 01 : Sector belongs to Zone1. 10 : Sector belongs to Zone2. 11: Sector is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
1-0 | STATUS_SECT0 | R | 0h | Reflects the status of Flash BANK0 Sector 0. 00 : Sector is in-accessible 01 : Sector belongs to Zone1. 10 : Sector belongs to Zone2. 11: Sector is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
RAMSTAT is shown in Figure 3-226 and described in Table 3-250.
Return to the Summary Table.
RAM Status Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
RESERVED | |||||||
R-0h | |||||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||
R-0h | |||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
STATUS_RAM7 | STATUS_RAM6 | STATUS_RAM5 | STATUS_RAM4 | ||||
R-0h | R-0h | R-0h | R-0h | ||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
STATUS_RAM3 | STATUS_RAM2 | STATUS_RAM1 | STATUS_RAM0 | ||||
R-0h | R-0h | R-0h | R-0h | ||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-16 | RESERVED | R | 0h | Reserved |
15-14 | STATUS_RAM7 | R | 0h | Reflects the status of LS7 RAM. 00 : RAM is in-accessible 01 : RAM belongs to Zone1. 10 : RAM belongs to Zone2. 11: RAM is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
13-12 | STATUS_RAM6 | R | 0h | Reflects the status of LS6 RAM. 00 : RAM is in-accessible 01 : RAM belongs to Zone1. 10 : RAM belongs to Zone2. 11: RAM is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
11-10 | STATUS_RAM5 | R | 0h | Reflects the status of LS5 RAM. 00 : RAM is in-accessible 01 : RAM belongs to Zone1. 10 : RAM belongs to Zone2. 11: RAM is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
9-8 | STATUS_RAM4 | R | 0h | Reflects the status of LS4 RAM. 00 : RAM is in-accessible 01 : RAM belongs to Zone1. 10 : RAM belongs to Zone2. 11: RAM is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
7-6 | STATUS_RAM3 | R | 0h | Reflects the status of LS3 RAM. 00 : RAM is in-accessible 01 : RAM belongs to Zone1. 10 : RAM belongs to Zone2. 11: RAM is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
5-4 | STATUS_RAM2 | R | 0h | Reflects the status of LS2 RAM. 00 : RAM is in-accessible 01 : RAM belongs to Zone1. 10 : RAM belongs to Zone2. 11: RAM is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
3-2 | STATUS_RAM1 | R | 0h | Reflects the status of LS1 RAM. 00 : RAM is in-accessible 01 : RAM belongs to Zone1. 10 : RAM belongs to Zone2. 11: RAM is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
1-0 | STATUS_RAM0 | R | 0h | Reflects the status of LS0 RAM. 00 : RAM is in-accessible 01 : RAM belongs to Zone1. 10 : RAM belongs to Zone2. 11: RAM is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
B1_SECTSTAT is shown in Figure 3-227 and described in Table 3-251.
Return to the Summary Table.
Flash BANK1 Sectors Status Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
STATUS_SECT15 | STATUS_SECT14 | STATUS_SECT13 | STATUS_SECT12 | ||||
R-0h | R-0h | R-0h | R-0h | ||||
23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
STATUS_SECT11 | STATUS_SECT10 | STATUS_SECT9 | STATUS_SECT8 | ||||
R-0h | R-0h | R-0h | R-0h | ||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
STATUS_SECT7 | STATUS_SECT6 | STATUS_SECT5 | STATUS_SECT4 | ||||
R-0h | R-0h | R-0h | R-0h | ||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
STATUS_SECT3 | STATUS_SECT2 | STATUS_SECT1 | STATUS_SECT0 | ||||
R-0h | R-0h | R-0h | R-0h | ||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-30 | STATUS_SECT15 | R | 0h | Reflects the status of Flash BANK1 Sector 15. 00 : Sector is in-accessible 01 : Sector belongs to Zone1. 10 : Sector belongs to Zone2. 11: Sector is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
29-28 | STATUS_SECT14 | R | 0h | Reflects the status of Flash BANK1 Sector 14. 00 : Sector is in-accessible 01 : Sector belongs to Zone1. 10 : Sector belongs to Zone2. 11: Sector is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
27-26 | STATUS_SECT13 | R | 0h | Reflects the status of Flash BANK1 Sector 13. 00 : Sector is in-accessible 01 : Sector belongs to Zone1. 10 : Sector belongs to Zone2. 11: Sector is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
25-24 | STATUS_SECT12 | R | 0h | Reflects the status of Flash BANK1 Sector 12. 00 : Sector is in-accessible 01 : Sector belongs to Zone1. 10 : Sector belongs to Zone2. 11: Sector is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
23-22 | STATUS_SECT11 | R | 0h | Reflects the status of Flash BANK1 Sector 11. 00 : Sector is in-accessible 01 : Sector belongs to Zone1. 10 : Sector belongs to Zone2. 11: Sector is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
21-20 | STATUS_SECT10 | R | 0h | Reflects the status of Flash BANK1 Sector 10. 00 : Sector is in-accessible 01 : Sector belongs to Zone1. 10 : Sector belongs to Zone2. 11: Sector is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
19-18 | STATUS_SECT9 | R | 0h | Reflects the status of Flash BANK1 Sector 9. 00 : Sector is in-accessible 01 : Sector belongs to Zone1. 10 : Sector belongs to Zone2. 11: Sector is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
17-16 | STATUS_SECT8 | R | 0h | Reflects the status of Flash BANK1 sector 8. 00 : Sector is in-accessible 01 : Sector belongs to Zone1. 10 : Sector belongs to Zone2. 11: Sector is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
15-14 | STATUS_SECT7 | R | 0h | Reflects the status of Flash BANK1 Sector 7. 00 : Sector is in-accessible 01 : Sector belongs to Zone1. 10 : Sector belongs to Zone2. 11: Sector is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
13-12 | STATUS_SECT6 | R | 0h | Reflects the status of Flash BANK1 Sector 6. 00 : Sector is in-accessible 01 : Sector belongs to Zone1. 10 : Sector belongs to Zone2. 11: Sector is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
11-10 | STATUS_SECT5 | R | 0h | Reflects the status of Flash BANK1 Sector 5. 00 : Sector is in-accessible 01 : Sector belongs to Zone1. 10 : Sector belongs to Zone2. 11: Sector is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
9-8 | STATUS_SECT4 | R | 0h | Reflects the status of Flash BANK1 Sector 4. 00 : Sector is in-accessible 01 : Sector belongs to Zone1. 10 : Sector belongs to Zone2. 11: Sector is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
7-6 | STATUS_SECT3 | R | 0h | Reflects the status of Flash BANK1 Sector 3. 00 : Sector is in-accessible 01 : Sector belongs to Zone1. 10 : Sector belongs to Zone2. 11: Sector is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
5-4 | STATUS_SECT2 | R | 0h | Reflects the status of Flash BANK1 Sector 2. 00 : Sector is in-accessible 01 : Sector belongs to Zone1. 10 : Sector belongs to Zone2. 11: Sector is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
3-2 | STATUS_SECT1 | R | 0h | Reflects the status of Flash BANK1 sector 1. 00 : Sector is in-accessible 01 : Sector belongs to Zone1. 10 : Sector belongs to Zone2. 11: Sector is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
1-0 | STATUS_SECT0 | R | 0h | Reflects the status of Flash BANK1 Sector 0. 00 : Sector is in-accessible 01 : Sector belongs to Zone1. 10 : Sector belongs to Zone2. 11: Sector is un-secure and code running in both zone have full access to it. Reset type: SYSRSn |
SECERRSTAT is shown in Figure 3-228 and described in Table 3-252.
Return to the Summary Table.
Security Error Status Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||||||||||
R-0-0h | |||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | ERR | ||||||||||||||
R-0-0h | R-0h | ||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-1 | RESERVED | R-0 | 0h | Reserved |
0 | ERR | R | 0h | This bit indicates if any error has occurred in the load of any security configuration from USER-OTP. 0: No error has occurred in the load of security information from USER-OTP 1: Error has occurred in the load of security information from USER-OTP Reset type: PORESETn |
SECERRCLR is shown in Figure 3-229 and described in Table 3-253.
Return to the Summary Table.
Security Error Clear Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||||||||||
R-0-0h | |||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | ERR | ||||||||||||||
R-0-0h | R-0/W1S-0h | ||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-1 | RESERVED | R-0 | 0h | Reserved |
0 | ERR | R-0/W1S | 0h | A write of '1' clears the SECERRSTST.ERR bit. Write of '0' is ignored. This bit always reads back '0'. Reset type: N/A |
SECERRFRC is shown in Figure 3-230 and described in Table 3-254.
Return to the Summary Table.
Security Error Force Register
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
RESERVED | |||||||||||||||
R-0-0h | |||||||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | ERR | ||||||||||||||
R-0-0h | R-0/W1S-0h | ||||||||||||||
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-1 | RESERVED | R-0 | 0h | Reserved |
0 | ERR | R-0/W1S | 0h | A write of '1' sets the SECERRSTST.ERR bit. Write of '0' is ignored. This bit always reads back '0'. Reset type: N/A |