back_to_uart : program to put the Piksi back into VCP mode after
grabbing samples, or just initially
Modified sample grabber to look for default VID/PID and UART
product description if it can't find our custom VID/PID and description
Added prompt of user to confirm that FTDI device is the correct
one to configure, and command line argument to bypass prompting
Adding README describing programs' functionality
Changed how back_to_uart tries to open device,
removed EEPROM programming - UART mode seems to not work after
programming EEPROM, not sure what correct settings are,
just erasing EEPROM works fine for now
Replaced tabs with spaces
Added support for detecting FPGA FIFO overflows,
compatible with passthru_samples_fergus in HDL commit with hashtag
b03bc8a1efdbca930d03fa9b128e16f22c80bf91
Committing gingerly, it seemed that sometimes you can't read out
any samples unless you first run the version of sample_grabber in
this commit to write to the EEPROM, then run the one in the last
commit, and then run this one again.
Think this was the reason it wouldn't work sometimes, moved
FT_SetBitMode so that it happens on the second execution (second
execution where sampling is done vs first execution where EEPROM
is programmed)
Changed fifo overflow flag to a #define
Changed polarity of the FIFO overflow bit, couple other minor changes.
Commenting out FT_Close() in exit_handler for now, causes occasional
seg faults.
Added TODO comment about FT_Close()
Basic sample grabber based on stream_test example from libftdi, can only
record a maximum of 130 seconds of data
Change the way samples are extracted and written to speed things up
libftdi header
Comment fiddling
Forgot to initialize for loop index, changed conv_buf from malloc'd
char * to explicit array.
Changed stream_test to use pipe and pthread. Instead of writing
samples into the pipe it currently writes test data and checks the data
when it pulls it out of the pipe in the file writing function.
Now writes samples to file instead of generating and checking test
data pre and post FIFO
Changed copyright to 2012-2013