Closed chris1seto closed 4 years ago
Oops. Dupe of https://github.com/stlink-org/stlink/issues/1040
Turns out the stlink tool doesn't download firmware from the net, it uses whatever it was bundled with. I was many versions behind!
@chris1seto don't close tickets even if they appear to be duplicates. They will be closed automatically, if the related issue has been finally solved.
Reviewing this issue leads to the conclusion that a firmware update has been applied with the official ST Link FW Updater: https://www.st.com/en/development-tools/stsw-link007.html This is also the procedure we propose when running into issues with this toolset before opening a new issue. As we do not provide any support for firmware updates in this toolset nor the ability to update the latter, one should contact the ST Microelectronics Support for related issues.
@Nightwalker-87 yes, sorry. I had run an update but I had an old version of the updater. I assumed it went out onto the internet to get the update and that I had the latest, but the stlink binaries are embedded in the app. Fwiw, 39 was the latest version which worked
Command: st-flash --format ihex write file.hex Output: st-flash 1.6.1-100-ge3a2e7b 2020-10-10T11:51:02 WARN common.c: unknown chip id! 0x5fa0004 Failed to connect to target
I know both nucleos are good. I regularly program them with STLinkV2 tool and Stm32CubeProgrammer
Any ideas? Thanks!