SFFS779 December 2024 TMS320F28P550SJ
There are two types of write and erase protections available. One is static protection (FLPROT) configured at the device level and the other is a CMDWEPROT configuration, which is delivered to the Flash Wrapper through input signals. The FLPROT write and erase protect bit can be configured at boot and locked; providing semi-permanent protection for certain sectors in the Flash. Inadvertent program and erase operations targeting these sectors are blocked. Furthermore, the CMDWEPROT* registers exist in the Flash Wrapper, allowing further protection for critical data. The CMDWEPROT* registers default to protect all sectors at reset and at the completion of every Flash Wrapper command. The CMDWEPROT* must be configured before each erase and program command through the Flash API using the Fapi_setupBankSectorEnable() function.