Skip to main content
dhillier
Associate
November 18, 2019
Solved

How to I fix STM32CubeProgrammer No STM32 Target Found after Programming Nucleo Pack MB1355C board?

  • November 18, 2019
  • 23 replies
  • 30762 views

I have an STM32WB55 Nucleo Pack and i thought i'd try out the BLE heartbeat monitor example on the MB1355C board, so i opened up the STM32CubeProgrammer, put the power selector to USB STL and could connect ok.

I Selected the hex file for the heartbeat monitor example and used the Automatic option to try to write it to the board. It said it finished writing to board N:1, connect board N:2 and hung. So i disconnected the board and plugged it back in and i noticed not much was happening, and i couldn't see the bluetooth device using my phone, so i tried to connect it back to the STM32CubeProgrammer and i noticed it would no longer connect.

If i open the cube programmer, and select "Firmware Upgrade" no device appears. However, if i click the button that says "Open in Update Mode" the board resets, device information appears and i can upgrade the firmware.

The board still mounts like a drive and i can still drag files into the drive which magically disappear after the board is reset.

Can anyone point out where i went wrong, and how do i fix it.

Thanks.

This topic has been closed for replies.
Best answer by dhillier

Ok, i got it.

If i set the ST-LINK configuration to:

  • Mode: Normal
  • Reset Mode: Software Reset

Then, I can successfully connect if I:

  • Press and hold the reset button on the board
  • Click the Connect button in the cube programmer
  • Release the reset button

However, i thought if i drag a hex file onto the drive the board creates, then it would load that hex file. This doesn't appear to be the case. I have to use the Cube Programmer.

23 replies

NTeuw.1
Associate
May 18, 2023

thanks @dhillier​ that's work for me.