rust-embedded / book

Documentation on how to use the Rust Programming Language to develop firmware for bare metal (microcontroller) devices
https://docs.rust-embedded.org/book/
Apache License 2.0
1.09k stars 172 forks source link

Issue with Macbook Pro M1 #309

Open oscarcalderonc opened 2 years ago

oscarcalderonc commented 2 years ago

Hello. I'm in the hardware section of rust embedded book, trying to verify the installation of required packages for macos. But when I run the command i just get this output:

Open On-Chip Debugger 0.11.0
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
WARNING: interface/stlink-v2-1.cfg is deprecated, please switch to interface/stlink.cfg
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
Error: open failed

Not sure if this is an issue regarding being a M1 version?

KenxinKun commented 2 years ago

Did you plug in the board before running the command? I get open failed if I forget :o