misc: update documentation to replace deprecated command

This commit is contained in:
Rafael Silva
2023-10-03 23:26:13 +01:00
committed by Rachel Mant
parent e5e36213c1
commit 0ca2fb2429
2 changed files with 6 additions and 6 deletions

View File

@@ -24,7 +24,7 @@ In another window open a debugger:
```
$ gdb
(gdb) target extended-remote /dev/ttyBmpGdb
(gdb) monitor swdp_scan
(gdb) monitor swd_scan
(gdb) attach 1
(gdb) monitor rtt
(gdb) run
@@ -154,7 +154,7 @@ As an example, if the RTT identifier is "IDENT STR":
```
$ gdb
(gdb) target extended-remote /dev/ttyBmpGdb
(gdb) monitor swdp_scan
(gdb) monitor swd_scan
(gdb) attach 1
(gdb) monitor rtt ident IDENT_STR
(gdb) monitor rtt
@@ -183,7 +183,7 @@ two COM ports. Connect an ansi terminal emulator to the higher numbered of the t
Sample gdb session:
```
(gdb) target extended-remote COM3
(gdb) monitor swdp_scan
(gdb) monitor swd_scan
(gdb) attach 1
(gdb) monitor rtt
(gdb) run
@@ -217,7 +217,7 @@ In another window :
```
gdb
(gdb) target extended-remote /dev/ttyBmpGdb
(gdb) monitor swdp_scan
(gdb) monitor swd_scan
(gdb) attach 1
(gdb) monitor rtt
(gdb) run
@@ -239,7 +239,7 @@ In another Terminal window, connect gdb to /dev/cu.usbmodemDDCEC9EC1 :
```
gdb
(gdb) target extended-remote /dev/cu.usbmodemDDCEC9EC1
(gdb) monitor swdp_scan
(gdb) monitor swd_scan
(gdb) attach 1
(gdb) monitor rtt
(gdb) run

View File

@@ -135,7 +135,7 @@ Attach to BMP to your PC:
gdb> target extended_remote /dev/ttyBmpGdb # Choose BMP as the remote target
gdb> mon traceswo # Start SWO output
gdb> mon traceswo 115200 # If async SWO is used, set the decoding baud rate that matches the target
gdb> mon swdp_scan # Scan for the SWD device
gdb> mon swd_scan # Scan for the SWD device
gdb> attach 1 # Attach to the device
gdb> run # Start the program execution
```