cancel
Showing results for 
Search instead for 
Did you mean: 

RDP protection code for STM32H563IIK6

gatadivijay
Associate II

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.

 

 

 

1 REPLY 1
Jocelyn RICARD
ST Employee

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