Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Program option bytes on STM32G4xx
#11
Yes, you got the idea.

Well, you can just read the content back so if the verify failed, it was because it really failed.

I think it goes wrong with the buffer writing, the part that you commented out.  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.

Do you have a small test project for me? I will try to make it working for you.
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)