FreeCalypso > hg > freecalypso-tools
view target-utils/dspdump/dumpagent.c @ 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 | 27b5526ba1a8 |
children |
line wrap: on
line source
/* * The following dump agent code has been taken from OsmocomBB. This code * is run on the Calypso DSP by way of the DSP's bootloader, i.e., it is * booted in the place of the ROM or production patch code, and it provides * an API protocol to the ARM7 host by way of which we read out the ROM code. * * For the corresponding source for this DSP agent code, please refer to the * OsmocomBB code repository - we have not modified it in FreeCalypso. */ #include "types.h" u16 dsp_agent_code[0x5B] = { 0x69f8, 0x0029, 0x0002, 0xea1f, 0x7718, 0x1100, 0x7714, 0x0000, 0x7712, 0x0800, 0x767f, 0x0001, 0x607f, 0xffff, 0xf820, 0x1014, 0xf273, 0x1008, 0x7682, 0x0100, 0x607f, 0x0004, 0xf820, 0x101c, 0xf273, 0x1008, 0x7214, 0x0800, 0x607f, 0x0002, 0xf820, 0x100c, 0x127e, 0x8813, 0x3c7c, 0x137d, 0x8911, 0xf84c, 0x1028, 0xf4e2, 0x7715, 0x0014, 0x963d, 0xfa30, 0x104b, 0x6d89, 0x963f, 0xfa30, 0x103f, 0x963e, 0xf495, 0xf830, 0x103a, 0x47f8, 0x0011, 0x7f92, 0xf073, 0x1008, 0x47f8, 0x0011, 0x7e92, 0xf073, 0x1008, 0xf830, 0x1046, 0x47f8, 0x0011, 0xe589, 0xf073, 0x1008, 0x47f8, 0x0011, 0xe598, 0xf073, 0x1008, 0x4911, 0x891a, 0xf830, 0x1055, 0xf072, 0x1052, 0xf074, 0x7213, 0xf073, 0x1008, 0xf072, 0x1058, 0xf074, 0xe4b8, 0xf073, 0x1008 };