view artifacts/CP2102-std-baud @ 68:5cbde3c80c24

fteeprom-{erase,prog}: detach logic: change to detach by default As it turns out, detaching all ttyUSB interfaces of a multichannel device does not require outside knowledge of how many channels there are, as in our previous -d option design that is being removed here - instead we can read the bNumInterfaces constant from the USB device's config descriptor and thus know how many interfaces there are in total. Based on this discovery, change the design of fteeprom-{erase,prog} as follows: * remove -d option; * flip the default to where we detach all interfaces by default; * add -n option to NOT detach any interfaces.
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 13 Sep 2023 06:37:03 +0000
parents 230b9790046b
children
line wrap: on
line source

# This CP2102 EEPROM image has been read out of a Sysmocom CP2102-25
# cable adapter; it is one of the newer units that shipped with
# 230400/460800/921600 baud rates rather than 13 MHz GSM ones.
#
# This CP2102 EEPROM image appears to be pristine, i.e., not modified
# after the CP2102 chip left Silabs.

:10360000FFF0FFFA010060E31600FFF0FFFA01008F
:1036100060E31600FFECFFF80100804F1200FFE6A8
:10362000FFF6010000100E00FFD6FFF0010000CAF7
:103630000800FFD0FFEE010020A10700FFCCFFEC47
:10364000010000080700FFA2FFDC010000E8030002
:10365000FFA0FFDC010090D00300FF98FFD901001C
:1036600000840300FF64FFC5010000580200FF440E
:10367000FFB9010000F40100FF30FFB2010000C2F9
:103680000100FEC8FF8B0100002C0100FE89FF73C2
:10369000010000FA0000FE5FFF63010000E100008E
:1036A000FE53FF5F0100C0DA0000FE2BFF50010057
:1036B00000C80000FD8FFF15010000960000FCBF50
:1036C000FEC7010080700000FB1EFE2B0100004BB6
:1036D0000000FA24FE0C0100803E0000F97DFE0C83
:1036E000010040380000F63CFE0C0100802500007F
:1036F000F2FBFE0C0100201C0000EC78FE0C010027
:10370000C0120000E890FE0C0100A00F0000D8F0ED
:10371000FE0C010060090000CBEBFE0C0100080765
:103720000000B1E0FE0C0100B004000063C0FE0C1C
:10373000010058020000B1E0FE0C04002C01000062
:103740000000000000000000000000000000000079
:103750000000000000000000000000000000000069
:103760000000000000000000000000000000000059
:103770000000000000000000000000000000000049
:103780000000000000000000000000000000000039
:103790000000000000000000000000000000000029
:1037A0000000000000000000000000000000000019
:1037B0000000000000000000000000000000000009
:1037C00000000000000000000000000000000000F9
:1037D00000000000000000000000000000000000E9
:1037E00000000000000000000000000000000000D9
:1037F00000000000000000000000000000000002C7
:1038000004030904000000004A0343005000320092
:1038100031003000320020005500530042002000EB
:1038200074006F0020005500410052005400200039
:1038300042007200690064006700650020004300D8
:103840006F006E00740072006F006C006C00650009
:1038500072000000000000000000000000000000F6
:103860000000000000000000000000000000000058
:103870000000000000000000000000000000000048
:103880000000000000000000000000000000000038
:103890000000000000000000000000000000000028
:1038A0000000000000000000000000000000000018
:1038B0000000000000000000000000000000000008
:1038C00000000000000000000000000000000000F8
:1038D00000000000000000000000000000000000E8
:1038E00000000000000000000000000000000000D8
:1038F00000000000000000000000000000000000C8
:10390000000000000000000A0330003000300031E9
:1039100000000000000000000000000000000000A7
:103920000000000000000000000000000000000097
:103930000000000000000000000000000000000087
:103940000000000000000000000000000000000077
:103950000000000000000000000000000000000067
:103960000000000000000000000000000000000057
:103970000000000000000000000000000000000047
:1039800000000000000000021201100100000040D1
:10399000C41060EA000101020301090220000101D4
:1039A0000080320904000002FF00000207058102C6
:1039B0004000000705010240000000000000000078
:1039C0000000001A03530069006C00690063006F77
:1039D000006E0020004C00610062007300000000D7
:1039E00000000000000000000000000000000000D7
:1039F000000000000000000000000000000000FFC8
:00000001FF