From e659737ab6228e2da955057637d567c64822825e Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Thu, 24 Apr 2014 19:25:27 +0200 Subject: [PATCH] ft230x: Use factory values for drive strength. --- src/ftdi.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/ftdi.c b/src/ftdi.c index 8546319..011f464 100644 --- a/src/ftdi.c +++ b/src/ftdi.c @@ -3059,7 +3059,8 @@ int ftdi_eeprom_build(struct ftdi_context *ftdi) case TYPE_230X: output[0x00] = 0x80; /* Actually, leave the default value */ output[0x0a] = 0x08; /* Enable USB Serial Number */ - output[0x0c] = (0x01) | (0x3 << 4); /* DBUS drive 4mA, CBUS drive 16mA */ + /*FIXME: Make DBUS & CBUS Control configurable*/ + output[0x0c] = 0; /* DBUS drive 4mA, CBUS drive 4 mA like factory default */ for (j = 0; j <= 6; j++) { output[0x1a + j] = eeprom->cbus_function[j]; @@ -3122,6 +3123,8 @@ static unsigned char bit2type(unsigned char bits) /** Decode binary EEPROM image into an ftdi_eeprom structure. + For FT-X devices use AN_201 FT-X MTP memory Configuration to decode. + \param ftdi pointer to ftdi_context \param verbose Decode EEPROM on stdout -- 1.7.1