2020-08-10 10:52 AM
I was normally using STM32CubeIDE V 1.3.0 and St-Link was working.
The St-Link firmware is updated.
The St-Link Utility (V 4.4.0.0 and V 4.5.0.0) finds and connects to the St-Link correctly.
Whenever a new IDE version becomes available, will the user have to ask for help to make St-Link work? :|
Can the IDE itself update St-Link? (Or at least report the problem correctly?)
2020-08-11 01:04 AM
Help > Check for Updates ... STM32CubeIDE 1.4.1 is solving trouble.
2020-08-11 09:13 PM
Thanks, this update I did right after installation. Still not working.
2020-08-12 12:30 AM
Hi,
As my experience, I got the same issue when update from 1.3 to 1.4 version.
In CubeIDE 1.4, we need to install STM32Cube Programmer, I'm not sure but I think CubeIDE1.4 use Cube Programmer as default software to run task.
You can download this software here https://www.st.com/en/development-tools/stm32cubeprog.html
Hieu
2020-08-12 03:26 AM
Thank you, I saw your answer just now. I had already downloaded CubeMX and Prog, it really worked. What a pity, too bad, making an IDE of this size but depends on other software.
2020-08-12 03:39 AM
Cube is an ST's Ecosystem, it includes CubeIDE, CubeMX and CubeProgrammer, so I think that's business strategy =)))
Hieu
2020-08-12 03:53 AM
I did some tests (following the order quoted, in sequence):
So it's not just that yet. I did something else.
2020-08-12 05:36 AM
And it still doesn't work.
I found another post with several users with the same problem:
Some say it is a matter of using HUB, but it has nothing to do with it, since version 1.3 works without problems.
2020-08-12 06:04 AM
I found another post, citing OpenOCD.
I tried and worked the ST-Link with OpenOCD.
It seems to be a problem with GDB Server, it seems that IDE 1.4 does not work properly with GDB Server.
Download pre-built OpenOCD for Windows:
2020-08-18 07:21 PM
C:\ST\STM32CubeIDE_1.3.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.stlink-gdb-server.win32_1.3.0.202002181050\tools\bin>ST-LINK_gdbserver.exe -d -v -e -cp "C:\ST\STM32CubeIDE_1.3.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.stlink-gdb-server.win32_1.3.0.202002181050\tools\bin"
use this command ,it works fine.just run the bat file,and then can debug as normal.