mirror of
https://github.com/blackmagic-debug/blackmagic.git
synced 2025-10-14 02:58:36 +08:00
misc: update documentation to replace deprecated command
This commit is contained in:

committed by
Rachel Mant

parent
e5e36213c1
commit
0ca2fb2429
10
UsingRTT.md
10
UsingRTT.md
@@ -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
|
||||
|
@@ -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
|
||||
```
|
||||
|
Reference in New Issue
Block a user