How to enable PFLASH write protection

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User22095
Level 1
Level 1
Hi,

We are using TC397 EVK in our project.

We have multiple images programmed on to PFLASH at their respective address spaces. And all of these images will be executed on Core-0 only and rest of the cores are disabled. While running in one particular image, we would like to restrict the Core from accessing/entering other address spaces/ other images. I have tried enabling Flash write protection using UCB blocks (UCB16 (UCB_PFLASH_ORIG)) register and also tried the option of enabling memory protection using MPU Protection set. But both of them are not seem to be working. Hence, would like to understand whether Flash protection can be enabled on this processor to support our requirement? If yes, Please suggest a way of doing it.

Thanks in advance.

Regards,
Srikanth Vemula.
0 Likes
1 Solution
MoD
Employee
Employee
50 likes received 500 replies posted 100 solutions authored
Please see TriCore TC1.6.2 core architecture manual Volume 1 chapter 10 Memory Protection System. There is described how you must setup the MPU-

View solution in original post

0 Likes
1 Reply
MoD
Employee
Employee
50 likes received 500 replies posted 100 solutions authored
Please see TriCore TC1.6.2 core architecture manual Volume 1 chapter 10 Memory Protection System. There is described how you must setup the MPU-
0 Likes