2024-08-28 12:05 PM - edited 2024-09-23 07:26 AM
We are using the STM32H563IIK6 in our Device.
I want to Enabled CRP protection. We are thinking use Level1
only.
Please can you share any test code.
2024-09-09 07:23 AM
Hello @gatadivijay ,
CRP is not a STM32 term. I guess you mean RDP. :)
The RDP mechanism is no more available on STM32H5 and was replaced by PRODUCT_STATE.
There is no RDP level 1 equivalent (Set RDP1 and have the possibility to come back to RDP0 with a regression)
With PRODUCT_STATE, the normal way to protect flash is to switch to CLOSED state.
To be able to re-open the device through a regression mechanism you should have first provisioned a password.
To re-open the device you need to provide this password to the programmer.
The programmer uses a Debug Authentication mechanism to make sure you have the same password as the one previously provisioned.
You can check the wiki here
Also a video explains how it works. This is the video 08 from the workshop here
Best regards
Jocelyn