ST-LINK V2 Update error Unexpected flash size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-12 6: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?
- Labels:
-
Other Tools
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-19 9: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-20 5:01 AM - edited ‎2024-03-21 6: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-21 5:55 AM
Encountered Same Issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-25 6:43 AM - edited ‎2024-03-25 6:43 AM
Same here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-25 2:29 PM
the same issue "unexpected flash size for st-link micro"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-25 2: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-26 6:22 AM
I am seeing this issue also. Using CubeProgrammer still causes the popup too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-31 9: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-02 1:00 AM
Same problem here
