RAM Control Module Registers
488
SPRUH22I – April 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
Internal Memory
5.2.4.17 Master Access Violation Flag Register (CMAVFLG)
Figure 5-69. Master Access Violation Flag Register (CMAVFLG)
31
16
Reserved
R-0
15
3
2
1
0
Reserved
CPUWRITE
DMAWRITE
CPUFETCH
R-0
R-0
R-0
R-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 5-74. Master Access Violation Flag Register (CMAVFLG) Field Descriptions
Bit
Field
Value
Description
31-3
Reserved
Reserved
2
CPUWRITE
Master CPU Write Access Violation Flag
0
Master CPU write access violation did not occur.
1
Master CPU write access violation has occurred. The C28x CPU tried to write into a RAM Block for
which CPUWRPROT is set to 1.
Once this bit is set, it can be cleared by setting the corresponding error clear bit in the CNMAVCLR
register.
1
DMAWRITE
Master DMA Write Access Violation Flag
0
Master DMA write access violation did not occur.
1
Master DMA write access violation has occurred. The C28x µDMA tried to write into a RAM Block
for which DMAWRPROT is set to 1. In this case, writes are ignored.
Once this bit is set, it can be cleared by setting the corresponding error clear bit in the CNMAVCLR
register.
0
CPUFETCH
Master CPU Fetch Access Violation Flag
0
Master CPU fetch access violation did not occur.
1
Master CPU fetch access violation has occurred. The C28x CPU tried to fetch code from a RAM
Block for which FETCHPROT is set to 1.
Once this bit is set, it can be cleared by setting the corresponding error clear bit in the CNMAVCLR
register.
5.2.4.18 Master Access Violation Force Register (CMAVFRC)
Figure 5-70. Master Access Violation Force Register (CMAVFRC)
31
16
Reserved
R-0
15
3
2
1
0
Reserved
CPUWRITE
DMAWRITE
CPUFETCH
R-0
R/W=1-0
R/W=1-0
R/W=1-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 5-75. Master Access Violation Force Register (CMAVFRC) Field Descriptions
Bit
Field
Value
Description
31-3
Reserved
Reserved
2
CPUWRITE
Master CPU Write Access Violation Force. Any reads to this bit will return a 0.
0
No effect.
1
Sets the CPUFETCH flag in the CNMAVFLG register.