cancel
Showing results for 
Search instead for 
Did you mean: 

Cube Programmer does not detect disco board, Cube IDE works fine.

Bob Bailey
Senior

I can program and debug fine in CubeIDE 1.5, when I try to use the programmer (2.5) it does not detect the st link on the disco board (F746 in this case) is the IDE using another application to do its flashing (so Programmer is broken), or is it something else? WIndow 7 64 bit.

2 REPLIES 2
TDK
Guru

STM32CubeIDE uses STM32CubeProgrammer to flash, but it's own version. You can see which version it's using in the console output. Here it is from mine:

STMicroelectronics ST-LINK GDB server. Version 5.6.0
Copyright (c) 2020, STMicroelectronics. All rights reserved.
 
Starting server with the following options:
        Persistent Mode            : Disabled
        Logging Level              : 1
        Listen Port Number         : 61234
        Status Refresh Delay       : 15s
        Verbose Mode               : Disabled
        SWD Debug                  : Enabled
        InitWhile                  : Enabled
 
Waiting for debugger connection...
Debugger connected
      -------------------------------------------------------------------
                       STM32CubeProgrammer v2.5.0-RC1                  
      -------------------------------------------------------------------

Might want to reconnect the board and/or reboot to ensure nothing else is using the ST-Link.

If you feel a post has answered your question, please click "Accept as Solution".
Bob Bailey
Senior

I tried rebooting, etc. Same issue.

I was thinking it might be a 32bit/64bit issue. will check the installation files. Perhaps try it on another computer.

I have some alpha testers with the 746-disco boards and I want them to be able to load test code (they are far away). So this is going to be an important step in this project.