Skip to content
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

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

Closed
chris1seto opened this issue Oct 10, 2020 · 4 comments
Closed

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

chris1seto opened this issue Oct 10, 2020 · 4 comments

Comments

@chris1seto
Copy link

  • Programmer/board type: [Nucleo Stm32f767 unmodified, right out of the box, tried 2 devices]
  • Operating system and version: [Ubuntu 20.04.1 LTS] (e.g Linux, Mac OS X, Windows)
  • Stlink tools version and/or git commit hash: [e3a2e7b
    fresh clone from git, st-flash 1.6.1-100-ge3a2e7b]
  • Stlink commandline tool name: [st-flash --format ihex write file.hex]
  • Target chip (and board if applicable): [STM32F767zi]

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
Copy link
Author

Oops. Dupe of #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
Copy link
Member

Nightwalker-87 commented Oct 10, 2020

@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 Nightwalker-87 changed the title [Nucleo Stm32F767zi]: WARN common.c: unknown chip id! 0x5fa0004 Nucleo Stm32F767zi: WARN common.c: unknown chip id! 0x5fa0004 Oct 10, 2020
@Nightwalker-87 Nightwalker-87 changed the title Nucleo Stm32F767zi: WARN common.c: unknown chip id! 0x5fa0004 Nucleo STM32F767ZI: WARN common.c: unknown chip id! 0x5fa0004 Oct 10, 2020
@Nightwalker-87
Copy link
Member

Nightwalker-87 commented Oct 21, 2020

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
Copy link
Author

@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

@stlink-org stlink-org locked as resolved and limited conversation to collaborators Dec 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.