annotate loadtools/scripts/c155.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 fe9e620c89ff
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
420
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 # Set WS=3 for both nCS0 and nCS1, same as the more basic Compal phones
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
3 w16 fffffb00 00A3
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4 w16 fffffb02 00A3
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
5
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
6 # We need to switch the CS4/ADD22 pin from its default function of CS4
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
7 # to the needed ADD22, to access the 8 MiB of flash. Compal's C155/156
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
8 # in-flash boot code does this setting, but let's do it ourselves too.
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
10 w16 fffef006 0008
479
fe9e620c89ff loadtools on C155/156: use the flash mapping at 0x03000000
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 420
diff changeset
11
fe9e620c89ff loadtools on C155/156: use the flash mapping at 0x03000000
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 420
diff changeset
12 # We don't mess with the FFFF:FB10 register on C155/156, i.e., we
fe9e620c89ff loadtools on C155/156: use the flash mapping at 0x03000000
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 420
diff changeset
13 # leave the "enable boot ROM" setting established by compalstage.
fe9e620c89ff loadtools on C155/156: use the flash mapping at 0x03000000
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 420
diff changeset
14 # Unlike C139, C155 and C156 phones do have working flash mapping
fe9e620c89ff loadtools on C155/156: use the flash mapping at 0x03000000
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 420
diff changeset
15 # at 0x03000000, so we use that.