TRACE32 refers to a censored sector as a FLASH sector that contains sensitive data.
This data may include security bytes that can secure the chip and disable debugging access. An unintended or incorrect write to these bytes may therefore lock the chip and prevent further debugging.
TRACE32 provides customers with protection using the /CENSORSHIP option in the FLASH declaration and specifically in the FLASH.Create command
When this option is enabled, the FLASH programming algorithm is aware of the sensitive address ranges. The corresponding security bytes are therefore not erased or modified by FLASH commands.
To program a censored sector, use the following sequence:
FLASH.AUTO <addr_range> /CENSORSHIP
Data.Set …
Data.Set …
…
FLASH.AUTO OFF
Add a comment