With STM32Cube IDE v1.15.0 update problem with STLink
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-20 5:13 AM
Hello all,
I have updated the STM32Cube IDE version to the 1.15.0, it has own STLinkUpgrade tool which is also updated to version 3.14.5. But a problem arised. It wants me to update my STLink V2 firmware. When I tried, It gives error like:
"Unexpected flash size for ST-Link Micro. Don`t know how to upgrade."
But I can use the older version 3.13.4 without any problem:
Is there a problem caused by 3.13.5 or caused by my ST-Link V2?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-21 9:01 AM - edited ‎2024-03-21 9:03 AM
Hello,
Try to update your ST-Link FW with the STSW-LINK007 ST-Link firmware updater application. Use ST-LinkUpgrade.exe executable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-21 9:26 AM
Hi, I have exactly same problem.
Rom size problem could be from wrong file path. Let 's wait a fix.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-21 9:34 AM
Just a data point: Cube 1.15.0 successfully upgraded firmware in my STLINK V3 ISOL but could not use the debugger afterwards (error messages posted above).
I did not try running Cube on the target without upgrading the debugger, which unfortunately I did immediately.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-22 6:36 AM
Thanks for this!
One of our engineers was able to make it work following through on your suggestion.
It also indicates that Cube's latest update has goofed up Link code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-24 8:52 PM
Hi, yes i had the same issues. after playing around i discovered if you change the debug settings it does work.
run->debug configurations-> debugger tab then change the debug probe to "ST LINK (Open OCD)" then it all works ignore the red text during uploading.
Be nice if they actually tested the new software before releasing, rather then leaving it up to the users to find the bugs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-25 12:14 AM
Hi,
I tried but same. The versions of ST-Link firmware updater applications are same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-25 6:03 AM
I've downloaded the ST-Link upgrade v3.14.5 from:
https://www.st.com/en/development-tools/stsw-link007.html
Unpack the zip and run STLinkUpgrade exe in the windows folder.
I was surprised when this successfully upgraded the ST-Link/V2 to V2.J44.S7 and then allowed the IDE to run without prompting for an upgrade it cannot complete!
Hope this works for you until a fix comes out for STM32Cube IDE 1.15.0
Regards Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-25 11:04 AM
Thank you for posting this. That solved my problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-26 2:09 AM
Wow! I am curious how, let me try once again :beaming_face_with_smiling_eyes:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-26 10:40 AM
Coti, you're the best. I installed STMprogrammer and updated from here. At first it threw the same error, but then I disconnected my board and connected it while holding down the RESET button and.... VOILA! It allowed me to download the firmware. Then I tried in STMCubeIDE, the warning message came up that I needed to update, I clicked NO, and DONE! Thank you very much! I've been dealing with this for two days.
