stlink: STM32F4 Discovery Unknown Chip ID! 0 - Due to Read Out Protection level 1

  • [Stlink/v2] Programmer/board type: e.g Stlink/v1, Stlink/v2, Stlink/v2-onboard
  • [STSW-STM32068 1.1.0] Programmer firmware version: e.g STSW-LINK007 2.27.15
  • [Ubuntu 14.04 ] Operating system: e.g Linux, Mac OS X, Windows (with specific version)
  • [ Most recent (downloaded it today)] Stlink tools version and/or git commit hash: e.g v1.1.0/git-c722056
  • [st-flash] Stlink commandline tool name: e.g st-info, st-flash, st-util
  • [STM32f4 Discovery] Target chip (and optional board): e.g STM32F402VG (STM32Fxxx Discovery)

A as-detailed description possible of the problem with debug output when available. I am following the basic tutorial found here: http://makeict.org/wiki/STM32F4_Discovery_on_Linux and when I get to “sudo st-flash write bin/main.bin 0x8000000” the LD1 and COM lights toggle on/off with a blue color and I get the output shown below. I have tried using your tool on other projects and it still doesn’t work. Any help would be appreciated 😃

Output: 2016-05-24T23:22:01 INFO src/common.c: Loading device parameters… 2016-05-24T23:22:01 WARN src/common.c: unknown chip id! 0

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 17 (9 by maintainers)

Most upvoted comments

Damn, thats a shame -_-". Good luck, thank you for your contribution.