cancel
Showing results for 
Search instead for 
Did you mean: 

I'm struggling programming the bluetooth module of the U585I board. Stlink is connected in CN5, board is powered with CN8, but how to program the stm32wb (the Bluetooth module). With the CubeProgrammer, I can connect only to the stm32u575. Any help,pls?

IVent.1
Senior

STM32u585I and STM32WB5MM

7 REPLIES 7
RomainR.
ST Employee

Hello IVent.1 (Community Member)

Probably this discussion will help you.

https://community.st.com/s/question/0D53W00001Co73wSAB/bu585iot02a-board-cn5-cable-to-stlink

Best regards,

Romain

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.

IVent.1
Senior

Thank you, I had already read this discussion, but my doubts come after, with the stm32cube programmer. I haven't found any instruction on how to use it to program the bluetooth module.

RomainR.
ST Employee

Hi IVent.1 (Community Member)

Take a look at this videos for Nucleo-WB55, but it's the same with STM32WB5MMG Module.

https://www.youtube.com/watch?v=AcrbUOhApd0

Best regards,

Romain,

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.

IVent.1
Senior

Hi Romain,

I'm in this situation...the connection with the STM32cubeprogrammer is established, but in this way I have access only to the stm32u5...how to access to the stm32wb?0693W00000WKufNQAT.jpg

RomainR.
ST Employee

Hi IVent.1 (Community Member)

In your case, you have 2 STLink:

  • One onboard on CN8 USB for U585 device.
  • A second external connected on CN5 for STM32WB5MMG module.

If it's correct, you should inform STM32CubeProgrammer which debugger you want to use:

In disconnect mode, refresh Serial Number and chose the correct STLink Serial Number to use.

An example below:

0693W00000WKuquQAD.png 

Best regards,

Romain,

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.

IVent.1
Senior

Hi Romain,

I have a second external stlink connected to the CN5 (the Device Management of the pc shows both the 2, ST-Link Debug and STM32 STLINK), but STM32CubeProgrammer shows me only the ones of the main board. 0693W00000WKv8FQAT.jpg0693W00000WKv93QAD.jpg

RomainR.
ST Employee

Hi IVent.1

If after refresh icon 0693W00000WKvDeQAL.pngYou detect only onboard STLink on U585, you have to check hardware connection between your computer and the external STlinkv2 plugged on CN5.

Confirm if the USB cable is a data version (and not a only charger version) otherwise change STLinkV2, change USB port.

If you are using Windows OS, you can check in Device Manager if STLinkV2 appears in USB Device list.

When your operating system will detect both STLinkV3 onboard and STLINKV2 external then STM32CubeProgrammer will list them.

BR,

Romain,

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.