Skip to main content
WWU.807
Associate II
October 30, 2019
Question

P-NUCLEO-WB55 does not working on DFU mode

  • October 30, 2019
  • 47 replies
  • 12212 views

Hi, All,

I want to use CubeMon-RF to monitor the USB dongle of the P-NUCLEO-WB55.

According to the Manual : STM32CubeMonitor-RF software tool for wireless performance measurements,

The USB dongle must be monitored using the VCP DEVICE link, and it need to update Firmware to use the example : ble_transparent_mode_vcp.

To update the USB dongle's firmware, I must use STM32CubeProg tool.

According to the manual : STM32CubeProgrammer software description,

USB dongle must use DFU mode for Firmware update, and I install DFU driver follow the Chapter 1.2.4.

And set the DFU mode according to this web page https://visualgdb.com/tools/STM32WBUpdater/connecting/.

However, when the device is plugged into the PC, the Window Device Manager does not detect any device, and the USB dongle is the same as STM32WB Nucleo.

And Win7 is the same as Win10.

May I ask how to solve this?

Thanks. ​

This topic has been closed for replies.

47 replies

Stecklo
Senior
November 6, 2019

>>Before this destructive action SFSA was 0xF6, so I should have been able to perform -fwupgrade at 0x080EC000 as it is 24 Kb.

>Totally correct!

But in fact I wasn't able, as I said

Stecklo
Senior
November 7, 2019

I've managed to make everything work today. In case anybody is interested.

eriknayan
Visitor II
June 1, 2020

Hello @Community member​ , I'm having the same issue around here, how did you manage to resolve this?

Thanks!

Pavel Krupets
Associate III
December 17, 2019

Any update on this? I did everything as described in this thread but I do not see my NUCLEO board. I can see dongle though.

Does it mean my NUCLEO board is fried?

Remi QUINTIN
ST Technical Moderator
December 17, 2019

​Could you explain your context? Are you using the USB port in DFU mode or the JTAG/SWD port?

Did you set the jumper as described in the Application note?

Can you download all the option bytes?

Remi QUINTIN
ST Technical Moderator
December 17, 2019

​First could you explain your context?

Are you using the USB port in DFU mode or the JTAG/SWD port?

Can you download the option bytes?

Can you show the log file to see the error messages?

Pavel Krupets
Associate III
December 17, 2019

I managed to make it work. To connect in boot mode I had to plug in 2 USB cables into Nucleo board. move power jumper to usb mcu and add jumper from pin 5 to 7.

Also needed to run STM32_Programmer_CLI.exe -c port=swd mode=UR -ob nSWboot0=1

after this i updated fus which was old and after multiple tries it got updated to latest version.

then i updated firmware now i can see my device

PS.2
Associate III
May 20, 2020

Hi @Community member​,

I have faced the same issue while updating FUS version V1.0.2 to V1.1 and in return I was getting the same error as in your original problem -

 Error: Could not execute fwupgrade command, Wrong address

I changed the FUS directory in my local system to a shorten path ( you may copy the same to Desktop), and it really helped me to get rid of the error.

Currently I'm using STM32programmer Version2.3, and I think ST need to check STM32Programmer bugs, plenty of things are there to improve.

Taxara
Associate III
October 20, 2020

Thank you shorten the path did it for me. In addition I noticed that folders containing a space also give this "wrong address" error.

eriknayan
Visitor II
June 1, 2020

I'm having the exactly same issue as @Community member​  and I'm not able to recover my STM32WB55 Nucleo board. Any attempt to read/write results in a failure. Does anyone has a clue?

My SFSA is also at 0x0 after I executed the procedure to update the M0+ BLE stack firmware.

Remi QUINTIN
ST Technical Moderator
June 2, 2020

If SFSA was set to 0x00, it means safeboot has been triggered because option bytes corruption occured.

This may occur during FUS upgrade operation or during any user application operation dealing with option bytes.

When safeboot is triggered it locks the device by setting SFSA=0x00 (all FLASH memory secure) and so no user application/debugger can access the user FLASH memory

anymore. This operation is not reversible.

Starting from FUS V1.1.0 the safeboot is modified to perform a factory reset instead of locking the device.

If your device was already upgraded with FUS v1.1.0, then you can only revert to the manufactory state and this is automatically managed by the FUS. After reboot, the board is completely reset of any data.

eriknayan
Visitor II
June 2, 2020

Hello Remi, comment ça va?

Thanks for the quick reply. So, I guess that what you described is exactly what happened to me. However, I did managed to update FUS to V1.1.0 before getting this issue. Actually, the problem raised while I was trying to update the Wireless stack, right after successfully update the FUS.

I've tried to reboot the board many times and still CubeProgrammer can't read or write in the Flash.