FreeCalypso > hg > fc-magnetite
annotate doc/FCDEV3B-751774 @ 635:baa0a02bc676
niq32.c DTR handling restored for targets that have it
TI's original TCS211 fw treated GPIO 3 as the DTR input (wired so on C-Sample
and D-Sample boards, also compatible with Leonardo and FCDEV3B which have a
fixed pull-down resistor on this GPIO line), and the code in niq32.c called
UAF_DTRInterruptHandler() (implemented in uartfax.c) from the
IQ_KeypadGPIOHandler() function. But on Openmoko's GTA02 with their official
fw this GPIO is a floating input, all of the DTR handling code in uartfax.c
including the interrupt logic is still there, but the hobbled TCS211-20070608
semi-src delivery which OM got from TI contained a change in niq32.c (which
had been kept in FC until now) that removed the call to
UAF_DTRInterruptHandler() as part of those not-quite-understood "CC test"
hacks.
The present change fixes this bug at a long last: if we are building fw for a
target that has TI's "classic" DTR & DCD GPIO arrangement (dsample, fcmodem and
gtm900), we bring back all of TI's original code in both uartfax.c and niq32.c,
whereas if we are building fw for a target that does not use this classic GPIO
arrangement, the code in niq32.c goes back to what we got from OM and all
DTR & DCD code in uartfax.c is conditioned out. This change also removes the
very last remaining bit of "CC test" bogosity from our FreeCalypso code base.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 19 Jan 2020 01:41:35 +0000 |
parents | 9f19cc5e46e8 |
children |
rev | line source |
---|---|
622
9f19cc5e46e8
FCDEV3B-751774 experiment documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 We have one experimental FCDEV3B V2 board on which our regular Calypso chip |
9f19cc5e46e8
FCDEV3B-751774 experiment documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 ([P]D751992AGHH) has been replaced with D751774AGHH, an earlier F-number |
9f19cc5e46e8
FCDEV3B-751774 experiment documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 featuring DSP ROM version 3416 rather than the final version 3606 which we |
9f19cc5e46e8
FCDEV3B-751774 experiment documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 normally work with. Both chip versions are Calypso C035 variants (ARM7 running |
9f19cc5e46e8
FCDEV3B-751774 experiment documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 at 52 MHz, DSP running at 104 MHz), and both include AMR support - but there |
9f19cc5e46e8
FCDEV3B-751774 experiment documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 must have been some issue with DSP version 34 (and maybe version 35 used in |
9f19cc5e46e8
FCDEV3B-751774 experiment documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 Calypso+) that compelled TI to produce the newer and final version 36 which we |
9f19cc5e46e8
FCDEV3B-751774 experiment documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 are most familiar with. |
9f19cc5e46e8
FCDEV3B-751774 experiment documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 |
9f19cc5e46e8
FCDEV3B-751774 experiment documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 Our Layer1 code is based on TI's TCS211-20070608 semi-src release (which we have |
9f19cc5e46e8
FCDEV3B-751774 experiment documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 reconstructed back to full source), and it officially supports only DSP 36. |
9f19cc5e46e8
FCDEV3B-751774 experiment documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 However, our FC Magnetite firmware can also be built for DSP 34 targets (see |
9f19cc5e46e8
FCDEV3B-751774 experiment documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 the Calypso-version-override article), in which case we use a monolithic DSP |
9f19cc5e46e8
FCDEV3B-751774 experiment documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 patch (no L1_DYN_DSP_DWNLD) extracted from the TSM30 source. The patch version |
9f19cc5e46e8
FCDEV3B-751774 experiment documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 is 4130. |
9f19cc5e46e8
FCDEV3B-751774 experiment documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 |
9f19cc5e46e8
FCDEV3B-751774 experiment documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 The configure.sh target name for this special modified board is fcdev3b-dsp34 |
9f19cc5e46e8
FCDEV3B-751774 experiment documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 instead of just fcdev3b, and the two firmware builds are not interchangeable: |
9f19cc5e46e8
FCDEV3B-751774 experiment documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 the regular fcdev3b build goes into regular FCDEV3B boards, the special |
9f19cc5e46e8
FCDEV3B-751774 experiment documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 fcdev3b-dsp34 build goes into the special FCDEV3B-751774 board. However, when |
9f19cc5e46e8
FCDEV3B-751774 experiment documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 running its respective build this DSP 34 board appears to function just as well |
9f19cc5e46e8
FCDEV3B-751774 experiment documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 as our regular DSP 36 targets: standalone RF tests work, DSP-based audio |
9f19cc5e46e8
FCDEV3B-751774 experiment documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 services (beeps and Melody E1) work, connecting to a live GSM network worked, |
9f19cc5e46e8
FCDEV3B-751774 experiment documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 a few test voice calls worked, all of them connected in AMR mode, voice passed |
9f19cc5e46e8
FCDEV3B-751774 experiment documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 successfully in both directions. |
9f19cc5e46e8
FCDEV3B-751774 experiment documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 |
9f19cc5e46e8
FCDEV3B-751774 experiment documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 Going forward, we shall continue using D751992AGHH chips with DSP ROM version |
9f19cc5e46e8
FCDEV3B-751774 experiment documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 3606 as our regular platform, but it is nice to know that the earlier DSP 34 |
9f19cc5e46e8
FCDEV3B-751774 experiment documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 apparently works too. |