# HG changeset patch # User Mychaela Falconia # Date 1732602463 0 # Node ID 961efadd530a2d80a33b5e222fd9dd8412a8e98b # Parent bc4dc383ff4aa449108d5a303e306bb8a73589a5 fc-shell TCH DL handler: add support for CSD modes TCH DL capture mechanism in FC Tourmaline firmware has been extended to support CSD modes in addition to speech - add the necessary support on the host tools side. It needs to be noted that this mechanism in its present state does NOT provide the debug utility value that was sought: as we learned only after the code was implemented, TI's DSP has a misfeature in that the buffer we are reading (a_dd_0[]) is zeroed out when the IDS block is enabled, i.e., we are reading all zeros and not the real DL bits we were after. But since the code has already been written, we are keeping it - perhaps we can do some tests with IDS disabled. diff -r bc4dc383ff4a -r 961efadd530a rvinterf/asyncshell/tchcmd.c --- a/rvinterf/asyncshell/tchcmd.c Mon Sep 23 12:28:57 2024 +0000 +++ b/rvinterf/asyncshell/tchcmd.c Tue Nov 26 06:27:43 2024 +0000 @@ -139,6 +139,26 @@ expect_pktlen = 45; databytes = 33; break; + case TCH_24F_MODE: + mode_kw = "D24"; + expect_pktlen = 21; + databytes = 10; + break; + case TCH_48F_MODE: + mode_kw = "D48"; + expect_pktlen = 27; + databytes = 16; + break; + case TCH_96_MODE: + mode_kw = "D96"; + expect_pktlen = 41; + databytes = 30; + break; + case TCH_144_MODE: + mode_kw = "D144"; + expect_pktlen = 49; + databytes = 38; + break; default: goto inv; }