Skip to main content
Associate II
November 1, 2024
Solved

Issue with board connection

  • November 1, 2024
  • 1 reply
  • 2252 views

Algumas das minhas plcas quando faço a gravação do BLE não consigo comunicação com a USB do meu computador para fazer a gravação do meu firmware.

Translation: 

When I record the BLE I cannot communicate with my computer's USB to record my firmware in some boards of mine.

 

9:26:07 : UR connection mode is defined with the HWrst reset mode
09:26:07 : ST-LINK SN : 50FF6D067788545435331167
09:26:07 : ST-LINK FW : V2J45S0
09:26:07 : Board : --
09:26:07 : Voltage : 2.63V
09:26:07 : SWD freq : 4000 KHz
09:26:07 : Connect mode: Normal
09:26:07 : Reset mode : Software reset
09:26:07 : Device ID : 0x495
09:26:07 : Revision ID : Rev Y
09:26:07 : Debug in Low Power mode enabled.
09:26:07 : UPLOADING OPTION BYTES DATA ...
09:26:07 : Bank : 0x00
09:26:07 : Address : 0x58004020
09:26:07 : Size : 96 Bytes
09:26:07 : Bank : 0x01
09:26:07 : Address : 0x58004080
09:26:07 : Size : 8 Bytes
09:26:07 : UPLOADING ...
09:26:07 : Size : 4 Bytes
09:26:07 : Address : 0x58004080
09:26:07 : Read progress:
09:26:07 : Data read successfully
09:26:07 : Time elapsed during the read operation is: 00:00:00.001
09:26:07 : UPLOADING ...
09:26:07 : Size : 1024 Bytes
09:26:07 : Address : 0x8000000
09:26:07 : Read progress:
09:26:07 : Data read failed

Best answer by STTwo-32

Why are you using Cube Programmer then. If the problem is not related to the Cube Programmer, please create a new ticket for the new case with a better description if possible (after selecting a "accept as Solution" for this post). 

PS: don't forget that the right starting address is 0x080CE000 and not 0x080CB000 as mentioned on your second command (for the stm32wb5x_BLE_Stack_full_fw.bin). I think that this may be the source of the problem.

For the Cube Programmer, as I said before you can't connect to USB will Setting ST-LINK as connection mode.

For USB bootloader, you can refer to this Application note

Best Regards.

STTwo-32

 

1 reply

STTwo-32
Technical Moderator
November 1, 2024

Hello @Alexandre__Promont and welcome to the ST Community.

Could you please give more details about how to reproduce this issue. Also, could you please add some screenshots and if possible, a description on how to reproduce this behavior. Finally, what is the board/MCU that you are using.

PS: Please use the official language of this forum (English) on your posts and replies.

Best Regards.

STTwo-32

Associate II
November 1, 2024

Estou usando o STM32WB55cgu6, faço a gravação pelo CLI:

I'm using the STM32WB55cgu6, I record via CLI:

STM32_Programmer_CLI.exe -c port=usb1 -fwupgrade \tmp\stm32wb5x_BLE_stack_full_fw.bin 0x080CB000 firstinstall=0

STM32_Programmer_CLI.exe -c port=usb1 -d \tmp\bootloader_110.bin 0x08000000 -v

STM32_Programmer_CLI.exe -c port=usb1 -ob rdp=0xBB -ob displ

 

Quando vou conectar com o USB no PC ele não conecta, meu bootloader fica piscando um led indicando que posso fazer a gravação do meu firmware pela USB, mas não reconhece.

When I try to connect the USB to the PC, it doesn't connect, my bootloader keeps flashing an LED indicating that I can record my firmware via USB, but it doesn't recognize it.

Alexandre__Promont_0-1730468388205.pngAlexandre__Promont_1-1730468958823.pngAlexandre__Promont_2-1730468994184.pngAlexandre__Promont_3-1730469019435.pngAlexandre__Promont_4-1730469041705.png

 

STTwo-32
Technical Moderator
November 1, 2024

First, please write your comments in English to make it easier to understand. Also, make sure to write your SFSA value and take a picture of your board (with the USB cable in).

Best Regards.

STTwo-32