annotate loadtools/scripts/k5a3281.init @ 853:ae254ffeaec3

AT command interface works! The cause of the breakage was the same Nucleus API issue with NU_Create_Timer() which we encountered at the very beginning of this project with Riviera timers: the code in uartfax.c from TCS211 was passing 0 as the initial dummy value for the timer duration, and our FreeNucleus version doesn't like it. The fix is the same: pass 1 as the initial dummy value instead.
author Space Falcon <falcon@ivan.Harhan.ORG>
date Thu, 30 Apr 2015 01:46:26 +0000
parents f8bb6cd4edd3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
86
2f12c31fcc9c loadtools/scripts: hw configuration for GTA02
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 # The RAM+flash MCP in the GTA02 GSM modem block is SEC K5A3281CTM.
2f12c31fcc9c loadtools/scripts: hw configuration for GTA02
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2 # The closest datasheet that could be found is for K5A3280;
2f12c31fcc9c loadtools/scripts: hw configuration for GTA02
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
3 # all current understanding of this IC is based on the latter datasheet.
2f12c31fcc9c loadtools/scripts: hw configuration for GTA02
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4
141
f8bb6cd4edd3 k5a3281.init (for GTA0x): set WS=3 for nCS0 like the official firmware does
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 86
diff changeset
5 # OsmocomBB sets WS=3 for both nCS0 and nCS1. At first I was concerned that
f8bb6cd4edd3 k5a3281.init (for GTA0x): set WS=3 for nCS0 like the official firmware does
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 86
diff changeset
6 # the setting was wrong for nCS0, but I have now located the responsible
f8bb6cd4edd3 k5a3281.init (for GTA0x): set WS=3 for nCS0 like the official firmware does
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 86
diff changeset
7 # code in the moko11 binary (see the moko11 notes file in the
f8bb6cd4edd3 k5a3281.init (for GTA0x): set WS=3 for nCS0 like the official firmware does
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 86
diff changeset
8 # freecalypso-reveng Hg tree) and confirmed that the official firmware
f8bb6cd4edd3 k5a3281.init (for GTA0x): set WS=3 for nCS0 like the official firmware does
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 86
diff changeset
9 # runs with the same settings. So let's do likewise.
86
2f12c31fcc9c loadtools/scripts: hw configuration for GTA02
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
10
141
f8bb6cd4edd3 k5a3281.init (for GTA0x): set WS=3 for nCS0 like the official firmware does
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 86
diff changeset
11 w16 fffffb00 00A3
86
2f12c31fcc9c loadtools/scripts: hw configuration for GTA02
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12 w16 fffffb02 00A3