Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Program option bytes on STM32G4xx
#12
Attached is a test program containing both option bytes blocks.
When using STM32CubeProgrammer, I can see from its Log that it reconnects twice to the target, every time after an option bytes block has been written:
Quote:WriteOB function terminated with connection error due to OB_launch
Reconnecting...
Disconnected
...
Reconnected !
Success with Time elapsed during Reconnect: 20 ms

"I think it's easier to write the whole buffer at once into that sector so that also the inverted part of the options are set."
Is that possible? I didn't find any description of that in the reference manual.


Attached Files
.zip   Options_test.zip (Size: 478.42 KB / Downloads: 69)
Reply


Messages In This Thread
Program option bytes on STM32G4xx - by matsb - 22-11-2022, 12:59 PM
RE: Program option bytes on STM32G4xx - by embitz - 23-11-2022, 09:38 AM
RE: Program option bytes on STM32G4xx - by matsb - 24-11-2022, 09:10 AM
RE: Program option bytes on STM32G4xx - by embitz - 24-11-2022, 10:52 AM
RE: Program option bytes on STM32G4xx - by matsb - 25-11-2022, 03:27 PM
RE: Program option bytes on STM32G4xx - by embitz - 25-11-2022, 07:36 PM
RE: Program option bytes on STM32G4xx - by mri - 25-11-2022, 09:03 PM
RE: Program option bytes on STM32G4xx - by embitz - 25-11-2022, 09:14 PM
RE: Program option bytes on STM32G4xx - by embitz - 25-11-2022, 09:20 PM
RE: Program option bytes on STM32G4xx - by mri - 25-11-2022, 10:38 PM
RE: Program option bytes on STM32G4xx - by embitz - 26-11-2022, 04:11 PM
RE: Program option bytes on STM32G4xx - by matsb - 28-11-2022, 09:48 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)