2024-09-05 10:53 PM - last edited on 2024-09-06 01:02 AM by STTwo-32
Hello All,
I am reaching out to seek assistance regarding an issue I encountered while attempting to upload the BLE stack to my STM32WB device using the STM32 Cube Programmer. Below is the sequence of commands I executed:
STM32_Programmer_CLI.exe -c port=usb1 -fwdelete
STM32_Programmer_CLI.exe -c port=usb1 -r32 0x20030030 1
STM32_Programmer_CLI.exe -c port=usb1 -fwupgrade stm32wb5x_FUS_fw_1_0_2.bin 0x080CB000 firstinstall=0
STM32_Programmer_CLI.exe -c port=usb1 -fwupgrade stm32wb5x_FUS_fw.bin 0x080CB000 firstinstall=0
STM32_Programmer_CLI.exe -c port=usb1 -fwupgrade stm32wb5x_BLE_Stack_full_fw.bin 0x080CB000 firstinstall=0
Unfortunately, when executing the final command, I encountered the following error:
Error: failed to download Segment[0]
Error: failed to download the File
Error: Failed to download image!
I have successfully executed the prior steps without issues. However, the BLE stack upload process is failing, and I would appreciate your guidance on resolving this error.
If there are any additional steps, configuration checks, or alternative procedures you would recommend, please let me know. I am happy to provide any further information if needed.
Thank you for your time and assistance. I look forward to your response.
Solved! Go to Solution.
2024-09-06 05:16 AM - edited 2024-09-06 05:24 AM
Hello @brahmananda
Could you please try using the CubeProgrammer Gui. Update the FUS to stm32wb5x_FUS_fw.bin and update the stack to stm32wb5x_BLE_Stack_full_fw.bin. the start addresses are available on the release note (available here )
PS: is impossible to use a personal file for stack or FUS. you need to use one of the File from ST. Follow this wiki for details.
PS: Use the last version of CubeProgrammer V2.17.0 and the Last STM32CubeWB V1.20.0.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-09-05 11:15 PM
Hello @brahmananda and welcome to the ST Community :smiling_face_with_smiling_eyes:
First what is the current version of the FUS and Stack you are trying to implement. What i see is that you are not using the Last ones. Also, are you using a Custom board or an ST Evaluation board. Please share more details (With some Screenshots if possible).
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-09-06 03:26 AM
Hello @STTwo-32
Thank you for your quick reply.
I am using FUS version 1.0.2 and have tried to find the Stack version, but I couldn't locate the specific version. Since I can't upload the bin file here due to unsupported file format, if you could provide your email ID, I could send the bin file. Alternatively, you can guide me on how to check the Stack version.
Also i am using the custom board.
I am attaching the screen recording of the command I am executing and the error it is showing again.
2024-09-06 05:16 AM - edited 2024-09-06 05:24 AM
Hello @brahmananda
Could you please try using the CubeProgrammer Gui. Update the FUS to stm32wb5x_FUS_fw.bin and update the stack to stm32wb5x_BLE_Stack_full_fw.bin. the start addresses are available on the release note (available here )
PS: is impossible to use a personal file for stack or FUS. you need to use one of the File from ST. Follow this wiki for details.
PS: Use the last version of CubeProgrammer V2.17.0 and the Last STM32CubeWB V1.20.0.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.