Thanks to visit codestin.com
Credit goes to github.com

Skip to content

add support for STM32F412 #537

@Androude

Description

@Androude
  • Programmer/board type: Stlink/v2-onboard
  • Operating system: Linux Ubuntu 16.04
  • Stlink tools version and/or git commit hash: st-util 1.2.0-155-gecc31f7-dirty
  • Stlink commandline tool name: st-flash, st-util
  • Target chip (and optional board): 32F412 (32F412GDISCOVERY)

The STM32F412 micro-controller line is not supported.

Output:

st-util 1.2.0-155-gecc31f7-dirty
2017-01-02T18:57:39 INFO /home/androude/apps/stlink/src/stlink/src/common.c: Loading device parameters....
2017-01-02T18:57:39 WARN /home/androude/apps/stlink/src/stlink/src/common.c: unknown chip id! 0x30006441

Expected/description:

I have fixed the issue locally by adding appropriate chipid-params structure and if-condition to flash loader. Using the 32F412GDISCOVERY device I successfully entered debug mode with gdb from eclipse.

I have never made a pull-request so fixing this issue could be the first one for me.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions