Bug 1020 - Pipistrello-ols only works when FTDI chip is in FIFO mode
Summary: Pipistrello-ols only works when FTDI chip is in FIFO mode
Status: CONFIRMED
Alias: None
Product: libsigrok
Classification: Unclassified
Component: Driver: pipistrello-ols (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Normal minor
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-03 22:46 CEST by Tim 'mithro' Ansell
Modified: 2017-09-10 08:34 CEST (History)
0 users



Attachments
Mode configuration for FTDI chip (15.43 KB, image/jpeg)
2017-09-10 08:34 CEST, Tim 'mithro' Ansell
Details

Note You need to log in before you can comment on or make changes to this bug.
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