On Fri, Jun 21, 2013 at 5:31 PM, Anders Larsen <[email protected]> wrote:

> Hi,
>
>
> On 2013-06-21 11:36, Ori Idan wrote:
>
>> On Fri, Jun 21, 2013 at 11:31 AM, Anders Larsen <[email protected]> wrote:
>>
>> > On 2013-06-20 17:00, Ori Idan wrote:
>> >
>> >> Thank you, it still does not work.
>> >> I use the command: sudo ftdi_eeprom --read-eeprom example.conf
>> >> I get EEPROM size: -1
>> >>
>> >
>> > aah, that means that the EEPROM is erased (all 0xff);
>> > see ftdi_read_eeprom() in ftdi.c: "Guesses size of eeprom ... will not
>> > work with blank eeprom"
>>
>>
>> If EEPROM is erased, how do I get the Vendor Id and Product Id when doing
>> lsusb?
>>
>
> with an erased EEPROM the FTDI chip falls back to the default
> vendor:product (which is 0403:6011)


Assuming my EEPROM is erased, I tried doing flash-eeprom.
The result was even stranger:
Unable to find FTDI devices under given vendor/product id: 0x403/0x6011
Error code: -4 (usb_open() failed)
Retrying with default FTDI pid=0x6001.
Error: device not found

I did lsusb again to make sure the device is connected and got the expected
result:
Bus 001 Device 005: ID 0403:6011 Future Technology Devices International,
Ltd FT4232H Quad HS USB-UART/FIFO IC

-- 
Ori Idan


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to [email protected]   

Reply via email to