2024-02-12 06:05 AM
Used this ST-Link V2 with W10 some years ago. Now on Linux I want to use it with openocd and got error:
ST-Link version does not support DAP direct transport
Most likely the cable adapter needs update.
But the STLinkUpgrade.jar reported Unexpected flash size after opening the cable in update mode.
What can I do to use the cable?
2024-03-19 09:23 AM
I think it is something to do with STLinkUpgrade tool v3.14.5 which is part of Cube32 IDE 1.15.0.
I got my debugger to work by reverting CubeProgrammer v2-16-0 to v2-15-0. CubeProgrammer v2-15-0 comes with STLinkUpgrade tool v3.13.4. Although not the latest, it lets me upgrade the st-link firmware which works with IDE 1.15.0.
Whenever I start the debugger, IDE prompts to upgrade the st-link firmware which if rejected, will let use the debugger as normal.
2024-03-20 05:01 AM - edited 2024-03-21 06:50 AM
I'm experiencing exactly the same issue.
After upgrading STM32CubeIDE to 1.15.0 it always prompts a message to upgrade the ST-LINK firmware.
It deploys the STLinkUpgrade utility with version 3.14.5 and from there, it's impossible to update none of the originals ST-LINK/V2 that we own.
If we run latest STMCubeProgrammer version -2.16.0- and run from there the Firmware Upgrade, the STLinkUpgrade launched is version 3.13.4 which works as expected.
Current firmware version on ST-LINK/V2 is V2J4357
BR
2024-03-21 05:55 AM
Encountered Same Issue
2024-03-25 06:43 AM - edited 2024-03-25 06:43 AM
Same here.
2024-03-25 02:29 PM
the same issue "unexpected flash size for st-link micro"
2024-03-25 02:42 PM
I was able to upgrade, I've downloaded https://www.st.com/en/development-tools/stsw-link007.html a previous version - 3.13.4.
2024-03-25 11:20 PM
As I stated, STMCubeProgrammer version -2.16.0- includes the Firmware Upgrade utility and the STLinkUpgrade launched is version 3.13.4 which works as expected.
2024-03-26 06:22 AM
I am seeing this issue also. Using CubeProgrammer still causes the popup too.
2024-03-31 09:43 AM
Same problem with STM32CubeIDE 1.15.0, launching STLinkUprade 3.14.5, while I play with an STM32F429I_DISCO board. Will try the stand-alone programmer.
2024-04-02 01:00 AM
Same problem here