cancel
Showing results for 
Search instead for 
Did you mean: 

Initialization trouble

Jmad_247
Associate II

Good morning all, I am working on a school project to create a hydroponic garden within a greenhouse in my backyard. I am using the NUCLEO-STM32WBA55 board. When I update using the STLINK the board is recognized by my pc but when trying to run I get a “Target no device found” error. I have followed the steps from the “STM32WBA5x workshop 4” but every time I run into this issue. I have never really worked with these before so I am probably missing something simple. Any help would be appreciated. 

7 REPLIES 7
Ozone
Lead II

> When I update using the STLINK the board is recognized by my pc but when trying to run I get a “Target no device found” error.

"Target not found" means the ST-Link part on the Nucleo board cannot communicate with the target device - which is the STM32WBA55.
Have you consulted the user manual, and checked for e.g. LEDs signalizing errors ?
Have you checked the 3.3V supply voltage for the target MCU is present ?

I don't have a NUCLEO-STM32WBA55, so I can't give more specific hints.

I have not done that. I was following the workshop by ST for the NUCLEO-STM32WBA55 and had assumed that every step would be given in the video. I will try but I do remember getting a voltage message earlier. I’ll try to reproduce it and post it. I currently have it connected using usb to type-c data cable, would I possibly need to adjust the jumpers for proper voltage?

I suggest to download the user manual UM2435 from here, and check yourself : https://www.st.com/en/evaluation-tools/p-nucleo-wb55.html#documentation

As said, I don't have this board myself.

But besides a comprehensive description of power supply option, the meaning of onboard LEDs is listed :

Ozone_0-1731568999567.png

 

STTwo-32
ST Employee

Hello @Jmad_247 and welcome to the ST Community.

I suggest you connect the board to the STM32CubeProgrammer. After that you can try to connect under reset.:

STTwo32_0-1731573973472.png

After that, you can perform a mass erase using this option:

STTwo32_1-1731574305014.png

Disconnect From the programmer and try to upload your FW throw your IDE. It should work.

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.

Jmad_247
Associate II

Good morning and thanks for replying. I have tried what you’ve suggested and I will send pics of the results. I have downloaded the file that Ozone suggested earlier but that lead to the P-NUCLEO-WB55. Mine is the NUCLEO-WBA55CG. I’m not sure how similar or different each board is, as this is my first ST product but I figured I would respond before looking up the docs for my board. Are my jumpers in the correct configuration if you can see them in the pics? Should I change the frequency? I don’t know at this point but i will go over the docs but I also have to go back to work as my weekend is Tuesday and Wednesday not much time for trial and error. Any help is greatly appreciated!IMG_0930.jpegIMG_0931.jpegIMG_0934.jpeg

  • Try to click on the reset button will connecting.
  • Try different modes (Hot plug, Under Reset...).
  • Click on the update button of the serial number.
  • Test using a Data cable and not a Charging cable.
  • Do a Firmware update.

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.

Since the ST-Link is up and several LEDs are on, the board hardware seems fine.
A power/hardware failure of a discovery/nucleo board used to end up in a red or orange LED permanently on. Which is not the case here ...

I would check section 7.6 of the user manual, "Programing/debugging when the power supply is not from USB ST-LINK (5V_ST_link)". Especially in respect to the jumpers und solder bridges mentioned there.