FreeCalypso > hg > freecalypso-sw
view loadtools/scripts/k5a3281.init @ 923:10b4bed10192
gsm-fw/L1: fix for the DSP patch corruption bug
The L1 code we got from the LoCosto fw contains a feature for DSP CPU load
measurement. This feature is a LoCosto-ism, i.e., not applicable to earlier
DBB chips (Calypso) with their respective earlier DSP ROMs. Most of the
code dealing with that feature is conditionalized as #if (DSP >= 38),
but one spot was missed, and the MCU code was writing into an API word
dealing with this feature. In TCS211 this DSP API word happens to be
used by the DSP code patch, hence that write was corrupting the patched
DSP code.
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 19 Oct 2015 17:13:56 +0000 |
parents | f8bb6cd4edd3 |
children |
line wrap: on
line source
# The RAM+flash MCP in the GTA02 GSM modem block is SEC K5A3281CTM. # The closest datasheet that could be found is for K5A3280; # all current understanding of this IC is based on the latter datasheet. # OsmocomBB sets WS=3 for both nCS0 and nCS1. At first I was concerned that # the setting was wrong for nCS0, but I have now located the responsible # code in the moko11 binary (see the moko11 notes file in the # freecalypso-reveng Hg tree) and confirmed that the official firmware # runs with the same settings. So let's do likewise. w16 fffffb00 00A3 w16 fffffb02 00A3