How peristent are SMPU master/slave protection structures?

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

cross mob
OnPi_2263161
Level 4
Level 4
First like received Code Expert

Hi all,

when are SMPU master/slave protection structures reset or cleared?

My goal is to try to mimic Secure state and keep a chip in Normal state. I was thinking to setup SMPU to totally disable DAP master (It will not have any read/write/execute permission) and ensure that only PC 0 can enable DAP again. Is such thing possible?

It looks that SMPU setting survives power cycle and only device reset from the PSoC Programmer software clears it.

Regards

Ondrej

0 Likes
1 Solution
Rakshith
Moderator
Moderator
Moderator
250 likes received 1000 replies posted 750 replies posted

Hi OnPi_2263161​,

SMPU structures are volatile and will be cleared every time on device reset. As the SMPU structures are not persistent the only way to completely disable DAP is by entering Secure Mode.

Thanks and Regards,

Rakshith M B

Thanks and Regards,
Rakshith M B

View solution in original post

0 Likes
1 Reply
Rakshith
Moderator
Moderator
Moderator
250 likes received 1000 replies posted 750 replies posted

Hi OnPi_2263161​,

SMPU structures are volatile and will be cleared every time on device reset. As the SMPU structures are not persistent the only way to completely disable DAP is by entering Secure Mode.

Thanks and Regards,

Rakshith M B

Thanks and Regards,
Rakshith M B
0 Likes