SPRUII0F May 2019 – June 2024 TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S
Table 41-31 lists the memory-mapped registers for the CM_MEMORYDIAGERROR_REGS registers. All register offset addresses not listed in Table 41-31 should be considered as reserved locations and the register contents should not be modified.
| Offset | Acronym | Register Name | Write Protection | Section |
|---|---|---|---|---|
| 0h | DIAGERRFLG | Error Flag Register | Go | |
| 8h | DIAGERRCLR | Error Flag Clear Register | Go | |
| Ch | DIAGERRADDR | Read Error Address | Go |
Complex bit access types are encoded to fit into small table cells. Table 41-32 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 | ||
| 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. | |
DIAGERRFLG is shown in Figure 41-34 and described in Table 41-33.
Return to the Summary Table.
Error Flag 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 |
| RESERVED | |||||||
| R-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | CWRERROR | CRDERROR | UCWRERROR | UCRDERROR | |||
| R-0h | R-0h | R-0h | R-0h | R-0h | |||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-16 | RESERVED | R | 0h | Reserved |
| 15-4 | RESERVED | R | 0h | Reserved |
| 3 | CWRERROR | R | 0h | Correctable Write Error Flag for diagnostics 0: No Error. 1:Correctable error occurred on write to memory under test Notes: 1. Only M4 access to System RAM or ROM under test will set this bit 2. Any access to EtherCAT and Ethernet IP memory under test will set this bit. Reset type: CM.RESETn |
| 2 | CRDERROR | R | 0h | Correctable Read Error Flag for diagnostics 0: No Error. 1: Correctable error occurred on read to memory under test Notes: 1. Only M4 access to System RAM or ROM under test will set this bit 2. Any access to EtherCAT and Ethernet IP memory under test will set this bit. Reset type: CM.RESETn |
| 1 | UCWRERROR | R | 0h | Uncorrectable Write Error Flag for diagnostics 0: No Error. 1: Uncorrectable error occurred on write to memory under test Notes: 1. Only M4 access to System RAM or ROM under test will set this bit 2. Any access to EtherCAT and Ethernet IP memory under test will set this bit. Reset type: CM.RESETn |
| 0 | UCRDERROR | R | 0h | Uncorrectable Read Error Flag for diagnostics 0: No Error. 1: Uncorrectable error occurred on read to memory under test Notes: 1. Only M4 access to System RAM or ROM under test will set this bit 2. Any access to EtherCAT and Ethernet IP memory under test will set this bit. Reset type: CM.RESETn |
DIAGERRCLR is shown in Figure 41-35 and described in Table 41-34.
Return to the Summary Table.
Error Flag Clear 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 |
| RESERVED | |||||||
| R-0h | |||||||
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | CWRERROR | CRDERROR | UCWRERROR | UCRDERROR | |||
| R-0h | R-0/W1S-0h | R-0/W1S-0h | R-0/W1S-0h | R-0/W1S-0h | |||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-16 | RESERVED | R | 0h | Reserved |
| 15-4 | RESERVED | R | 0h | Reserved |
| 3 | CWRERROR | R-0/W1S | 0h | 0: No action. 1: CWRERROR flag will be cleared. Reset type: CM.RESETn |
| 2 | CRDERROR | R-0/W1S | 0h | 0: No action. 1: CRDERROR flag will be cleared. Reset type: CM.RESETn |
| 1 | UCWRERROR | R-0/W1S | 0h | 0: No action. 1: UCWRERROR flag will be cleared. Reset type: CM.RESETn |
| 0 | UCRDERROR | R-0/W1S | 0h | 0: No action. 1: UCRDERROR flag will be cleared. Reset type: CM.RESETn |
DIAGERRADDR is shown in Figure 41-36 and described in Table 41-35.
Return to the Summary Table.
Read Error Address
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| EADDR | |||||||||||||||||||||||||||||||
| R-0h | |||||||||||||||||||||||||||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 31-0 | EADDR | R | 0h | RAM, ROM : This register captures the address location at which read or write access resulted in ECC/Parity error when in test mode = '11'. EMAC RAM : This register captures the address location at which read or write access resulted in Parity error when PERI_MEM_TEST_CONTROL.EMAC_TEST_ENABLE is set EtherCAT RAM : This register captures the address location at which read or write access resulted in Parity error when PERI_MEM_TEST_CONTROL.EtherCAT_TEST_ENABLE is set Reset type: CM.RESETn |