cancel
Showing results for 
Search instead for 
Did you mean: 

Unbrick P-NUCLEO-WB55 board

dimax
Senior

Hello, after playing a bit with P-NUCLEO-WB55 pack I bricked the board.

The board is visible by Cube Programmer in DFU mode. Programmer can see the ST-Link but ST-Link does not detect the target.

  1. Are there any suggestions to recover ST-Link connection to STM32WB ?
  2. Is there a FW image containing FUS, BLE Stack and Application to bring the board to it's initial (factory) state?

Thanks.

12 REPLIES 12
Uwe Bonnes
Principal II

Did you try "connect under reset"?

No.
Please explain how I should do it?
Connect ST-Link USB while CPU reset is held?
dimax
Senior

If I hold RESET ST-Link properly detects it and reports:

12:11:21 : Error: ST-LINK error (DEV_TARGET_HELD_UNDER_RESET)

Regular Connect attempt ends up with:

 12:11:29 : ST-LINK SN : 066AFF313335415043153630

 12:11:29 : ST-LINK FW : V2J33M25

 12:11:29 : Board    : P-NUCLEO-WB55

 12:11:29 : Voltage   : 3.26V

 12:11:29 : Error: No STM32 target found!

You might have to release the reset button right after you clicked on "connect" in the GUI.

dimax
Senior

Thanks a lot it worked.

Do I get it right that FW was doing something that prevented ST-Link from communicating with CPU ?

Your software probably changes the SWDIO/SWCLK pins configuration (PA13/PA14) right after it starts,

or makes your MCU go into sleep mode.

dimax
Senior

OK.

I went on and erased all Flash sectors. Starting from 0x0800_0000 up to 0x080F_F000.

So I assume I have now a virgin clean CPU.

Should I start now with FUS programming?

dimax
Senior

Well, this time it failed.

13:12:59 : Warning: Option Byte: nSWboot0, value: 0x0, was not modified.

 13:12:59 : Warning: Option Byte: nboot0, value: 0x1, was not modified.

 13:12:59 : Warning: Option Byte: nboot1, value: 0x1, was not modified.

 13:12:59 : Warning: Option Bytes are unchanged, Data won't be downloaded

 13:12:59 : Succeeded to set nSWboot0=0 nboot1=1 nboot0=1 

 13:12:59 : Memory Programming ...

 13:12:59 : Opening and parsing file: 0x495_FUS_Operator.bin

 13:12:59 :  File     : 0x495_FUS_Operator.bin

 13:12:59 :  Size     : 11584 Bytes

 13:12:59 :  Address    : 0x08000000 

 13:12:59 : Erasing memory corresponding to segment 0:

 13:12:59 : Erasing internal memory sectors [0 2]

 13:12:59 : Download in Progress:

 13:12:59 : File download complete

 13:12:59 : Time elapsed during download operation: 00:00:00.354

 13:12:59 : Application is running

 13:13:07 : Reconnecting...

 13:13:07 : Reconnected !

 13:13:07 : Error: FUS_STATE_ERR_UNKNOWN

Mike_ST
ST Employee

What FUS version is present in the MCU now ?

What version are you trying to flash and at what address ?