cancel
Showing results for 
Search instead for 
Did you mean: 

Cant write to flash or change RDP on stm32G474

DreamOnDirac
Associate III

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

1 REPLY 1
DreamOnDirac
Associate III

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