Skip to main content

Can I program a censored FLASH sector? - Knowledgebase / Flash programming - Lauterbach Support

Can I program a censored FLASH sector?

Authors list

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



Helpful Unhelpful

Add a comment

ID-0
To prove you are a human, please tell us the text you see in the CAPTCHA image