Skip to main content
Vikas1
Visitor II
Aug 13, 2021 12:04 PM UTC
Question

I would to generate option byte file in hex format

@Exmple:

:020000041FFFDC

:01F800000007

:020000041FFFDC

:01F80200FF06

:020000041FFFDC

:01F80400FF04

:020000041FFFDC

:01F80600FF02

:020000041FFFDC

:01F80800FF00

:020000041FFFDC

:01F80A00FFFE

:020000041FFFDC

:01F80C00FFFC

:020000041FFFDC

:01F80E00FFFA

:00000001FF

I was able to do the same in F series with the help of STVP tool, but in G0 series it is not possible.

This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
Aug 13, 2021 1:06 PM UTC

Which STM32G0xx part specifically

I think the G0 have the Option Bytes at 0x1FFF7800 rather than the 0x1FFFF800 range this HEX data shows for the F0 series, total 16-bytes

It might be possible to array similar records for the G0 series.

Typically an erase, and rewrite all type operation, right?

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
waclawek.jan
Super User
Aug 13, 2021 8:35 PM UTC

Cubeprogrammer supports this?

JW

Tesla DeLorean
Guru
Aug 13, 2021 9:00 PM UTC

Not sure, not using G0 here, but Keil typically has a "Flash Algorithm" for the option byte memory when programming the devices.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..