PFlash Protection
In this topic:
•TC4x
You can protect your PFlash against accidental modifications on a logical sector granulation. Protection enabled masks are made out of 32-bit words. Each bit represents a mask for one logical sector. You can open this dialog via Extra commands / Device contents (set) in the UCB plugin toolbar.
Via this dialog you can modify the following UCB(s):
•UCB_PFLASH_ORIG
•UCB_PFLASH_COPY
It is possible to enable or disable global read and write protection without changing the sector protection mask, and vice verse. After enabling this protection, both FLASH programming and FLASH read from the debugger side will cease to work. Not supported on TC4x.
Enabling Global Read and Write Protection will disable debug access to the device! |
Note that the Image checker needs to be disabled if you wish to enable global read and write protection. |
When logical sector protection is used, programming on that sector will cease to work.
The sector protection mask can be applied for multiple PFlashes at once (PF0 - PF5).
Not supported on TC4x.
The 3rd generation of Aurix devices (TC4x) support two Startup Address dialogs:
•Set RTC PFlash Protection configures PFlash protection of the RTC (Real Time Cluster) PFlashes,
•Set CS PFlash Protection - configures PFlash protection of the CS (Cyber Security) PFlashes.