Skip to content

Commit

Permalink
misc: update documentation to replace deprecated command
Browse files Browse the repository at this point in the history
  • Loading branch information
perigoso authored and rg-silva committed Oct 5, 2023
1 parent fbeffc0 commit cdccb9c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions UsingRTT.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion UsingSWO.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down

0 comments on commit cdccb9c

Please sign in to comment.