comparison loadtools/scripts/pirelli.init @ 0:e7502631a0f9

initial import from freecalypso-sw rev 1033:5ab737ac3ad7
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 11 Jun 2016 00:13:35 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:e7502631a0f9
1 # This phone has 3 memory chip selects:
2 #
3 # nCS0: flash chip select 1
4 # nCS1: RAM chip select
5 # nCS3: flash chip select 2
6 #
7 # All 3 chip select lines go to the same physical IC, a RAM/flash MCP.
8 # We set WS=4 for all 3 here, copying what OsmocomBB does. The access
9 # time listed in the datasheet is 70 ns for both RAM and flash, and per
10 # my math setting WS=3 *might* work, but it could be marginal, so let's
11 # play it safe for now.
12
13 w16 fffffb00 00A4
14 w16 fffffb02 00A4
15 w16 fffffb06 00A4
16
17 # We also need to switch the CS4/ADD22 pin from its default function
18 # of CS4 to the needed ADD22.
19
20 w16 fffef006 0008
21
22 # With this phone all Calypso serial access always goes through the
23 # CP2102 usb2serial IC inside the phone itself, which is programmed
24 # to support the high non-standard baud rates. So we can safely
25 # switch to 812500 baud unconditionally.
26
27 baud 812500