FreeCalypso > hg > freecalypso-tools
changeset 1014:961efadd530a default tip
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.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 26 Nov 2024 06:27:43 +0000 |
parents | bc4dc383ff4a |
children | |
files | rvinterf/asyncshell/tchcmd.c |
diffstat | 1 files changed, 20 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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; }