annotate demo/Pirelli-CP2102-recreate @ 103:f2542deec11a

README: update for release-ready state
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 29 Sep 2023 18:17:36 +0000
parents dd35206a5159
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
94
dd35206a5159 demo/Pirelli-CP2102-recreate: add demo file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 # This ASCII line-based script is an EEPROM patch specification file for
dd35206a5159 demo/Pirelli-CP2102-recreate: add demo file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 # cp2102-patch-ee-image. The present EEPROM patch file is a demonstration
dd35206a5159 demo/Pirelli-CP2102-recreate: add demo file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 # of what our tools can do: it replicates the same modifications to the
dd35206a5159 demo/Pirelli-CP2102-recreate: add demo file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 # CP2102 EEPROM that were done by Foxconn in the making of their legendary
dd35206a5159 demo/Pirelli-CP2102-recreate: add demo file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 # Pirelli DP-L10 phone.
dd35206a5159 demo/Pirelli-CP2102-recreate: add demo file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 #
dd35206a5159 demo/Pirelli-CP2102-recreate: add demo file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 # Needless to say, we (FreeCalypso) do NOT recommend patching the EEPROM
dd35206a5159 demo/Pirelli-CP2102-recreate: add demo file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 # on some random CP2102 device or cable and turning it into a USB device
dd35206a5159 demo/Pirelli-CP2102-recreate: add demo file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 # that pretends to be a Pirelli DP-L10. The present EEPROM patch file is
dd35206a5159 demo/Pirelli-CP2102-recreate: add demo file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 # NOT the right way to convert your CP2102 adapter to GSM baud rates -
dd35206a5159 demo/Pirelli-CP2102-recreate: add demo file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 # a different, more proper procedure will be provided for that purpose.
dd35206a5159 demo/Pirelli-CP2102-recreate: add demo file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 # Instead the present EEPROM patch file is only a demo, and perhaps a
dd35206a5159 demo/Pirelli-CP2102-recreate: add demo file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 # starting point to be used if anyone is going to make a new CP2102-based
dd35206a5159 demo/Pirelli-CP2102-recreate: add demo file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 # custom device despite this chip being NRND.
dd35206a5159 demo/Pirelli-CP2102-recreate: add demo file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15
dd35206a5159 demo/Pirelli-CP2102-recreate: add demo file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 # remap baud rates for GSM
dd35206a5159 demo/Pirelli-CP2102-recreate: add demo file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 baud-entry 3: 812500 = FFE2, FFF4, 1, 0 # 800000 baud, 24 us
dd35206a5159 demo/Pirelli-CP2102-recreate: add demo file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 baud-entry 6: 406250 = FFC5, FFE9, 1, 0 # 406779 baud, 46 us
dd35206a5159 demo/Pirelli-CP2102-recreate: add demo file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 baud-entry 9: 203125 = FF8A, FFD3, 1, 0 # 203389 baud, 90 us
dd35206a5159 demo/Pirelli-CP2102-recreate: add demo file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20
dd35206a5159 demo/Pirelli-CP2102-recreate: add demo file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 # set Foxconn USB ID
dd35206a5159 demo/Pirelli-CP2102-recreate: add demo file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 vid 0x0489
dd35206a5159 demo/Pirelli-CP2102-recreate: add demo file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 pid 0xE003
dd35206a5159 demo/Pirelli-CP2102-recreate: add demo file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24
dd35206a5159 demo/Pirelli-CP2102-recreate: add demo file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 # Foxconn set the product ID string to "DMT" - does it mean
dd35206a5159 demo/Pirelli-CP2102-recreate: add demo file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 # "Dual Mode Telephone"?
dd35206a5159 demo/Pirelli-CP2102-recreate: add demo file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27
dd35206a5159 demo/Pirelli-CP2102-recreate: add demo file
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 product DMT