Posts by BGav

    Hi,

    Thank you for the quick response!

    I just want to make sure we are talking about the same thing.
    There are 2 keys (OEM key1 and key2 )that can be provisioned for RDP regression on the stm32u5.

    When the device is in RDP level 0 or 1, I can provision both keys fine using the devpro tool.
    But when the device is in RDP level 0.5, the tool is failing to provision both keys.

    When you say " Setting the password for RDP level 0.5 is not supported by the DevPro"
    Do you mean when the device is in RDP level 0.5, key provisioning is not supported? or Are you referring to provisioning the specific key that is used for RDP 0.5 regression?


    I have attached a table from the stm32u5 reference manual that can provide some more context.

    Thank you,

    Hi I'm running into an issue when provisioning the RDP keys for the STM32U5
    The reference manual for the STM32U5 says that if an RDP key has not been set, you can set the key after the RDP level has been set to either 0.5 or 1.
    I am using the DevPro exe to set the RDP key by using the following command


    Code
    DevPro.exe -operation SetPassword -if SWD -speed 4000 -SetConfigVal "Level=RDP1" -SetConfigVal "Password=deadbeefdeadbeef" -ScriptFile PCode_DevPro_ST_STM32U5.pex

    https://kb.segger.com/ST_STM32U5_Option_Bytes_Programming

    The issue I am having is that this command is not working when the MCU is in RDP level 0.5. But it does work when the MCU is at RDP level 1.

    Does anyone know if this a bug in devpro?

    thank you