A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/stlink-org/stlink/pull/458 below:

[feature] Writing option bytes of STM32F091RCT6 · Issue #458 · stlink-org/stlink · GitHub

Hello, I am trying to write option bytes of STM32F091RCT6 using Stlink/v2. Bytes start at address 0x1FFF F800 and occupie 1024bytes. I need to write just first four bytes, but writing 1024 would not be problem.

I thought, I could do this using command:

st-flash write optionBytes.bin 0x1FFFF800

but the output is:

2016-08-19T11:31:25 INFO src/common.c: Loading device parameters....
2016-08-19T11:31:25 INFO src/common.c: Device connected is: F09X device, id 0x10006442
2016-08-19T11:31:25 INFO src/common.c: SRAM size: 0x8000 bytes (32 KiB), Flash: 0x40000 bytes (256 KiB) in pages of 2048 bytes

So I guess nothing is written which I could verify by reading the same content as before (I can read proper default values using read at this address).

St-flash version is 1.2.0. OS Linux raspberry 4.1.7+ armv6l

Basic question - is it even possible to write option bytes using this tool?

Thanks for help


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4