Skip to main content
Associate II
June 13, 2024
Question

Option Byte failed during connection of MCU

11:15:51 : UR connection mode is defined with the HWrst reset mode
11:15:52 : ST-LINK SN : 54FF6C067583515630121881
11:15:52 : ST-LINK FW : V2J43S7
11:15:52 : Board : --
11:15:52 : Voltage : 3.25V
11:15:52 : SWD freq : 4000 KHz
11:15:52 : Connect mode: Hot Plug
11:15:52 : Reset mode : Software reset
11:15:52 : Device ID : 0x451
11:15:52 : Revision ID : Rev Z
11:15:52 : Debug in Low Power mode is not supported for this device.
11:15:52 : UPLOADING OPTION BYTES DATA ...
11:15:52 : Bank : 0x00
11:15:52 : Address : 0x40023c14
11:15:52 : Size : 8 Bytes
11:15:52 : Error: Uploading Option Bytes bank: 0 failed
11:15:52 : Error: Initializing the Option Bytes failed
11:15:52 : Disconnected from device.
this is the log display from STM32CubeProgrammer , when i try to connect the mcu to stlink for flashing code i get this error.
i am not able to connect the MCU to stlink ,Why?


This topic has been closed for replies.

2 replies

ST Technical Moderator
June 13, 2024

Hello @Amit_Korgaonkar,

Which board are you using?

Check your boot configuration and boot pin connection following the Getting started hardware development application note suitable for the device and board you are using.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Associate II
June 13, 2024

 The board I am using is 

STM32F765VIT6 

 

We have done this hardware setup referring to one of the documents .

Application note AN4661

It also has boot 0 and boot 1.

We are making use of boot0 in our implementation. 

Will check again.

Thanks.