Skip to main content
dscdsc
Associate III
November 30, 2021
Question

Modifying BOOT_ADD0 value

  • November 30, 2021
  • 1 reply
  • 2211 views

Is it possible to modify this register field using STM32CubeProgrammer?

I've tried both:

  • Writing a value using the Registers tab
  • Writing to a memory address that the field occupies

But neither work.

    This topic has been closed for replies.

    1 reply

    TDK
    Super User
    November 30, 2021

    The BOOT_ADD0 option byte can be modified from within the option bytes editor in STM32CubeProgrammer. The "OB" icon on the left.

    > Writing a value using the Registers tab

    > Writing to a memory address that the field occupies

    Option bytes ultimately reside in non-user FLASH and need to be applied by setting OBL_LAUNCH and letting the chip reset. This is what "Apply" does in the option bytes area.

    "If you feel a post has answered your question, please click ""Accept as Solution""."
    dscdsc
    dscdscAuthor
    Associate III
    November 30, 2021

    > The BOOT_ADD0 option byte can be modified from within the option bytes editor in STM32CubeProgrammer.

    That's what I thought too, but I don't see that in the option bytes section.

    0693W00000GZZF8QAP.png

    TDK
    Super User
    December 28, 2021

    Just in case others see this, looks like your chip doesn't have a BOOT_ADD0 option byte. Is there a reason you think it should? The BOOT_CM7_ADD0 is what you want to change.

    It does appear that the H743 reference manual suggests BOOT_ADD0 exists.

    Put your chip number in your post so others don't have to guess what you're using.

     

    "If you feel a post has answered your question, please click ""Accept as Solution""."