Skip to content

Commit e961789

Browse files
committed
More info on probe-run / SWD probe on Linux Mint.
1 parent ae8d846 commit e961789

1 file changed

Lines changed: 15 additions & 6 deletions

File tree

ASSEMBLY.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,11 @@ The Board Management Controller (BMC) is responsible for controlling power and r
8585
3. Ensure you have the Rust Programming Language installed (see <https://www.rust-lang.org>)
8686
4. Install the `probe-run` tool:
8787

88-
```console
89-
$ cargo install probe-run
90-
```
88+
```console
89+
$ cargo install probe-run
90+
```
91+
92+
**NOTE**: Linux Mint requires `open-ocd`, `libudev-dev` and `libusb-1.0-0-dev` before installing `probe-run`.
9193

9294
5. Connect your Arm Serial Wire Debug probe to J1001, the BMC programming header.
9395
* If you have 12V DC power to the board, the 3.3V pin will be live and should be treated as an output - connect it to the VTref pin of your programmer if it has one.
@@ -106,9 +108,9 @@ $ cargo install probe-run
106108
2. Ensure you have the Rust Programming Language installed (see <https://www.rust-lang.org>)
107109
3. Install the `probe-run` tool (if you didn't do it earlier):
108110

109-
```console
110-
$ cargo install probe-run
111-
```
111+
```console
112+
$ cargo install probe-run
113+
```
112114

113115
4. Connect 12V DC to your board and press the ON/OFF button (if the BMC isn't programmed, do that first).
114116
5. Connect your Arm Serial Wire Debug probe to the SWD pins of the Raspberry Pi Pico.
@@ -124,6 +126,13 @@ Time to learn Rust and get hacking on the BIOS and the OS! That's what the Neotr
124126

125127
You can make one out of a Raspberry Pi Pico. See <https://github.com/rp-rs/rp2040-project-template/blob/main/debug_probes.md> for more details.
126128

129+
For Linux Mint, the udev-rules also needs to be updated for the SWD debug probe. The file `/etc/udev/rules.d/99-cmsis-dap.rules` should include:
130+
131+
```
132+
# cafe:4005 RP2040 Pico with CMSIS-DAP
133+
SUBSYSTEM=="usb", ATTR{idVendor}=="cafe", ATTR{idProduct}=="4005", MODE:="0666"
134+
```
135+
127136
## Connecting up a PC Case
128137

129138
You can connect the power and reset buttons of a standard ATX case to the relevant pin headers (J1002 and J1003). You also connect an 8 ohm speaker to J1006, and the Power and HDD LEDs to J1005 and J1004.

0 commit comments

Comments
 (0)