-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
st-flash not working after FW-upgrade of STLink-v2 #956
Comments
I have encountered the same problem after updating ST-Link firmware to 2.37.26 in Nucleo-64 STM32F030R8 board. |
So may we add a comment like "DO NOT UPDATE STLINK FIRMWARE TO THE LATEST VERSION IF YOU WANT TO USE THIS SOFTWARE"? |
To me it would be more interesting to know why this actually fails... |
For me it is too late... I have downgraded the firmware to the oldest version available on st.com, but it hasn't helped. As a workaround, I've managed to flash my code using bootloader, USART and |
I think: YES. |
Maybe this link can provide some help https://community.st.com/s/question/0D50X00009XkhxW/downgrade-stlinkv2-firmware-revision Edit: RN0093 may also be helpful. Could anyone figure out which version is the last known good one? |
Unfortunately these old firmwares have only Windows updater. And, as one may guess, this updater does not work under wine. |
If I remember, I upgraded my stlink v2 clone with a java edition of the updater on macOS. The device functions well after the upgrade. I will check tomorrow if I still have that firmware on my computer. |
I'll upgrade my STLINKv2/clone to the latest firmware and report if I run into any issues. |
I have tested the original approach with the official firmware versions V2.J29.S7 and V2.J34.S7 and Release v1.6.1:
I'll do a second test with the previous release for investigation. However, we can already confirm that there is no general problem with current STLINKv2 firmware versions, even if used with cloned programming devices. |
@busier: This is the version of the upgrade tool, not the firmware version of the programmer. The latter is determined by the upgrade tool and the latest available version is displayed afterwards. Please retry with your hardware and only use official tools and versions from ST. |
The thread is open again. These are the latest versions which are offered for a STLINK-v2 & and STLINK-v2 clone programmer here via the ST firmware-update tool. I personally can not test on any other hardware, sry. |
Another test with Release v1.6.1 and Firmware V2.J36.S7 (tool-updated to 2.5.3):
We are getting closer - there is ANOTHER update available in the meanwhile which deploys V2J37S7 - so you are correct. I have tested the latter as well with the same result. |
Good news:
|
@grzegorz-kraszewski: Your board uses a different programmer hardware: STLINK-v2-1. @chenguokai: I think we should close this now as resolved, as the original problem obviously does not relate to the |
don't changes:
|
@busier: As shown, this is not a problem of the |
My local test with a ST Link v2 clone seems fine with FW version Could there be some issues specific to the on-board ST Links? |
We don't know yet, but that's why I suggested @grzegorz-kraszewski to open a separate ticket, if the problem persists on an onboard V2-1 module. |
For Ubuntu 20.04 and Ubuntu 18.04.
|
@busier: This ticket is closed and will not be reopened. Please do not recycle it. |
Hi,
Unfortunately, STlink Tools not working after firmware upgrade for board ST-LINK/V2.
However this board to works fine with STM32CubeIDE.
UPD. Jun 3 2020. 2@nightwalker-87.
I answer here, because the thread closed 4 comments.
Last update is Programmer firmware version: V2J37S7.
I did downgrade firmware V2J36S7 for to work st-flash.
Your versions FW V2.J29.S7 and V2.J34.S7 are too old.
The text was updated successfully, but these errors were encountered: