Skip to main content
MLy.1
Associate II
May 19, 2023
Solved

Fail to download code to the STM32WB55RG board using ST-link on STM32CubeIDE

  • May 19, 2023
  • 7 replies
  • 4359 views

Hi,

Bought a new STM32WB55RG development board, created a sample code on STM32CubeIDE V1.12.1, compile good in IDE. ( using Windows 10)

But when download to the board by click the RUN button, it will pop up Error screen - The exception unknown software exception (0x40000015) occurred in the application at location 0x00000000000482646.

Created another example code, it had the same issue..

The board connect OK to Windows PC USB. I try another code and run on Keil, it does able to download. So I think the board itself is good, only the setting of the CubeIDE issue.

USB cable is only 2 feet long.

Thanks idea of to fix it?

thanks!

This topic has been closed for replies.
Best answer by MLy.1

HI

Finally found this is a Windows issue. I tried on 3 PC, first 2 failed with the exact same error. The 3rd Windows PC works good. They are both 64 bit Windows 10. Don't know how to fix but I have to use the 3rd PC to work for it.

Thanks!

7 replies

Wijeden RHIMI
ST Employee
May 19, 2023

Hello @MLy.1

Could you please provide us a screenshot of debug configuration ?

Thanks,

Wijeden.

MLy.1
MLy.1Author
Associate II
May 19, 2023

Hi Wijeden,

Here is the debugger setting screen and the jumpers setting on the board.

Thanks!

Martin

MLy.1
MLy.1Author
Associate II
May 19, 2023

..

MLy.1
MLy.1Author
Associate II
May 19, 2023

If I press "scan" button in the debugger setting, it will show the same error. Then show "fail to list debug probes" . Is that mean the port of the board is dead?

MLy.1
MLy.1Author
Associate II
May 19, 2023

However, if I download code from Keil, the LED6 on the board will blink green & red and then download done. That also mean the USB port is good.

So I am confused.

Is that mean the setting of the CubeIDE has something wrong?

Thanks!

Remy ISSALYS
ST Technical Moderator
May 22, 2023

Hello,

You can have a look to examples available in STM32CubeWB package and compare the setting with your project.

Best Regards

MLy.1
MLy.1AuthorBest answer
Associate II
May 26, 2023

HI

Finally found this is a Windows issue. I tried on 3 PC, first 2 failed with the exact same error. The 3rd Windows PC works good. They are both 64 bit Windows 10. Don't know how to fix but I have to use the 3rd PC to work for it.

Thanks!