stlink-org / stlink

Open source STM32 MCU programming toolset
BSD 3-Clause "New" or "Revised" License
4.42k stars 1.24k forks source link

Nucleo STM32F767ZI: WARN common.c: unknown chip id! 0x5fa0004 #1047

Closed chris1seto closed 4 years ago

chris1seto commented 4 years ago

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!

chris1seto commented 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!

Nightwalker-87 commented 4 years ago

@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.

Nightwalker-87 commented 4 years ago

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.

chris1seto commented 4 years ago

@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