cancel
Showing results for 
Search instead for 
Did you mean: 

Modifying BOOT_ADD0 value

dscdsc
Senior

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.

3 REPLIES 3
TDK
Guru

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".

> 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

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".