Skip to main content
Explorer
May 8, 2024
Question

Cant write to flash or change RDP on stm32G474

  • May 8, 2024
  • 1 reply
  • 727 views

Hi

 

I have an urgent issue.

I cant seem to be able to change some settings on the MCUs

PCROP1_STRT 0x7FFF

PCROP1_END 0x7FFF

PCROP_RDP is checked

PCROP2_STRT 0x7FFF

PCROP2_END 0x7FFF

I cant change them. If i try i get

12:32:21 : Error: Expected value for Option Byte "PCROP1_END": 0x0, found: 0x7FFF
12:32:21 : Error: Expected value for Option Byte "PCROP_RDP": 0x0, found: 0x1
12:32:21 : Error: Option Byte Programming failed Or modified by application after OB_LAUNCH

 

How can i recover this?

Please contact me as soon as possible!

Best regards

Martin

    This topic has been closed for replies.

    1 reply

    Explorer
    May 8, 2024

    UPDATE

     

    I managed to fix this by temporarily change it into a single bank, instead of the dual bank i normally had. After changeing and applying this, i could change the now single values for PCROP and apply them. After that change it back to a dual bank.

     

    Best regards

    Martin