2024-11-01 05:27 AM - last edited on 2024-11-01 07:29 AM by SofLit
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
Solved! Go to Solution.
2024-11-01 09:31 AM
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
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-11-01 05:51 AM - edited 2024-11-01 05:52 AM
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
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-11-01 06:50 AM - last edited on 2024-11-01 07:30 AM by SofLit
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.
2024-11-01 07:08 AM
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
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-11-01 07:23 AM
The board has two solder points, DM and DP, only used for programming the bootloader.
2024-11-01 07:31 AM
Hi @Alexandre__Promont I've edited your posts to translate your posts to english.
2024-11-01 07:37 AM
No problem for me, it’s easy to send in English because I use COPILOT to translate. I sent the SFSA print with the values, what is the function of the SFSA?
2024-11-01 07:50 AM
You can't connect the board throw USB using the ST-LINK, you have to:
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-11-01 09:04 AM
Yes, but the software I use for programming was developed to fetch data directly from my company's server, and they also developed this software. For this reason, I want to establish communication directly between the USB on the board and the USB on the computer. However, it seems that an error occurs in this part and it does not communicate.
2024-11-01 09:31 AM
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
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.