Skip to content

Commit 2a3a226

Browse files
docs: openocd: fix commands to use new cmdline
Commit 0fc70a0 changed the syntax of the `via` word to add the bridge driver. Reflect this change in the OpenOCD docs too. Signed-off-by: Tan Siewert <tan@siewert.io>
1 parent 545b677 commit 2a3a226

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/OpenOCD.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ target create $_TARGETNAME arm11 -chain-position auto0.tap
6262

6363
Run culvert (via Debug UART on `/dev/ttyUSB0` in this case):
6464
```bash
65-
culvert jtag /dev/ttyUSB0
65+
culvert jtag via debug-uart /dev/ttyUSB0
6666
```
6767

6868
> Wait for culvert to be ready:
@@ -97,12 +97,12 @@ set architecture armv6
9797
target extended-remote localhost:3333
9898
```
9999

100-
Using GDB over a Debug UART connection is painfully slow, but it'll work in a pinch.
100+
Using GDB over a Debug UART connection is painfully slow, but it'll work in a pinch.
101101
You can now use GDB to open the ELF binary of your Linux kernel, u-boot, etc. and try to debug it.
102102

103103
## External devices
104104

105105
Run culvert (via Debug UART on `/dev/ttyUSB0`) using the --target flag:
106106
```bash
107-
culvert jtag --target external /dev/ttyUSB0
107+
culvert jtag --target external via debug-uart /dev/ttyUSB0
108108
```

0 commit comments

Comments
 (0)