From cdccb9cd10f5e27f5ae36c9c7a5446dc5c1c4ee8 Mon Sep 17 00:00:00 2001 From: Rafael Silva Date: Tue, 3 Oct 2023 23:26:13 +0100 Subject: [PATCH] misc: update documentation to replace deprecated command --- UsingRTT.md | 10 +++++----- UsingSWO.md | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/UsingRTT.md b/UsingRTT.md index 998c9fc2289..24f664cb2ba 100644 --- a/UsingRTT.md +++ b/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 diff --git a/UsingSWO.md b/UsingSWO.md index c7104f689b3..de10a656672 100644 --- a/UsingSWO.md +++ b/UsingSWO.md @@ -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 ```