FreeCalypso > hg > freecalypso-sw
changeset 141:f8bb6cd4edd3
k5a3281.init (for GTA0x): set WS=3 for nCS0 like the official firmware does
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Tue, 12 Nov 2013 04:53:30 +0000 |
parents | 5b53cad88637 |
children | 15d5977390c2 |
files | loadtools/scripts/k5a3281.init |
diffstat | 1 files changed, 6 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/loadtools/scripts/k5a3281.init Mon Nov 11 11:06:50 2013 +0000 +++ b/loadtools/scripts/k5a3281.init Tue Nov 12 04:53:30 2013 +0000 @@ -2,12 +2,11 @@ # The closest datasheet that could be found is for K5A3280; # all current understanding of this IC is based on the latter datasheet. -# The flash part of the MCP is wired to nCS0. The access time is 70 ns -# just like on the flash part used in the Pirelli DP-L10, so use the -# same setting. -w16 fffffb00 00A4 +# 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. -# The RAM part of this MCP (wired to nCS1 as usual) appears to be real -# SRAM, not pSRAM like in S71PL129NC0. The access time is advertised -# as 55 ns, and OsmocomBB sets WS to 3. We'll do the same. +w16 fffffb00 00A3 w16 fffffb02 00A3