cancel
Showing results for 
Search instead for 
Did you mean: 

STM342WB55 after load last BLE stack (1.8.0) I can`t erase fw with STM32CubeProgrammer

Vyacheslav
Senior II

Hi.

Using STM32CubeProgrammer I load last stm32wb5x_BLE_Stack_light_fw.bin, but when after that I try to run command -fwdelete, I get an error : "FUS_NOT_RUNNING".

I attach log file becose Idont understand whot is this.

But me application work fine and I see that stack is a last version.

Please help whot may bee .

I send call:

STM32_Programmer_CLI.exe -c port=usb1 -fwdelete -vb 3

65 REPLIES 65
Vyacheslav
Senior II

Hey, employees !!!

How about answer for this situation?

And, my chip will not update anymore ???

Vyacheslav
Senior II

I remind you that because of this, it is now impossible to fill a stack at all.

Hi @Vyacheslav​ ,

Unfortunately your question was missed, simply because it doesn't contain relevant topics (or tags).

I add the topics "STM32WB" and STM32CubeProgrammer here and I let our expert @Remi QUINTIN​  take care of your request.

-Amel

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.

Remi QUINTIN
ST Employee

There are 2 way to update the STM32WB: CLI and GUI mode => Which one are you using?

What is version of the CubeWB FW package? the lastest one is V1.8.0

Which port do you use? USB or SWD?

What is the sequence of commands used to program the chip?

Do you have a log of the commands + error messages?

Can you provide a dump of al option bytes?

1. I use STM32_Programmer_CLI.exe (I write that in my question).

2. Yes, 1.8.0

3. USB ( I was show command in question: "STM32_Programmer_CLI.exe -c port=usb1 -fwdelete -vb 3")

4.

  • STM32_Programmer_CLI.exe -c port=usb1 -fwdelete
  • STM32_Programmer_CLI.exe -c port=usb1 -vb 3 -r32 0x20030030 1
  • STM32_Programmer_CLI.exe -c port=usb1 -fwupgrade stm32wb5x_BLE_Stack_light_fw_180.bin 0x080D6000 firstinstall=1

After call "-fwupgrade" the CLI stay looped on screen with repeatition sume text. After 1 or 2 minutes wait, I stop CLI by Ctrl+C. And I think what a stack dont loaded, but when I start my application I see what strack is upgraded.

But on next time I call

STM32_Programmer_CLI.exe -c port=usb1 -fwdelete

I get an error : "FUS_NOT_RUNNING".

I call again with verbose 3 like this:

STM32_Programmer_CLI.exe -c port=usb1 -fwdelete -vb 3

and result can be seen from the attached file.

And also now when call

STM32_Programmer_CLI.exe -c port=usb1 -vb 3 -r32 0x20030030 1

I get a strange value.

Remi QUINTIN
ST Employee

​What is the value read at 0x20030030?

I am not able to read you attachement.

Remi QUINTIN
ST Employee

​Could you dump the option bytes?

This is a dump of STM32_Programmer_CLI.exe -c port=usb1 -fwdelete

This is options bytes