Skip to main content
Lep
Senior
May 16, 2022
Question

STM32WB55RGV6 (board P_NUCLEO_WB55) STM32cubeprogrammer errors show: first erro: No STM32 target found when i press button 'reset' error: ST_link erro(DEV_TARGET_CMD_ERR) stm32cubeide errors: error in launch sequence: Failed to startGDB server

  • May 16, 2022
  • 10 replies
  • 3733 views

Note: I can use stlink to download programs to other boards.But p_nulceo_wb55 doesn't work well. I use an external stlink instead of the on-board stlink, the errors are same.

I was learning Bluetooth, It would have worked well. After a while, an error has occurred.

Is it because I have downloaded some program?

The errors are as follows(use stm32cubeprogrammer :(

0693W00000NpzZQQAZ.pngthe erros in stm32cubeide:

0693W00000Npzb7QAB.png 

This topic has been closed for replies.

10 replies

Remy ISSALYS
ST Technical Moderator
May 18, 2022

Hello,

You can try to change the Mode to "Under reset" on STM32CubeProgrammer or press reset button SW4, keep SW4 pressed, click on Connect and release the button.

Best Regards

Lep
LepAuthor
Senior
May 18, 2022

Thank you for your answer. The problems still exists. Once I pulled up boot0, I can connect the p_nucleo_wb55, but i can‘t read the flash and erase the flash,

, the error is 'Error: Mass erase operation failed.Please verify flash protection'. Later , the problem becom as mentioned above error ' no stm32 target found '.

ST Technical Moderator
June 8, 2022

Hello @�?� 丫饼​ ,

Make sure that your STLink firmware is upgraded. Check pin configuration from the SWD connector. Can you try on another hardware?

If connect under reset doesn’t help, so probably the issue is related to power-supply configuration.

When your issue is solved, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Lep
LepAuthor
Senior
June 9, 2022

Thank you.

P_NUCLEO_WB55RGV6(MB1355C) :

  1. The st_link is on board and pin configuration is fixed.
  2. Another hardware can download ok.
  3. The power configuration is as picture shows , i check it many times.

0693W00000NrWOwQAN.jpg

ST Technical Moderator
June 16, 2022

Hi @�?� 丫饼​ ,

Make sure that you use the latest release of CubeProgrammer and CubeIDE.

I advise you this FAQ: How to solve debugger connection issues, it may helps you.

> Another hardware can download ok.

Have you checked with STM32WB board or another series of hardware?

Maybe you can check with another toolchain as Keil or IAR, to identify if this problem is related to CubeIDE tool.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Lep
LepAuthor
Senior
June 17, 2022

Thank you. I buy another P_NUCLEO_STM32WB55. And it works well.

I check the hardware configuration, and it's the same as the new.

I use STM32CUBEPRO to download the code. Keil and stm32cubeide can't download well.

Sara BEN HADJ YAHYA
ST Technical Moderator
June 22, 2022

Hello Lep (Community Member),

Check the Option bytes configurations, they might be different.

It could be a hardware limitation, please verify the Revision ID of the different chips (Can be displayed by CubeProg when connecting the board) and later check the Errata sheet of the MCU, in which you may find the reason of the limitation(if exists).

Sara.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.