Bug 1020

Summary: Pipistrello-ols only works when FTDI chip is in FIFO mode
Product: libsigrok Reporter: Tim 'mithro' Ansell <mithro>
Component: Driver: pipistrello-olsAssignee: Nobody <nobody>
Status: CONFIRMED ---    
Severity: minor    
Priority: Normal    
Version: unreleased development snapshot   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: Mode configuration for FTDI chip

Description Tim 'mithro' Ansell 2017-09-03 22:46:18 CEST
The pipistrello-ols driver requires the FDTI chip on the Pipistrello to be in "FIFO mode". If the FDTI chip is in "UART mode" a person should use the openbench-logic-sniffer driver instead.

libftdi (see https://www.intra2net.com/en/developer/libftdi/documentation/group__libftdi.html#ga6213209895e40153d103a72654d53b81 and https://www.intra2net.com/en/developer/libftdi/documentation/ftdi_8h.html#ac40507f049c077d5bab6bf0e65c103cd) offers a way to detect the mode the FDTI chip is in. If a pipistrello in "UART mode" is detected, the driver should tell the user to use the openbench-logic-sniffer driver instead.

Would be even better if it just silently redirected you to the other driver in some way?
Comment 1 Tim 'mithro' Ansell 2017-09-03 23:30:42 CEST
See http://forum.gadgetfactory.net/index.php?/topic/1864-fpga-as-usb-pia/ for more information on the FTDI EEPROM settings needed (and possibly how to detect them?).
Comment 2 Tim 'mithro' Ansell 2017-09-10 08:34:10 CEST
Created attachment 330 [details]
Mode configuration for FTDI chip