Skip to main content
Bassett.David
Associate III
May 25, 2021 8:50 PM UTC
Solved

Factory default value of FLASH_OPTR

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

This topic has been closed for replies.
Igor Cesko
Igor CeskoBest answer
ST Employee
May 26, 2021 2:07 PM UTC

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

2 replies

Igor Cesko
Igor CeskoBest answer
ST Employee
May 26, 2021 2:07 PM UTC

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
Associate III
May 26, 2021 2:27 PM UTC

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