-
Notifications
You must be signed in to change notification settings - Fork 63
Description
Thanks for including the documentation in English for the CH341 IC - my Chinese is non-existent! 😌
I just purchased a cheap-as-chips HL-340 translucent bodied USB to serial adapter/lead and from the idVendor and idProduct codes it seems to be based on one of the CH340/1 I.C.s. Notable for this type of unit (unlike say the FTDI ones) is that it does not have a unique SerialNumber - I have heard that all units report a "0" value. This seems to be because when the SDA and SCL pins are floating (?) during reset, the device assumes a default configuration as a USB to Serial. Gazing through the casing on the specimen I have, I can see that that the active device(s) seem to be something bonded directly to the PWB - which conceals what RS232 driver I.C. is being used along side the CH34x I.C. . Also it does not show whether there IS an I2C NVRam present and connected or not.
I was thinking that it might be possible to use the resources here to test and see whether there is an NVRam attached in these units and, if so, it might be worth forking off a project to provide a utility that could carefully reprogram specific values therein, which are used to configure the Unit, to allow a user to assign a different number to several otherwise identical USB-to-Serial units. This would make distinguishing amongst them in, say udev rules very feasible, rather than having to rely on noting which USB port they were plugged into. Any thoughts anyone?