2015-09-07 06:42 AM
Hello,
Please help me clarify the following: I need to write data option byte to stm32f042 by ST_LINK_CLI.exe when I try to do the following command:ST-LINK_CLI.exe -OB Data0=0xAA Data0=0x55
I get the result:Device family :STM32F04xx
-OB Data0: Available only on STM32 F1 and STM32 F3 series. -OB Data0: Available only on STM32 F1 and STM32 F3 series. Updating option bytes... Option bytes updated successfully. and requred byte is not written but I can changed this optin byte from TM32 ST-LINK Utility.exe utility... Please help me to clirify how can I change data option bytes in stm32f042 by CLI interface Regards, Kukenov Andrei2015-09-07 10:04 AM
Hi kukenov.andrei,
which ST_LINK_CLI version are you using?-Syrine –2015-09-08 01:03 AM
Hello, Syrine
STM32 ST-LINK CLI v2.3.0 Regards, Andrei Kukenov2015-09-08 03:31 AM
Hi kukenov.andrei,
The issue exists unfortunately but it will be fixed in next version of STM32 ST-LINK Utility.To configure option bytes you can either call the command -OB, or you can also program a hex file with the option bytes config.In your case to program Data0, create a hex file of one byte length with the value Data0 to program address 0x1FFFF804.-Syrine –2015-09-08 07:09 AM
Thanks a lot Syrine
Regards, Andrei Kukenov