2021-03-03 06:52 AM
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.
Thanks.
2021-03-03 07:27 AM
Did you try "connect under reset"?
2021-03-03 08:16 AM
2021-03-04 02:12 AM
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!
2021-03-04 02:26 AM
You might have to release the reset button right after you clicked on "connect" in the GUI.
2021-03-04 02:53 AM
Thanks a lot it worked.
Do I get it right that FW was doing something that prevented ST-Link from communicating with CPU ?
2021-03-04 03:03 AM
Your software probably changes the SWDIO/SWCLK pins configuration (PA13/PA14) right after it starts,
or makes your MCU go into sleep mode.
2021-03-04 03:09 AM
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?
2021-03-04 03:16 AM
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
2021-03-04 03:27 AM
What FUS version is present in the MCU now ?
What version are you trying to flash and at what address ?