Skip to content

Segmentation fault #313

@KenxinKun

Description

@KenxinKun

Hi! I'm just trying to run the verification steps (here) and all the variants of the command return me a segmentation fault... Here's the output:

$ openocd -f interface/stlink.cfg -f target/stm32f3x.cfg

Open On-Chip Debugger 0.11.0
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport "hla_swd". To override use 'transport select <transport>'.
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : clock speed 1000 kHz
[1]    71890 segmentation fault  openocd -f interface/stlink.cfg -f target/stm32f3x.cfg

Some extra context:

  • STM32F3DISCOVERY connected via USB ST-LINK to miniB to USB-A cable to USB-C adapter to my mac
  • Board is functional (i.e. default loaded SW is running with LEDs flashing and gyroscope on etc)
  • Running MacOs Monterey 12.2.1
  • rustc 1.58.1
  • Added rustup target thumbv7em-none-eabihf
  • Installed cargo-binutils, llvm-tools-preview and cargo-generate
  • gdb 10.3-2021.07
  • openocd 0.11.0
  • qemu 6.2.0

Any suggestions on how to solve this?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions