Problem Description
When using CubeIDE to download the program, here is a prompt that STM32CubeIDE needs ST Link update
pop up
“in order to use the attached ST-LINK with this version of STM32CubeIDE an update of the ST LINK firmware is required”
"In order to use a connected ST-LINK with this version of STM32CubeIDE, the ST-LINK firmware needs to be updated"
However, if the Cube update fails, the firmware version number of the ST LINK version cannot be read; during the firmware update process, an error occurs first and then a success prompt appears, but the update is not completed.
Solution
Download and install the STM32 ST_LINK Utility software update to the latest version of the driver,
PS: When updating the ST Link, the ST LINK should be disconnected from the STM32.
After clicking to connect to ST LINK, the internal driver version of the chip will appear, and then click Yes to update as needed, remove the ST Link if there is an error in the middle, and then try again, and finally read the internal driver of the chip to be consistent with the updated driver version. The update is successful.
Then the Cube will no longer prompt that an update is required, and at the same time cancel the automatic check for updates.