cancel
Showing results for 
Search instead for 
Did you mean: 

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

akckwang
Associate II

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~

1 REPLY 1
Remy ISSALYS
ST Employee

Hello,

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

Best Regards