Hi all, I've been facing RTT issues on my target, and I've tried to spend some time now to find a solution (JLinkRTTViewer works just fine). For the first time, I've been able to get RTT to work with this hack: ```diff diff --git a/probe-rs/src/probe/arm_debug_interface.rs b/probe-rs/src/probe/arm_debug_interface.rs index efd46c0e..c9ca8d12 100644 --- a/probe-rs/src/probe/arm_debug_interface.rs +++ b/probe-rs/src/probe/arm_debug_interface.rs @@ -56,7 +56,7 @@ impl Default for SwdSettings { fn default() -> Self { Self { num_idle_cycles_between_writes: 2, - num_retries_after_wait: 1000, + num_retries_after_wait: 40000, max_retry_idle_cycles_after_wait: 128, idle_cycles_before_write_verify: 8, idle_cycles_after_transfer: 8, ``` ... buf it takes sooo long, making it unusable in practice. The error I'm facing is: ``` WARN probe_rs::probe::arm_debug_interface: Error in access 5/32 of block access: Target device responded with a WAIT response to the request. WARN probe_rs::probe::arm_debug_interface: DAP FAULT WARN probe_rs::probe::arm_debug_interface: Writing DAP register failed. Ctrl/Stat register value is: Ctrl { .0: 4026535715, csyspwrupack: true, csyspwrupreq: true, cdbgpwrupack: true, cdbgpwrupreq: true, cdbgrstack: false, c_dbg_rst_req: false, errmode: false, trn_cnt: 0, mask_lane: 15, w_data_err: false, read_ok: false, sticky_err: true, stick_cmp: false, trn_mode: 0, sticky_orun: true, orun_detect: true, } WARN probe_rs::session: Could not clear all hardware breakpoints: An ARM specific error occurred. Caused by: 0: Error using access port. 1: Failed to write register CSW at address 0x00000000 2: An error occurred in the communication with an access port or debug port. 3: Target device responded with a FAULT response to the request. Error Failed to attach to RTT Caused by: Error attempting to attach to RTT: Error communicating with probe: An ARM specific error occurred. ``` Any help/guidance would be appreciated.