2022-03-08 08:21 AM
I am using the STM32WB55RG MCU, Bluetooth feature with stack version 1.13.0 and FUS version 1.2.0. Everything was working normal until I tried doing the firmware upgrade of stack from v12.0 to v13.0. I am not able to perform FUS related operations. The version reading shows 0.0.0 for FUS. And following is the log when I hit "Start FUS"
11:09:47 : Warning: Option Byte: nSWboot0, value: 0x0, was not modified.
11:09:47 : Warning: Option Byte: nboot0, value: 0x1, was not modified.
11:09:47 : Warning: Option Byte: nboot1, value: 0x1, was not modified.
11:09:47 : Warning: Option Bytes are unchanged, Data won't be downloaded
11:09:47 : Succeeded to set nSWboot0=0 nboot1=1 nboot0=1
11:09:47 : Memory Programming ...
11:09:47 : Opening and parsing file: 0x495_FUS_Operator.bin
11:09:47 : File : 0x495_FUS_Operator.bin
11:09:47 : Size : 8 KBytes
11:09:47 : Address : 0x08000000
11:09:47 : Erasing memory corresponding to segment 0:
11:09:47 : Erasing internal memory sectors [0 1]
11:09:47 : Download in Progress:
11:09:47 : File download complete
11:09:47 : Time elapsed during download operation: 00:00:00.272
11:09:47 : Application is running, Please Hold on...
11:09:47 : Reconnecting...
11:09:47 : Reconnected !
11:09:51 : Reconnecting...
11:09:51 : Reconnected !
11:09:51 : Error: FUS_STATE_ERR_UNKNOWN
11:09:51 : Start FUS failed !
11:09:51 : Error: Start FUS Operation Failure! Please, try again
Following is OB info attached. Cube programmer version I am using is : v2.9.0
What could be the issue, please let me know how to resolve FUS and start wireless stack successfully ?
Thanks.
Arshiya Tabassum
@bponnanavenkat@actalentservices.com
Solved! Go to Solution.
2022-03-09 08:28 AM
Sorry about that, here it is:
2022-03-10 02:55 AM
Hello,
Load this diagnostic binary in M4 which display Wireless Stack and FUS version on debug trace and allow to perform some action:
In your case, FUS is running, so try to delete the installed Wireless Stack and then with STM32CubeProgrammer install the stack with address indicated in release notes.
Best Regards
2022-03-10 06:50 AM
Hi @Remy ISSALYS ,
Thank you for the binary. I have the following questions regarding how to use this binary:
Thank you,
Arshiya Tabassum
2022-03-10 07:44 AM
Hello,
You can use STM32CubeProgrammer to load the binary into M4 at 0x08000000. Yes, I refers to P-NUCLEO-WB55 board. So, I think you can try this binary only to see wireless stack and FUS version.
Best Regards
2022-03-10 07:48 AM
Okay, if I understand correctly, I can flash this via programmer at 0x08000000 and hit the "Read FUS Info" button to read FUS and stack versions?
Can I use the same binary and try deleting the wireless stack through cube programmer by hitting "Firmware Delete" button?
Thanks
2022-03-10 08:08 AM
You can flash the binary via STM32CubeProgrammer in "Erasing and Programming" window at 0x08000000. When it's done, if you are able to connect your board to a HyperTerminal (TeraTerm for example), you have some logs which displayed FUS and Wireless Stack version like this:
You can also see if the FUS is runnning or if WS is running.
Others solution with STM32CubeProgrammer, try to delete Wireless Stack with "Firmware Delete" button.
Regards
2023-05-11 06:56 AM - edited 2023-11-20 09:12 AM
I have similar problem, I have old Nucleo Board and new one, on the old one I can't do wireless stack update and FUS update, and even examples with BLE don't work.
I flashed your binary and don't see any information on VCP i TeraTerm, tried 115200 and 9600 baudrate.
What can I do to make it work? Please help me.
2023-05-11 07:04 AM
Just missing the ESE and SBRV value.
For the old board, you may need to update the FUS version.
Can you try to read the FUS version via the USB port in DFU mode at address 0x0x20030030?
Use cube programmer or the command in line below:
STM32_Programmer_CLI.exe -c port=usb1 -r32 0x20030030 1
2023-05-11 07:12 AM
Hello,
According to your screenshot, SBRV is equal to 0x3D800 that indicate FUS v0.5.3 is running on your board. So, you must update the FUS using the stm32wb5x_FUS_fw_for_fus_0_5_3.bin binary.
Best Regards
2023-05-11 07:17 AM
oups I did not see the small window below :) for the SBRV value.