view demo/Pirelli-CP2102-recreate @ 102:4f72e09fb698

doc/CP2102-EEPROM-tools: complete for now
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 28 Sep 2023 21:13:33 +0000
parents dd35206a5159
children
line wrap: on
line source

# This ASCII line-based script is an EEPROM patch specification file for
# cp2102-patch-ee-image.  The present EEPROM patch file is a demonstration
# of what our tools can do: it replicates the same modifications to the
# CP2102 EEPROM that were done by Foxconn in the making of their legendary
# Pirelli DP-L10 phone.
#
# Needless to say, we (FreeCalypso) do NOT recommend patching the EEPROM
# on some random CP2102 device or cable and turning it into a USB device
# that pretends to be a Pirelli DP-L10.  The present EEPROM patch file is
# NOT the right way to convert your CP2102 adapter to GSM baud rates -
# a different, more proper procedure will be provided for that purpose.
# Instead the present EEPROM patch file is only a demo, and perhaps a
# starting point to be used if anyone is going to make a new CP2102-based
# custom device despite this chip being NRND.

# remap baud rates for GSM
baud-entry  3:  812500 = FFE2, FFF4, 1, 0	# 800000 baud, 24 us
baud-entry  6:  406250 = FFC5, FFE9, 1, 0	# 406779 baud, 46 us
baud-entry  9:  203125 = FF8A, FFD3, 1, 0	# 203389 baud, 90 us

# set Foxconn USB ID
vid 0x0489
pid 0xE003

# Foxconn set the product ID string to "DMT" - does it mean
# "Dual Mode Telephone"?

product DMT