annotate loadtools/scripts/k5a3281.init @ 992:a7b0b426f9ca

target-utils: boot ROM UART autodetection revamped The new implementation should work with both the familiar Calypso C035 boot ROM version found in our regular targets as well as the older Calypso F741979B version found on the vintage D-Sample board.
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Wed, 30 Dec 2015 21:28:41 +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