FreeCalypso > hg > fc-tourmaline
view src/cs/system/bootloader/inc/protocol.h @ 273:5caa86ee2cfa
enable L1_NEW_AEC in l1_confg.h (bold change)
The AEC function implemented in DSP ROM 3606 on the Calypso silicon
we work with is the one that corresponds to L1_NEW_AEC; the same holds
for DSP 34 and even for DSP 33 with more recent patch versions.
However, TI shipped their TCS211 reference fw with L1_NEW_AEC set to 0,
thus driving AEC the old way if anyone tried to enable it, either via
AT%Nxxxx or via the audio mode facility. As a result, the fw would
try to control features which no longer exist in the DSP (long vs short
echo and the old echo suppression level bits), while providing no way
to tune the 8 new parameter words added to the DSP's NDB page.
The only sensible solution is to bite the bullet and enable L1_NEW_AEC
in L1 config, with fallout propagating into RiViera Audio Service
T_AUDIO_AEC_CFG structure and into /aud/*.cfg binary file format.
The latter fallout will be addressed in further code changes.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 29 Jul 2021 18:32:40 +0000 |
parents | 4e78acac3d88 |
children |
line wrap: on
line source
/****************************************************************************** * FLUID (Flash Loader Utility Independent of Device) * * (C) Delta Technologies 2001. * Cleanup, modifications and extensions by Mads Meisner-Jensen, mmj@ti.com. * * Target/PC protocol definition * * $Id: protocol.h 1.9 Wed, 31 Oct 2001 11:47:00 +0100 mmj $ * ******************************************************************************/ enum ProtocolChars { PROTO_HELLO = 'H', PROTO_BAUDRATE = 'B', PROTO_HARDWARE = 'H', PROTO_QUERY = 'Q', PROTO_QUERY_CHIP = 'C', PROTO_READY = 'R', PROTO_ISEMPTY = 'I', PROTO_DOWNLOAD = 'L', PROTO_DETECT = 'D', PROTO_ERASE = 'E', PROTO_COMPRESS = 'Z', PROTO_PROGRAM = 'P', PROTO_CKSUM = 'C', PROTO_READ = 'R', PROTO_RESET = '0', PROTO_ERROR_CKSUM = 'X', PROTO_ERROR_MEMORY = 'M', PROTO_ERROR_FLASH_TIMEOUT = 'T', PROTO_ERROR_FLASH_COMMAND = 'C', PROTO_ERROR_FLASH_VPP = 'P', PROTO_ERROR_FLASH_LOCKED = 'L', PROTO_ERROR_VERIFY = 'V', PROTO_CHECKSUM = 'C', PROTO_VERSION = 'V', PROTO_ERROR = '?', PROTO_TRACE = '$' }; // Not really part of the protocol but as this header file is included by // both PC side and target side source code, this is an easy place to put // these difinitions. enum ChipIdCodes { // Ulysses and Hercules CHIP_ID_ULYSSES_0 = 0xB2B5, CHIP_ID_ULYSSES_A = 0xB335, CHIP_ID_HERCULES_A = 0xB334, // Correct revision designation? CHIP_ID_HERCULES_B = 0xB32C, // Correct revision designation? // Samson and Calypso CHIP_ID_CALYPSO_A = 0xB2AC, CHIP_ID_CALYPSO_B = 0xB396 };