cancel
Showing results for 
Search instead for 
Did you mean: 

Factory default value of FLASH_OPTR

Bassett.David
Senior

Hello,

I would like to know the behavior of the BOOT0 pin on a factory fresh STM32G474 device. I'm wondering if I can use PB6 as a general input without causing side effects if the flash option register is at factory defaults. The reference manual shows: "Reset value: 0xFXXX XXXX", but what are the *** *** values as shipped from the factory?

Thank you for any insight you can provide - much appreciated!

Regards,

Dave

1 ACCEPTED SOLUTION

Accepted Solutions
Igor Cesko
ST Employee

Hi Bassett.David,

This register is loaded from option bytes. The "ST production value" for option bytes is written in reference manual RM0440 (chapter FLASH option bytes). For FLASH_OPTR (and STM32G474 device) is the ST production value: 0xFFEF F8AA .

Regards

Igor

View solution in original post

2 REPLIES 2
Igor Cesko
ST Employee

Hi Bassett.David,

This register is loaded from option bytes. The "ST production value" for option bytes is written in reference manual RM0440 (chapter FLASH option bytes). For FLASH_OPTR (and STM32G474 device) is the ST production value: 0xFFEF F8AA .

Regards

Igor

Bassett.David
Senior

Hello Igor,

Thank you very much! I apologize for missing it. (In RM0440 Rev. 6, I was looking at page 138, but the information I needed was on page 110).

Regards,

Dave