SPRUIT5 April 2021 TMS320F280021 , TMS320F280021-Q1 , TMS320F280023 , TMS320F280023-Q1 , TMS320F280023C , TMS320F280025 , TMS320F280025-Q1 , TMS320F280025C , TMS320F280025C-Q1
Access protection has to be enabled to make sure unwanted writes or reads do not happen. When software has to write to a particular location corresponding access protection configuration has to be set (Access protection for memories and peripheral have to be configured accordingly).
If access protection error flag ACCVIOFLG / H2Dinterrupt is set, software mechanism has to check for the validity of the interrupts.
a. Software should read the error address register HICACCVIO_ADDR to figure out if an access was placed by the host at that address
b. All the flag scenarios have to have a software equivalent code for redundancy check wherever possible.
c. Software should read-back the written location to find if the protected region is writable.
This is a continuously enabled software diagnostic mechanism as the software has to perform the checks as and when access protection interrupt is received.
LOCK feature of HIC can be used for certain config registers to block writes.