Skip to main content
akckwang
Associate
February 8, 2022
Question

STM32_Programmer CLI, reconnect fail after change option byte by usb.

  • February 8, 2022
  • 1 reply
  • 744 views

Hi,

My board is NUCLEO-WB55RG, connected to host PC by USB(not ST-LINK),

I'm trying to switch it between application and dfu,

I set board to DFU by modifying option byte in application(nBOOT1=1, nBOOT0/nSWBOOT0 = 0),

then use STM32_Programmer_CLI.exe to set nBOOT0 to 1 to switch back to applicaiton

STM32_Programmer_CLI.exe -c port=usb1 -ob nboot0=1

It's working, board does comeback to application,

but CLI always shows "Unable to reconnect the target device: time out expired",

it make sense because board reset and boot to application immediately after changing option byte,

so CLI can't connect to board again and shows error massage,

Do we have way to eliminate the CLI error message?

or skip the reconnect and verify step?

Thanks~

This topic has been closed for replies.

1 reply

Remy ISSALYS
ST Technical Moderator
March 8, 2022

Hello,

It seems there is no option to eliminate the CLI error message or skip the reconnection step.

Best Regards