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

Add additional command to try when verifying installation. #259

Merged
merged 1 commit into from
Aug 17, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions src/intro/install/verify.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,22 @@ and move to the [next section].

[next section]: ../../start/index.md

If you didn't get the "breakpoints" line then try the following command.
If you didn't get the "breakpoints" line then try one of the following commands.

``` console
$ openocd -f interface/stlink-v2.cfg -f target/stm32f3x.cfg
```

If that command works that means you got an old hardware revision of the
``` console
$ openocd -f interface/stlink-v2-1.cfg -f target/stm32f3x.cfg
```

If one of those commands works it means you got an old hardware revision of the
discovery board. That won't be a problem but commit that fact to memory as
you'll need to configure things a bit differently later on. You can move to the
[next section].

If neither command worked as a normal user then try to run them with root
If none of the commands work as a normal user then try to run them with root
permission (e.g. `sudo openocd ..`). If the commands do work with root
permission then check that the [udev rules] have been correctly set.

Expand Down