-
Couldn't load subscription status.
- Fork 234
Description
Environment
OS: Ubuntu 18.04.5 LTS (bionic)
Python: 3.6+
pyftdi: 0.53
Chip: FTDI FT232R (VID=0x0403, PID=0x6001)
Development setup: Windows (PyCharm SSH remote to Ubuntu host)
Problem (Serial Number Garbled)
When setting a serial number with pyftdi:
from pyftdi.eeprom import FtdiEeprom
eeprom = FtdiEeprom()
eeprom.open("ftdi://::/1")
eeprom.set_serial_number("ADDNAAIMC01")
eeprom.commit()
eeprom.close()
After replugging the device:
Ftdi.list_devices() shows garbled characters instead of "ADDNAAIMC01".
lsusb -v cannot display a valid serial string (iSerial).
However, reading back with eeprom._config.get('serial') still shows the correct "ADDNAAIMC01".
When programming the same serial with FT_Prog on Windows, everything works correctly.