The branch, renames-for-release has been created
at ac5790a7af9ffb45c00bde056b308643cd52537e (commit)
- Log -----------------------------------------------------------------
commit ac5790a7af9ffb45c00bde056b308643cd52537e
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Thu Jun 21 17:15:25 2012 +0200
pkgconfig file: Depend on libusb-1.0
commit e18b700743217e8c505e97762e0f66a4f6a90425
Author: Maciej Grela <maciej.grela@xxxxxxxxx>
Date: Wed Jun 20 23:08:50 2012 +0200
Fix libftdi.pc file generation when building with -DDOCUMENTATION=OFF
commit 06c863da145d3d0e43cb32a052ddd87b1590c5e3
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Tue May 22 15:45:55 2012 +0200
Add Xiaofan Chen to AUTHORS. This was long overdue
commit c143448b10272d9c712ec1682eecc2554f71e1b1
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Tue May 22 15:44:50 2012 +0200
Add Jared Boone to AUTHORS
commit 11bc93d829ed92e617c112b5e4a5138965cca822
Author: Jared Boone <jared@xxxxxxxxxxxxxxxx>
Date: Sat May 12 14:09:40 2012 -0700
Patch for building examples on MacOS X Lion
I had trouble with CMake picking up my /opt/local/include directory before
my libftdi/src directory. I was getting the MacPorts-installed libftdi-0.20
headers, not the headers from the build tree. This was only happening during
building of examples/. This patch addressed my problem.
- Jared
commit a7c32c59a04044e70612b3ea598ab51b2cff3174
Author: Daniel Kirkham <dk2@xxxxxxxxxxxxx>
Date: Sat May 12 19:32:38 2012 +1000
EEPROM max_power build/decode inconsistency
Hello all,
As promised, below is a patchset to make eeprom->max_power consistently
express power (current) requirements in milliamperes.
I've also updated my AUTHOR address.
Regards,
Daniel
--
From 9e854c8111dba11ea71166e22ca464b474156150 Mon Sep 17 00:00:00 2001
From: Daniel Kirkham <dk2@xxxxxxxxxxxxx>
Date: Sat, 12 May 2012 19:23:57 +1000
Subject: [PATCH] Fix to make eeprom->max_power consistently express power
(current) requirements in milliamperes.
Updated AUTHOR address
commit 6bb2e0a7fda54382f4d32fa8710f267323afbb89
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Fri Apr 13 14:56:21 2012 +0200
Add 'Anders Larsen' to AUTHORS
commit c9a460e336631ed3d21e6f870d4137d5e98c30a7
Author: Anders Larsen <al@xxxxxxxxxxx>
Date: Mon Apr 9 17:29:24 2012 +0200
Bump the library version number to 2.0.0
Allow libftdi-1.0 to co-exist with libftdi-0.x to ease migration.
Signed-off-by: Anders Larsen <al@xxxxxxxxxxx>
commit be4bae37b3f851d7e06610fe474d84a3b2371efb
Author: Anders Larsen <al@xxxxxxxxxxx>
Date: Mon Apr 9 17:29:22 2012 +0200
Completed the support for the FT4232H chip
Added missing fields to the ftdi_eeprom structure and the encoding and
decoding functions.
The ftdi_eeprom utility forces DRIVER_VCP on and RS485 off for all channels,
but this could easily be made configurable, should the need arise.
Signed-off-by: Anders Larsen <al@xxxxxxxxxxx>
commit 243f5f66d2f3eca83c64211263da97237dc96795
Author: Anders Larsen <al@xxxxxxxxxxx>
Date: Mon Apr 9 17:29:20 2012 +0200
ftdi_eeprom: Fix segmentation fault after --flash_eeprom
Allocate a buffer if it's not already available (hint: it was only allocated
by --read-eeprom)
Signed-off-by: Anders Larsen <al@xxxxxxxxxxx>
commit 6162087977a2040b3f2a265b3b510e15adcbd77f
Author: Anders Larsen <al@xxxxxxxxxxx>
Date: Mon Apr 9 17:29:19 2012 +0200
ftdi_eeprom: remove redundant debug output
The (commented-out) debug output after ftdi_eeprom_decode() can be removed
as that function can generate it itself (and it contained obsolete fields
anyway).
Remove the unused config option "chip_type" in the process.
Signed-off-by: Anders Larsen <al@xxxxxxxxxxx>
commit 4b35b81054115909da06b91f196121c550123abb
Author: Xiaofan Chen <xiaofanc@xxxxxxxxx>
Date: Fri Apr 13 11:50:36 2012 +0200
Fix _sleep warning on MinGW
commit 1ec530dc7a8f5720c263226ac43548ecc027e33e
Author: Youness Alaoui <kakaroto@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun Mar 25 18:21:12 2012 -0400
Fix header, API change ftdi_write_data_async has been replaced by
ftdi_write_data_submit
commit 50d77f8f2e8f484106bf254a201b57b4c1572be7
Author: Michel Zou <xantares09@xxxxxxxxxxx>
Date: Fri Feb 3 16:36:04 2012 +0100
Python wrapper update
- Properly wrap ftdi_read_pins / ftdi_read_data
- Add example invocation of the read function to complete.py
commit 9330b1205d8889de6586606228bfb5774491315b
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Mon Jan 16 15:44:31 2012 +0100
C++ wrapper: Reset internal USB device pointer on Context::close()
commit 025db2c2440677121d184a2d6b8bc4d0e810aa5a
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Mon Jan 16 15:42:31 2012 +0100
Example code: Fix compile warnings about unused variables
commit d3af9b2c485fc05df1f89285d0bf2e4d88ddfd38
Author: Peter Schneider <pitpompej@xxxxxxxx>
Date: Tue Jan 10 11:09:11 2012 +0100
cpp-wrapper: when using get-string-and-reopen method without having set up
the usb-device the currently opened usb-device is retreived from the
usb-device-handle used in the ftdi context. this fixes the open methods of the
cpp wrapper that do not get an usb-device by parameter.
commit ca509570df19cef9bfecfeb4088563ddcb6f9f52
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Mon Jan 16 15:24:35 2012 +0100
Remove duplicated udev rule.
Spotted by Rogier Wolff. Thanks.
commit 08dc0034ded8494844bc489871ae9a21f93e8635
Author: Michel Zou <xantares09@xxxxxxxxxxx>
Date: Mon Jan 9 16:43:54 2012 +0100
Fix build on Mac OS X
commit 5a7acb0743fe8d97756837a05c93a2bda4816154
Author: Andreas Helmcke <ahelmcke@xxxxxxxxxxxx>
Date: Mon Dec 12 15:54:00 2011 +0100
Add missing malloc in ftdi_eeprom
commit 24644c054ae5fe193587a0990c14f518d323210e
Author: Xiaofan Chen <xiaofanc@xxxxxxxxx>
Date: Mon Dec 5 12:44:53 2011 +0100
Fix boost include directory in unit test
commit af04b0d0a1a96b154fa4974bd110d49b1c668780
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Tue Nov 29 09:39:01 2011 +0100
Update udev rule syntax for newer kernels
Credit goes to Lucian Langa <cooly@xxxxxxxxxxxx>:
------------------------
SUBSYSTEM=="usb_device" syntax is old usb sysfs (usbfs)
support (kernel <2.6.22)
Correct syntax now should be:
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device"
------------------------
One clarification for the previous commit:
Additional udev rules credit goes to
Canyon Bliss <canyon.bliss+redhat@xxxxxxxxx>
commit 6219bae79ced0e80c85225c4f1c0e40ff665d356
Author: Lucian Langa <cooly@xxxxxxxxxxxx>
Date: Mon Nov 28 16:27:32 2011 +0100
udev rules: Support all FTDI chip types
commit 50280d45a136b6915dfdd06843f5f847a7ca468a
Author: Michel Zou <xantares09@xxxxxxxxxxx>
Date: Fri Oct 21 14:21:52 2011 +0200
Python wrapper update
- wrapped ftdi_get_eeprom_buf
- use of ftdi_usb_find_all is easier
- useless usb_get_strings size args
- fixed possible memory leak from wrapping ftdi_new
commit b3f439b157caa175b276d59c991354d90d88d7c6
Author: Michel Zou <xantares09@xxxxxxxxxxx>
Date: Fri Oct 21 14:17:49 2011 +0200
Drop 64bit lib suffix on debian systems
commit 4c5afeb9e12c71d51950d597c8fe70d5aeb6245e
Author: Michel Zou <xantares09@xxxxxxxxxxx>
Date: Mon Oct 17 18:10:09 2011 +0200
Enhance python wrapper
- Updated functions prototypes in regard to the lib
- Made OUTPUT* typemaps active as they were misplaced regarding headers
order
- Allowed use of ftdi_usb_get_strings
- Added an advanced example script (examples/python/complete.py)
- Stripped the 'ftdi_' suffix to avoid to write "ftdi.ftdi_usb_open(...)";
it becomes just "ftdi.usb_open(...)"
- Removed useless pointer functions since valid OUTPUT typemaps are there
- Some cleanup
commit e93b34879c5abefc8aab1c4bf020a01c9b75b21f
Author: Michel Zou <xantares09@xxxxxxxxxxx>
Date: Tue Oct 11 10:44:26 2011 +0200
Fix installaton of python wrapper
--------------------------------------------
The python wrapper installation path is not correct:
-- Building python bindings via swig. Will be installed under
/usr/site-packages
In fact it doesn't even rely on CMAKE_INSTALL_PREFIX because of this:
GET_FILENAME_COMPONENT(SITEPACKAGE ${PYTHON_LIB_INSTALL}/../site-packages
ABSOLUTE)
I think it should more look like this: (here with
CMAKE_INSTALL_PREFIX=/home/michel/Download/libftdi-git/build/install)
-- Installing:
/home/michel/Download/libftdi-git/build/install/lib64/python2.7/site-packages/_ftdi.so
-- Installing:
/home/michel/Download/libftdi-git/build/install/lib64/python2.7/site-packages/ftdi.py
--------------------------------------------
commit 720c7d2457ae1cd43abd36b3ac7e89b896e65119
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Mon Oct 10 08:19:05 2011 +0200
Increase ftdi_eeprom->cbus_function array again
commit 19382a2855d481d4a5239ae9cdc8d608a826a9de
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Sat Oct 8 15:17:13 2011 +0200
Remove errorneous ; after if
Detected by my upcoming cppcheck check
commit 1c5fa36b67bc30742eee94ed3e3648fcd4640f24
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Fri Oct 7 15:59:54 2011 +0200
Interface can not be changed on an already open device
Based upon code from Uwe Bonnes, improved by me.
commit cd2ead2f23cea38de6fdbf2459c79cb4936fbf8d
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Oct 4 14:57:12 2011 +0200
Use ftdi_new and not ftdi_init in the examples
At least our examples should use the library allocated buffer
and not a user allocated one.
commit e41d34235570f2b3bae3ea5db9150cddf2597810
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Fri Sep 30 10:45:37 2011 +0200
Solved another TODO entry
commit 4b7a5e13ce22e8e1c1f3d1ee01ae4c5f26f07657
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Thu Sep 29 22:46:43 2011 +0200
Add example code demonstrating how to use the python wrapper
commit 2d790e377ad5f1c61b38436aa3d5a201c9184028
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Thu Sep 29 22:09:34 2011 +0200
Remove old ftdi_enable_bitbang() function. It was marked as deprecated for
two years
commit b060307ce075601094a24ea23fc57bd9ed855186
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Thu Sep 29 22:02:20 2011 +0200
SWIG wrapper: Mark ftdi_version_info.version_str and .snapshot_str read only
Fixes this warning:
Warning 451: Setting a const char * variable may leak memory.
commit b790d38e9fac3e2144293a84bfc6de72b01a6c6d
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu Sep 29 18:28:25 2011 +0200
Use a private header for the private EEPROM structures
I added the ftdi_i.h header to bindings/ftdi.i. Noe the bindings compile
again. Other things are untouched.
commit a1e6050855a9dca5f0b700748a3aea094836c410
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Thu Sep 29 19:38:06 2011 +0200
Upgrade doxygen file with 'doxygen -u'
commit d1a15a289797084c846c082e451a143fdc59af7e
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Thu Sep 29 19:33:37 2011 +0200
Quiet normal doxygen output so we only see the useful messages
commit 12cb9e8289eeb3338e06638bf4f8b9efb613a74a
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Thu Sep 29 11:13:41 2011 +0200
Some more steps done towards 1.0
commit 92cbae17a56ce3c6e5f01ea89dafaec75d865be7
Merge: 9a602b8a7d7963b7d19fed7da68899ed39ac720f
3cfec24204a9b8b7e9716587b3c0763a72d218b0
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Thu Sep 29 11:09:35 2011 +0200
Merge remote-tracking branch 'origin/get-library-version'
commit 9a602b8a7d7963b7d19fed7da68899ed39ac720f
Merge: b9c1e31765740e24a34112a3df58e95646b2316b
764e223d730d3503bcbcc81748b3cb4709956747
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Thu Sep 29 11:06:52 2011 +0200
Merge branch 'autoconf-removal'
commit 764e223d730d3503bcbcc81748b3cb4709956747
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Mon Sep 26 11:14:22 2011 +0200
Increase library version to 0.99
commit 84b31f6f01ef644c8d68fdcecb30c1112329281d
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Mon Sep 26 11:11:53 2011 +0200
Remove unused templates directory
It was autocreated by kdevelop back in the days.
commit 594a696965f32a02bf5a0a4a92191820dad1cf4b
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Mon Sep 26 11:06:00 2011 +0200
Update release process documentation
commit 5c561052c19bcc6a3591afaddf2068c427fbabe5
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Mon Sep 26 11:05:30 2011 +0200
Add 'make dist' target
commit 279f5b84cdde81140cb028747343e63afc952d99
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Mon Sep 26 11:00:12 2011 +0200
Remove autoconf support. Project switched to cmake
commit 3cfec24204a9b8b7e9716587b3c0763a72d218b0
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Sun Sep 25 12:10:33 2011 +0200
Missing version header template file
commit 0220adfa93f4baab153efbe71873551f0325a42f
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Sun Sep 25 12:08:55 2011 +0200
Added API to get libftdi library version.
Supports version number as integer, string
and possible git snapshot revision.
Based upon idea by Martin Zenzes.
commit b9c1e31765740e24a34112a3df58e95646b2316b
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Sun Sep 25 10:28:14 2011 +0200
Silence gcc warnings about possible uninitialized variables
commit f9df39f525b9ffebb43bd5a0cfca998f681aed02
Merge: 4e494b76c44b82fc04cbe9939bc10a74f051fad5
3c9ef8f8c6951ac8245b3b6c6eb98758fe06ec4e
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Fri Sep 9 11:45:10 2011 +0200
Merge branch 'new-baudrate-code'
commit 3c9ef8f8c6951ac8245b3b6c6eb98758fe06ec4e
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Fri Sep 9 11:34:02 2011 +0200
Adjust unit test to match baudrate calculation for AM type chips
commit 4e494b76c44b82fc04cbe9939bc10a74f051fad5
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu Sep 8 10:11:27 2011 +0200
ftdi_eeprom/main.c: Clean up the FTDI structure on exit
Valgrind still reports an error, but I suspect it is with (my version?)
of confuse.
commit 4359228aaa6840b20f4cf6b61bf156b9354a0f80
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu Sep 8 10:11:14 2011 +0200
ftdi_eeprom/main.c: Malloc the eeprom Buffer with the size exported by the
API
commit 8ffe1c1dbcb9fa1e5cafa2625bf4340fa4ef6fea
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu Sep 8 10:11:00 2011 +0200
The BM_type_chip option no longer exists
commit e0d70e3556d3648f09f61d7d0922dc746251dade
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Thu Sep 8 17:33:29 2011 +0200
Document what needs to be done for an official 1.0 release - based upon
email from Xiaofan Chen
commit b63d5c9ec4145317ef66fb65cad252b56bad1593
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Wed Sep 7 11:24:18 2011 +0200
Update PC-Lint settings file
commit 90933196a1d2306342a1a3a21b55a0f0eeca0f3c
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Wed Sep 7 11:21:13 2011 +0200
Fixture base class destructor should be virtual
commit 93de2301b262afa86af6c48076c1d6c89888eb0f
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Wed Sep 7 10:56:01 2011 +0200
Cosmetic changes and add Uwe to authors
commit 0d119163cc334fcc4063e85f39c964c6ed4a3679
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Sep 6 14:10:06 2011 +0200
test/baudrate.cpp: Add testcases for the rounding border cases
commit aae08071a70ead6cf550921fbad399f0d7d796d2
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Sep 6 14:09:26 2011 +0200
Round the returned baudrate in ftdi_to_clkbits and adjust the changed
values in test/baurate.cpp
commit 6777cc7098a69f8cfab6fc3a7baa7c4745709d96
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Sep 6 14:08:52 2011 +0200
test/baudrate.cpp: Change the expected results to the present results. AM
still has some errors in the cornercase.
commit e03f60a12cd4233197fc4e11c26f3b61e7e78f58
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Sep 6 14:08:13 2011 +0200
2232C is a BM type chips for baudrate calculations
commit 6645ac5e981a05b8758e76a8f3745936535cb5a8
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Sep 6 14:07:35 2011 +0200
test/baudrate.cpp: Use orthogonal names for the test-targets
commit 9956d4289d04f1c67a8738a7b8b32e1345ab0968
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Sep 6 14:06:56 2011 +0200
Explain the index/value format baudrate setting
test/baudrate.cpp: Evaluate according to this explanation
commit 3db4042e16d398b8803a236d2735df99e76bea27
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Tue Sep 6 12:24:09 2011 +0200
Unify baudrate unit test for chips behaving the same
commit c4a2bc3a1f41e0b7882241aa7db448adb7dc5f5e
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Mon Sep 5 18:46:06 2011 +0200
Update unit test to the new baudrate code
commit f15786e4a4fdb935f639e16ab69d717f3d29bd2b
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Jul 12 17:49:18 2011 +0200
Rewrite the baudrate calculation, tested for 232R and 232H
commit cb2a07f2532267cf178e6565e1419039a43219ed
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Mon Sep 5 18:37:54 2011 +0200
Update baudrate unit test to show divisor/fractional bits/clock (suggested
by Uwe)
commit 275e7caece3acd901d59b6eec9015aec8f782bfb
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon Sep 5 14:25:41 2011 +0200
examples/serial_test.c: Use smaller buffers for lower baudrates to abort
faster on ^C
commit 4f95e48abb92ab8b19370c072281f593c39b426b
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon Sep 5 11:45:31 2011 +0200
examples/serial_test.c: Explicit set the line parameters
commit 2e9cc5be4eb2115cdb8a497d6b9def031b1a681e
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon Sep 5 11:40:07 2011 +0200
examples/serial_test.c: Use FTDI vendor ID as default
commit 53a561d380532adfd73159760681d8f2f91e2895
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon Sep 5 11:39:30 2011 +0200
examples/serial_test.c: Don't crash if no pattern on write is given
Exit immediate if invalid write pattern is given
commit 6eb32553b11d97f4a25825229ee51fedd3f33ee8
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Fri Sep 2 14:22:40 2011 +0200
Fix off-by-one buffer size error (detected by PC-lint)
commit 6a6fcd890466852a9749738585a68b48aaa02136
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Aug 31 19:16:52 2011 +0200
Use default vendor/product strings for EEPROM when user doesn't supply some
commit d4b5af27db53a281adb134aaa91b75335accb57d
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Aug 31 18:57:27 2011 +0200
EEPROM: treat USE_SERIAL as bool, not a flag
commit 7069aa4648527fcfdc26c39a45303c30897d7399
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Aug 31 18:33:06 2011 +0200
ftdi_eeprom: the chip type is given by the connected device, we may not
change it
commit e8d329785e943218dcc2e1b0f216439cb58918c7
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Aug 31 18:31:20 2011 +0200
ftdi_eeprom: Change sequenc of initialization to get the chip size right
commit 94c637b8aa9c19a1e8a669249f07624bda5d5270
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Aug 31 18:09:44 2011 +0200
ftdi_eeprom: If we don't understand the argument, tell the user and abort
commit c4517f98b9cd913b848d5257ad59b4db4842fbdb
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Fri Sep 2 13:15:04 2011 +0200
Cosmetic changes to the unit test
commit ac6944cc82aecea8d6153ca0e5b1eba8612136b7
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Fri Sep 2 12:59:31 2011 +0200
Add unit test for existing baudrate calculcation code
Implement a table for every chip type
which stores the expected calculated result.
Highest speed currently tested is 921600
commit a87a0712f7166d3418a7b522b44ffbce97a93d50
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Fri Sep 2 11:40:41 2011 +0200
Add (optional) unit test infrastructure
Requires unit test framework from boost
so we can test the C and C++ code.
Also has automatic test registration
and the ability to run tests individually.
commit a4eac20496c663784e2a655712ec6459dac244dc
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Fri Sep 2 11:36:20 2011 +0200
Fix include directories: Prefer local (probably newer) ftdi.h instead of
the already installed one
commit 44f41f11993945b0129741e39cef96d9f9cf10b6
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat Jul 2 13:34:00 2011 +0200
Try to inhibit programming EEPROM with data for a different device and zero
EEPROM memory image early
commit c8f69686112ba325b7e8c14e73e6afeff74c593f
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Jul 20 18:01:44 2011 +0200
Next try to get the encoding/decoding for the different FT2232/FT232H chip
modes right
Using my EEPROM setting tool for some gadget here shown that I had the
chipmode en-/decoded wrong.
commit 8b0b694fd737f5318adc29fa4cc48783a77a502e
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Jul 20 11:12:52 2011 +0200
Search for any devices with one of the default VID/PID, if no VID/PID if
given
commit dc422d1bfd2adbfded632cc8e2e8065bf1afe529
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Wed Jul 27 18:14:12 2011 +0200
Fix more occurences of serial_read -> serial_test
commit fea34d21e44901df53210ec189ef6777cfbd58a0
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Jul 20 11:12:49 2011 +0200
Rename serial_read to serial_test, as now write is also possible
commit 2e4e22c4f690d858b3d3a07f49b3ab8ad35b9cff
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Jul 20 11:12:44 2011 +0200
Give usage hints for handling empty EEPROM
commit c1c3d564726551454151e083c1270ba5a8d16425
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Jul 20 11:12:42 2011 +0200
FT232H has even more config bytes and less user_area
commit 95f29fc4118acd6df2667d39b12597b561aa0d0c
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Jul 20 11:12:39 2011 +0200
Only try ftdi_usb_open_dev if devices found
commit bb104e5b1066701452e56fb0fbacd1851f2ab22a
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Jul 20 11:12:37 2011 +0200
Baud rate generation is the same as with FT2232H/FT232H
commit 7bdae7cd946ab11ca3d6acc62783e8cdd0d09a96
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Jul 20 11:12:31 2011 +0200
Move opening the device before tampering with the values, move reading the
device just after opening
commit 785ddbca0e3c7e0563822c985a71077a391d3bda
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon Jul 11 15:04:39 2011 +0200
ftdi_eeprom: Change handling the EEPROM size
commit 98c974c72d1fbe7a42b7b911ea8c0edbcf48eec4
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon Jul 11 15:03:43 2011 +0200
ftdi_eeprom: Use exported APIs only
commit 8ee8775ed78415e8f7274d92493f63f93e2016b0
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon Jul 11 15:03:07 2011 +0200
examples/eeprom: With no VID/PID/desc/serial, print eeprom content
of all FTDI devices found with default VID/PID
commit 672fd36819344656810c1c1c69442a2901972794
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon Jul 11 15:02:23 2011 +0200
Add ftdi_set_eeprom_buf() as proposed in ftdi_eeprom
commit cffed9f55dd41244427a803cc755d50330c84fd8
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon Jul 11 15:01:25 2011 +0200
Add missing ftdi_get|set_eeprom_value entries
commit 35ac57123b3493bcd43c9920e5517ddda1de8e3d
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Jul 5 18:03:48 2011 +0200
examples/find-all: Use the new "find-all" option
commit 56631bed49236cc5f3c2b66da38eca5567867310
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Jul 5 18:03:26 2011 +0200
ftdi_usb_find_all: Only search for default devices if both VID AND PID are 0
commit 7879216a49775d82f1abafc7463f0d83a3df905b
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Jun 28 17:04:43 2011 +0200
Allow to search for all FTDI standard VID/PID
Allow to search for all FTDI standard VID/PID by passing VID:PID 0:0
to ftdi_usb_find_all
commit 0c33162ce187821cb670013c2f903a0dbc4bf707
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Jun 28 16:08:20 2011 +0200
Increment the refcount on devices we return from ftdi_usb_find_all()
commit de40c606f2a72bbcb27444c6e3c40debb58c8723
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Jun 28 15:12:14 2011 +0200
Don't return before cleanup
commit 71ac8745e5d05fe9863a6281c6dd1cb7ece3e74a
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Jun 21 16:14:48 2011 +0200
1.0/src/ftdi_stream.c: Check for fitting device
commit ae6585f123e199bf57cff9074e46211e16f57cd4
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Jun 21 16:14:01 2011 +0200
1.0/examples/stream_test: Fix memory leakage pathes
commit 6e10ece95e23c0a46efeeac556374bc32b73b4f5
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Jun 21 16:03:28 2011 +0200
Only ftdi_init may call libusb_init, or we leak an USB Context
commit 4cc3fa8a4675e46b8cf8b200175a28dd7fc027ca
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Jun 21 15:15:39 2011 +0200
Fix all leak in the examples shown with no device connected
commit 26063beccb19527833b2d23877d61b56527b9985
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon Jun 20 15:07:59 2011 +0200
Fix calculation of the Mode Bitfield
commit 7a172cafefbfccdc0f93916947bac74c758ae1d6
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Jun 17 21:47:50 2011 +0200
Hardware mode definitions for EEPROM programming must follow new definition
Some more FT232H related defines
commit 0fc2170ca72171271792ce9c42d7c55ede1fa4d4
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Jun 17 21:23:55 2011 +0200
Change how the hardware mode is programmed to inhibit setting invalid bit
combinations
commit 263d3ba0f28fa9e78e752e65537d98377eb29119
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Jun 17 21:06:22 2011 +0200
Handle the FT232H CBUS Bits, Keep Values list numbered
commit 18199b76ecd68cee86b71111fe1a8af77e0631e3
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Jun 17 20:11:43 2011 +0200
FT232h: Handle the FT1284 Mode bits
commit 837a71d6c580972b9638588a50cec5fbb035add6
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Jun 17 19:49:25 2011 +0200
FT232H: Handle the EEPROM Bit for Enter Powerdsave on ACBUS7
commit 91d7a2015293c56a7f889898ff7ef0b45d78ae7a
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Jun 17 19:34:05 2011 +0200
Add FT232H drive/strength/slew/schmitt trigger
commit ac4a82a5f51231ae1fc0e8b189245e7aecd2cad7
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Jun 17 19:22:16 2011 +0200
Add FT1284 driver mode and new VCP bit position
commit c7e4c09e68cfa6f5e112334aa1b3bb23401c8dc7
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Jun 17 17:47:21 2011 +0200
Beginning of FT232H support. Many EEPROM values still need to be deciphered!
commit 77377af7cb038876829f2421dba5977718ca154f
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Jun 21 15:04:05 2011 +0200
Free the device list in ftdi_usb_find_all
This fixes the leak with examples/find_all
commit a9ec26b61766f495633d87ff265498bd4d277f19
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon Jun 20 16:17:10 2011 +0200
Clean up on error
commit bd4a9e3887010062474a368c8eee6f9e4ce012b4
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon Jun 20 16:03:53 2011 +0200
Clean up in error pathes
commit 1077197170cbdce90a24aa0ff3e6b94c36552877
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon Jun 20 15:16:05 2011 +0200
Add missing check for NULL product string
commit 7e2c5236308765e9466d760ed3fb6720ba8a812e
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon Jun 20 15:14:45 2011 +0200
Remove other duplicate-code
commit fa457b38eb116eb3804de37170df70803accc4ff
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon Jun 20 14:51:49 2011 +0200
Abort if no EEPROM is found
commit 23fc2fe3703ce3e01a2b15293e385fbec515a37a
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon Jun 20 14:50:16 2011 +0200
Remove some code duplication
commit 3a2847493a8f21b6400868a34ce56b1efd2fa690
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Tue Jun 21 09:27:21 2011 +0200
Move libusb_init() call to prevent crash
on plain ftdi_init() / ftdi_deinit().
Also check ftdi->usb_ctx in ftdi_deinit().
Code based on patch by Uwe Bonnes.
commit a3d86bdb9327e787644255d5e96e016fe4289225
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Tue Jun 14 15:30:33 2011 +0200
Forward port flexible module unload behavior
commit e375e6cb72af68379ae42c536728a992df0046e5
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Tue Jun 14 14:23:22 2011 +0200
Fix small typo
commit 598b233449d6dee441640a9603ceaff3ee327379
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri May 20 18:07:37 2011 +0200
libftdi1: Fixe Fixme in CBUS decoding
>>>>> "Thomas" == Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx> writes:
Thomas> Uwe, On Friday, 20. May 2011 12:43:42 Uwe Bonnes wrote:
>> as I am still in the steep part of the learning curve with git, at
>> some point in time I accidently merged my changes to streaming read
>> and eeprom to one. That way, my tree diverged from either libftdi-1.0
>> master and eeprom- new. As I need both features, maintainance is
>> difficult.
>>
>> Two questions: Why is eeprom-new still not merged?
Thomas> It is now.
Thanks
Appended patch hopefully fixes the FIXME aimed at me.
Bye
--
Uwe Bonnes bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
>From 92ec6ded6df5aa377e1f82c081891b321f22c1d0 Mon Sep 17 00:00:00 2001
From: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 20 May 2011 18:03:21 +0200
Subject: Only the first 4 PINs have (fixed) CBUS functionality
commit f276fe667f966ba9e39ec67c64443e91aec479f0
Merge: ce3940810901906eb00d67fe259d5540a9008630
dc09eaa8d384f8c31fe3015d104e5b3bdd8db009
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Fri May 20 16:10:11 2011 +0200
Merge branch 'eeprom-new'
Conflicts:
examples/stream_test.c
commit ce3940810901906eb00d67fe259d5540a9008630
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Fri May 6 15:17:13 2011 +0200
Correct ftdi_poll_modem_status() result code
commit dc09eaa8d384f8c31fe3015d104e5b3bdd8db009
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Fri May 6 15:17:13 2011 +0200
Correct ftdi_poll_modem_status() result code
commit 1343f5841f27b505b762d5259e6e7a08643ecd46
Author: Evgeny Sinelnikov <sin@xxxxxxxxxxx>
Date: Tue May 11 11:05:02 2010 +0400
Fix cmake build with not remove doc directory for build in source
commit 69bb2d7abc48ecbda356d23c5400eba314d6e8ab
Author: Evgeny Sinelnikov <sin@xxxxxxxxxxx>
Date: Sun Jun 28 01:52:02 2009 +0400
Fix libftdi.hpp with include of system ftdi.h
commit 442f016443fa8e8617b53e912f28c6d8f1a7482d
Author: Chris Zeh <chris.w.zeh@xxxxxxxxx>
Date: Mon May 2 19:20:36 2011 +0200
Fix ftdi_read_pins in python bindings
commit d4afae5f9625fa08d801715b0a21faaa52ecf83c
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Feb 1 11:27:09 2011 +0100
Call ftdi_usb_close_internal and not usb_close when descriptor doesn't match
commit 6ab07768470d23ded51bbfd6e5e181b11cd70cd3
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Feb 1 11:02:24 2011 +0100
Check ftdi pointer before accessing it
commit faa772fe0a9690e681a49ce7529e84cb4d6f5625
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Feb 1 11:27:09 2011 +0100
Call ftdi_usb_close_internal and not usb_close when descriptor doesn't match
commit 1423b35ca644b152bbe28142f3661e1d4bd413ff
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Feb 1 11:02:24 2011 +0100
Check ftdi pointer before accessing it
commit 3a55cda4af2de515d7c83738a12ffc95f8865091
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu Jan 20 16:51:21 2011 +0100
Safer initialisation of ftdi_readstream
Applies to both branches
--
Uwe Bonnes bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
commit e6ac34c8096624d5b982a30c40eb626fbe12429d
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu Jan 20 16:22:37 2011 +0100
Delete some remaining debug printout
Applied to all trees
--
Uwe Bonnes bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
>From 6ba0d30b53677d27f9559057697c75c962cab117 Mon Sep 17 00:00:00 2001
From: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 20 Jan 2011 16:20:03 +0100
Subject: Delete some remaining debug printout
commit a3886df38983951eb4b0abffd17aaf1a9018d42b
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu Jan 20 16:51:21 2011 +0100
Safer initialisation of ftdi_readstream
Applies to both branches
--
Uwe Bonnes bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
commit 889d9bb6786a03dfcd881a793beeb35c70590434
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu Jan 20 16:22:37 2011 +0100
Delete some remaining debug printout
Applied to all trees
--
Uwe Bonnes bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
>From 6ba0d30b53677d27f9559057697c75c962cab117 Mon Sep 17 00:00:00 2001
From: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 20 Jan 2011 16:20:03 +0100
Subject: Delete some remaining debug printout
commit 643a89ea185ffd80d07f39be887598c2a64e58a5
Author: Vladimir Yakovlev <nagos@xxxxxxxx>
Date: Wed Jan 19 10:31:41 2011 +0300
Not writing to file, in flash_raw mode
Don't write eeprom file if flash_raw is set
commit 89e7cfb530ba14c6a1353b217f6ae0569b81959c
Author: Vladimir Yakovlev <nagos@xxxxxxxx>
Date: Wed Jan 19 16:38:25 2011 +0100
Default USB PID differs for different devices. 0x6001 is valid only for
FT245BM.
FT2232HQ uses 0x6010. Now you can define a default fallback PID.
In configuration file add this line:
default_pid=0x6110
commit 673ca43324bff1ec3b23e071e1977379dc0b5d7e
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Sat Jan 15 18:53:12 2011 +0100
Import example config file from ftdi_eeprom tree
commit 200bd3ed2e1d2389217be44c0adc728909a2a100
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Sat Jan 15 18:51:38 2011 +0100
Fix raw eeprom buffer handling
commit b95e46548cdf96ef21b3de2a1b3d55ceeca12075
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Sat Jan 15 18:32:47 2011 +0100
Introduce size limit in ftdi_get_eeprom_buf()
commit d327f924c20f61561facfd9537fc495beb3fc315
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Sat Jan 15 18:22:36 2011 +0100
Use eeprom_set_value()/eeprom_get_value() where possible
commit 545f9df90958b8cedd9945ddc267ef54a735532d
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Sat Jan 15 18:21:58 2011 +0100
Fix typo in documentation
commit de4871c4b481faf22acdb227cdd384aebe05d421
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Sat Jan 15 17:56:21 2011 +0100
Prepare switch to opaque eeprom buffer
commit 8a987aa2e1335d9ef3ebbdf496a7b071317b40a3
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Sat Jan 15 17:44:44 2011 +0100
Update copyright information and add ftdi_eeprom TODO list
commit c53a7cd0a31c56cc2fab5fb5551358f68dc4c237
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Sat Jan 15 17:14:00 2011 +0100
PC-lint settings: Add path to libusb 1.0 header file
commit 213fb57e9e2ce7e047d753bea68369d524760c0c
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Sat Jan 15 17:08:34 2011 +0100
We already declared var 'i', no need to redo it
commit 5e77e87002972d3e5794a4b375cd78a5ae6dde01
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Sat Jan 15 17:06:55 2011 +0100
Fix memleak on ftdi_write_data_submit() error
commit 118c45611363a6148dfcf09882fb6136dafda5d8
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Sat Jan 15 16:57:26 2011 +0100
Fix user area size calculation
commit 735e81ea04451df5b8aa4a18ec4620d8e1c61fb7
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Sat Jan 15 16:42:01 2011 +0100
Fix doxygen documentation
commit 17431287ffa37d2085dbe7cb30afa17487e456a2
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Sat Jan 15 16:38:26 2011 +0100
Address one more compile warning / add FIXME comment for Uwe
commit 2c1e2bde004c2dc28770343f0bbe999dd60ac697
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Sat Jan 15 16:22:32 2011 +0100
Fix uninitialized variable warning about user_area_size
commit d10d3929a1acbfc8e049961a94363c6ec3c9f257
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Sat Jan 15 16:14:24 2011 +0100
Update project file to kdevelop 4
commit 85e6c679c6f23cfd78b9fe912b11752cf499c5ff
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Sat Jan 15 16:08:23 2011 +0100
Remove duplicate init code
Conflicts:
src/ftdi.c
commit e09c4f8c00d7882aa128165da18d3b12d032e23c
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Sat Jan 15 16:07:11 2011 +0100
Remove duplicate init code
commit d6979c8f626fc6949751e1c54ea061acae6ef0de
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Wed Jan 12 13:20:29 2011 +0100
Fix email address
commit 9c5fe7a249f0323cc3750868b55a010f39d68f16
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Jan 11 15:34:13 2011 +0100
Fix mantainer in CMakeLists.txt
Hello,
don't know how the other name slipped in. Perhaps
libftdi@xxxxxxxxxxxxxxxxxxxxxxx is also a better choice.
commit ac0af8ec4e70b4c4137f34df8efb61546794720d
Author: Vladimir Yakovlev <nagos@xxxxxxxx>
Date: Thu Dec 23 16:05:42 2010 +0300
Proper initialisation of interface A.
Write correct ftdi->in_ep and others when initialising interface A.
Without it you can not switch back to interface A, after B.
In sequence A-B-A, B stuck forewer.
commit 5317af6a5910b82cc2cd808d761f5f23af244cde
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Thu Dec 30 10:13:30 2010 +0100
Update AUTHORS file
commit 783b771a29aa6fa7e93b56b08b1c93ec14d16af4
Author: Vladimir Yakovlev <nagos@xxxxxxxx>
Date: Thu Dec 23 16:05:42 2010 +0300
Proper initialisation of interface A.
Write correct ftdi->in_ep and others when initialising interface A.
Without it you can not switch back to interface A, after B.
In sequence A-B-A, B stuck forewer.
commit fa1def99efffbb03b8ab0b1d43a122348a118670
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Sat Oct 23 19:38:05 2010 +0200
ftdi_eeprom compiles now. Still needs a lot of work
commit ade814a59b4660c5af865dd86cdd48cfa55e1ae5
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Sat Oct 23 19:26:12 2010 +0200
Add ftdi_eeprom target (currently disabled). Get version info from
CMakeLists.txt
commit e47d7975a1c8648e3a86f980eb01eaf96c86a023
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Fri Oct 15 11:06:05 2010 +0200
Import latest, unchanged ftdi_eeprom source
Code needs adaption to new eeprom API and we have to check
if it can be replaced/merged with Uwe's new eeprom tool.
-> Not activated in the build process (yet)
commit 05c2e40a3c720c63a75d36a33d0d5de0677f8f57
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Mon Oct 4 17:49:14 2010 +0200
Reformat example code to match libftdi style:
/usr/bin/astyle --indent=spaces=4 --indent-switches --brackets=break \
--convert-tabs --one-line=keep-statements
--one-line=keep-blocks \
$*
commit 56ac0383edadfa388c3af9df52f3b4c140560527
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Mon Oct 4 17:45:23 2010 +0200
Reformat new eeprom code to match libftdi style:
/usr/bin/astyle --indent=spaces=4 --indent-switches --brackets=break \
--convert-tabs --one-line=keep-statements
--one-line=keep-blocks \
$*
commit 82e0fc5a711fb49896428322d58a5c4c7000ff6b
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat Oct 2 17:24:50 2010 +0200
Use API and not direct structure ftdi->eeprom access in eeprom example
commit 44ef02bd31e3546576efaf5ed7db4893babe42f8
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat Oct 2 17:24:00 2010 +0200
Enumerate all handled EEPROM values Provide ftdi_get|set_eeprom_value to
access these properties Supply a copy of the EEPROM buffer to the user with
ftdi_get_eeprom_buf e.g. for dumping
commit caec12943241837aa054c691f49c548bc2e87145
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat Oct 2 16:33:53 2010 +0200
Decode/encode use_usb_version on BM and 2232C
commit ec0dcd3fab853d056067830b261f46494eed96b8
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat Oct 2 17:05:38 2010 +0200
Rename Bit pattern SUSPEND_DBUS7 to SUSPEND_DBUS7_BIT
commit a9dddb4dd1f45377a7d978adfd6b2b7ec25779c6
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Mon Sep 27 18:10:55 2010 +0200
Cmake skeleton for ftdi_eeprom build support
commit ededbc1c93768073f8073bed759327590503c06d
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun Sep 26 18:24:21 2010 +0200
Another approach to get the examples/streamtest.c print formatting right
Thanks to Jim Paris
commit d042a09782ec18d4009300b6fe4d5dd57cc2061b
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun Sep 26 18:24:21 2010 +0200
Another approach to get the examples/streamtest.c print formatting right
Thanks to Jim Paris
commit 4e7fa44d1b80eabc277f04b6739eff9228243623
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat Sep 25 16:55:13 2010 +0200
Document the write option in usage()
commit 814710babd85edb7560418feb87b5ed003d437b2
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Fri Sep 24 21:32:45 2010 +0200
Include PnP descriptor in size check
commit f24a830c2b6e4a9c00a2779b33f7b468b541b650
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Fri Sep 24 20:19:39 2010 +0200
Update eeprom map as we work in word sizes
commit 665cda0403fc795be8785c9545f357d039dda62d
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 24 17:12:34 2010 +0200
Simplify and correct user area calculation
commit c2700d6da86375b156e16cafb52085fbf5594136
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Fri Sep 24 16:40:57 2010 +0200
Don't output PnP options for BM type chips
commit a45ea32b4ffd3f5aa04aabaac810e89a35916a3f
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Fri Sep 24 16:22:48 2010 +0200
Document the magic 0x02 0x03 0x01 value after the serial string
commit 043eafc0ecaaea0192ca2721652598bcbe1ae9a6
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Fri Sep 24 15:43:21 2010 +0200
eeprom of BM type chips: Fix trashing of first manufacturer string byte
commit 8bc605f3743d3dd30e2cd45e2cced1c4a730166c
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Fri Sep 24 15:10:32 2010 +0200
Clarify eeprom type values are hex
commit 516ebfb1a0b4a53d358d2cbb09f0b4a6ae46a34e
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Fri Sep 24 15:02:56 2010 +0200
Adapt user area size calculation to official FTDI formula
commit fccd6562b4de965f7032f5e55a5668f4629ab313
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Fri Sep 24 14:46:58 2010 +0200
We are out of battery power (remove wrong comment)
commit 6fba850777b3bc923c5de6e44a6303d7ebc0a85e
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Fri Sep 24 14:22:21 2010 +0200
Correct small typo
commit e2bbd9affaabb71470c0fe4f6d1a6c5a72c88609
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Fri Sep 24 12:13:19 2010 +0200
Better variable name for eeprom_size_mask
commit 37186e3415303371bbdd4f8aaa29dea8c889fedb
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Fri Sep 24 11:55:57 2010 +0200
Fix wrong comment about standarized USB config descriptor attributes
commit 4e74064bcb5b67b3b51c077adae689be43df0cec
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Fri Sep 24 09:48:09 2010 +0200
Cosmetic changes
commit 3c75ad2a59c0ff5b1def6a0b48d8c6276e07b95f
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Fri Sep 24 09:40:00 2010 +0200
Document isochronous transfer mode of FT2232C
commit 33887896c977b344205a74da6f91a93c0d5e9076
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Fri Sep 24 09:02:43 2010 +0200
Update/verify EEPROM map for BM type chips
commit 10186c1fa4b660a1fed39b66f1fa2ad9cfe29b19
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 17 15:15:14 2010 +0200
Write to EEPROM direct when trying to detect EEPROM size
commit e27531f4c4b739744c48872eb5f940883d207ab6
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu Sep 16 11:55:20 2010 +0200
Warn user about missing FT4232H-specific EEPROM settings
commit 398d7b972ecf5c933d3487da4bac543ba2859fe9
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu Sep 16 11:49:05 2010 +0200
examples/eeprom.c: Remove unused variable
commit b4d19dead949a262c14af0a4515e7fbceac69373
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Sep 15 17:33:39 2010 +0200
EEPROM: Add missing closing brace
commit d45d6648ad017652e18aefc65c1300c5392b2f8e
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Sep 15 17:32:48 2010 +0200
EEPROM: Null out buffer after allocation
commit 6e6a1c3fab17eceb680cae1b01d027030ed1e728
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Sep 15 17:31:01 2010 +0200
FT2232H: Handle suspend_pull_downs when encoding
commit a886436ae0a98e39376383b176f05382009290e7
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Sep 15 16:19:53 2010 +0200
Decoded max_power is in mA and 90 mA for TYPE_R and 100mA else
commit c6b94478680a22e4659431773f67e361fb6c527c
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Sep 15 13:20:31 2010 +0200
Fix decoding of FT(2|4)232H channel A type
commit 0091182efcba6f7369b678e429ac936296997aa2
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Sep 14 17:11:47 2010 +0200
Add option to write eeprom
commit a661e3e44b5df0dd84ddd1a5396a880a0063fe67
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Sep 14 17:05:38 2010 +0200
ftdi_write_eeprom_location access to checksum protected area will produce
checksum errors, so check - access is about byte 0xff - eeprom chip is of type
93c66, so high area exists - ftdi device can handle 93c66
commit bf2f6ef7f73ba0a1bf3f04db4435ce2014231ba3
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Sep 14 16:07:56 2010 +0200
use_serial is used in all devices beside AM types. So move out of the
switch(ftdi->type) construct
commit bb5ec68a9a7e2218b0e5852d62e878201dd4d653
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Sep 14 15:50:54 2010 +0200
max_power eeprom value is in 2 mA Steps
commit 802a949e535f479b694ee04d49c071900314ce91
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Sep 14 15:49:55 2010 +0200
Use the PNP flag as seen with FTD2XX
commit f14f84d3ab33c785903e5b4fb615076f9cbcefad
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Sep 14 15:21:16 2010 +0200
Document ftdi_eeprom_initdefaults Add return value to
ftdi_eeprom_initdefaults
commit 74e8e79d4e311001d0f890cdf0219d84b58bb70a
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Sep 14 15:11:47 2010 +0200
Handle manufacturer/product/serial strings internal Set these string as
arguments to ftdi_eeprom_build Remove exported function ftdi_eeprom_free
commit a35aa9bdfbb149efe72c32727a0ebfe3585465f8
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Sep 14 14:46:02 2010 +0200
Provide internal eeprom structure buffer with internal byte buffer Purge
external eeprom structure buffer and eeprom read/write byte buffer from API
commit f38b0866c6725ff41e23dcef0d0da7ea0ece2031
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon Sep 13 16:57:32 2010 +0200
Use allocated ftdi structure
commit 4fb2ebbb87a4bdb1ca3e2d7768c87f7a228fe784
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 23:20:48 2010 +0200
Initialize use_defaults
commit 13f00d3cd7a7cef13df7b1ecc0b0f0c678456cca
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 23:20:05 2010 +0200
Correct the CBUS decode string arrays
commit 2db3a766fd94a852d95f46efadf3a0dacccd29f5
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 22:54:39 2010 +0200
Example for the EEPROM API
commit 7345e9551c75957b19de981846bc975c487dee09
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 22:41:35 2010 +0200
Add description of EEPROM Structure as decoded by now. Please comment!
commit a49800437bffd7b155971f0a51316644deee8ba5
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 22:40:29 2010 +0200
Fix and verbose decode of TYPE_R CBUS functions and pin inversion
commit 38801bf8af278a43149862ab7a07128f8c4d5aab
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 21:59:40 2010 +0200
Release values in EEPROM structure are not user changable. Remove it from
the ftdi_eeprom structure
commit 2c2953e66c7167e76fe64633435a5b232a8efc40
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 21:56:07 2010 +0200
CBUS Mus has 0xd as highest number
commit cbf65673d6b8d20707b029eaac1e44b28f667c3d
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 21:55:36 2010 +0200
Add a lost comment
commit 3802140cfb91928c3a168ea42d62c61d1c69cb32
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 21:53:20 2010 +0200
Build EEPROM type specific bytes and bites in a switch construct
commit 93738c7952c0ed4b83a459ae2ab9054dc2f7bfad
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 21:47:55 2010 +0200
Fix writing the strings
commit f75bf1391d34f5dfd8b277030f314758cacf4ed7
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 21:40:28 2010 +0200
when building the eeprom image, use the actual determined eeprom size
commit 6123f7abcc98374ffcfa00bf5eb3bfe9062ada50
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 21:38:28 2010 +0200
Set eeprom->release when building the eeprom content from the chip type Add
releases for TYPE_2232H and TYPE_4232H
commit eb498cffdb0283ab81756a99ff31fb92690c2c4c
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 21:36:11 2010 +0200
eeprom->channel_a_type must be initialized
commit aa099f46f01d68f020796b4e5806b3bde7d6e03f
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 21:35:44 2010 +0200
Fix logic flow after
commit 2cde7c524141286c424de68e46710f9e3dbf838d
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 19:35:58 2010 +0200
Next try to get the VCP/D2XX logic right. TYPE_R in inverted
commit ca41c8ee8dcc93a431fbc0b6746b5ea246d511f9
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 15:34:04 2010 +0200
A set bit means load D2XX driver. Revers logic and names
commit 71ba2c2cc274bbe898f4a00b0cd175439ea6609f
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 15:27:25 2010 +0200
Get the test on TYPE_R for unexpected In-Endpoint sizes right
commit 87f66e30002a1d48b7f1b835944c0dc4342ff077
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 15:25:31 2010 +0200
TYPE_E EEPROM Byte 1 bit 4 is expected to be IN Endpoint size Request user
feedback if unexpected values seen
commit 75388926b7825ede2b111e86ab8d003b95d8d554
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 15:18:28 2010 +0200
EEPROM bit for high current IO seems at different bits for TYPE_R and
TYPE_2232C
commit b1859923f302ce55de34bbd74538c72b5aef47f5
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 14:47:48 2010 +0200
The USB Version seems to be always set in EEPROM EEPROM byte[0x0a] bit 4
(change_usb_version) was never seen set. Remove it and request user report if
ever seen set
commit 53c7c901d93038e5357caf52d460a65b3148e4bf
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 14:06:28 2010 +0200
Temporary remove CBUS settings
commit b641e5ee64bf900594fede686f34f66c76802760
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 13:31:17 2010 +0200
max_power EEPROM default is 100 mA
commit 2b9a3c8226573d507149b8ca6e5a925229dd691d
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 13:24:57 2010 +0200
ftdi_eeprom_build needs to know EEPROM chip type
commit 99404ad5ac076785991e179d3ce9332857a0ca7f
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 13:20:37 2010 +0200
When erasing EEPROM, detect chip type (none,internal,93xc46|56|66)
commit 6cd4f92217aa33f3b8c6c304ceeb893ec913c71c
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 12:41:00 2010 +0200
Decode connected chip
commit 1cd815ad0747825fc41829d4a668a235a715bafa
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 11:32:47 2010 +0200
max_power in mA is EEPROM[0x09]*2
commit 7e76a5ef2b1022adab883bf1202c34d3f6b4b2c2
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 11:21:54 2010 +0200
FT2232C has version 0x0500 in EEPROM as default
commit 6855afda867f75e0265d815c411a180a0abc139b
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 11:20:08 2010 +0200
Comprare ftdi->type and do not set it in EEPROM Structure initialization
commit e5d95e9cf85c2b19b30c224cfe6c65d29b041e82
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 11:17:46 2010 +0200
All x232 type have (at least) two USB channels
commit f456288064f8a671c6a2125f3fabb6c1ae5cf250
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 11:16:52 2010 +0200
EEPROM Size check must cope with different types
commit 45619eaa83e12b54afa2b4b4cd67b8293778dcb9
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 11:09:38 2010 +0200
Define the CBUS Multiplexer as an ENUM
commit a02587d5f941d4e7fe8397e3615325251162dedd
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 00:55:00 2010 +0200
Revisit eeprom_initdefualts Symbolic constant for USE_SERIAL_NUM
commit fb9bfdd1a9d3256cf8e729b5f8827d23a5a6b9b5
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 00:25:06 2010 +0200
More verbosity for remote wake up, pull low and suspend on dbus7
commit 02e4a740e847307c069bf0f58b24c72d6f239183
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri Sep 10 00:24:00 2010 +0200
Evaluate eeprom Byte 0 Bit 7: Suspend on DBUS7 low
commit db099ec562c4e0199c6ec2c71020612e3623f036
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu Sep 9 23:33:11 2010 +0200
Decode the x232H specific port functions
commit e107f5092fa731fad1aa900b5c736fcb97c76d47
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu Sep 9 23:10:42 2010 +0200
Fix channel mode specific bits, noisy output
commit 2938669c3789b6587f6db2fa2192706d6d830580
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu Sep 9 23:03:46 2010 +0200
Channel Mode is encoded in bits 0..2, VCP is bit 3 Noisy decode
commit 308f1fa790ebee51f6a4d2f5dd4ed3611745489b
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu Sep 9 22:41:51 2010 +0200
EEPROM: Evaluate the channel specific settings
commit 3d7ba8719da16c784a3c6e13c5976810073ff8bb
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu Sep 9 22:32:39 2010 +0200
EEPROM: Fix typos around high_cuttent_drive and make code comipile again.
Will care for initializing and encoding later
commit 85394e6249329e13fd8530a5aeb72355c5340d62
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu Sep 9 22:29:16 2010 +0200
EEPROM High current bit is byte 0 Bit 4 for a and Byte 1 bit 4 for b
commit 49a6bc10a1c75b1595572e67910c53e09752a6f2
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu Sep 9 22:15:21 2010 +0200
On FT2232D, eeprom->change_usb_version was not set with changed version
commit 07851949856f2d82e71ce5be0c62f8f51d5cd506
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu Sep 9 22:10:47 2010 +0200
EEPROM: CBUS functions only work on TYPE_R devices
commit cecb9cb2c8bb9d7c71ae4a5c21c45203148afe0e
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu Sep 9 22:07:50 2010 +0200
WWPROM: Invert datalines only works on FT232R
commit d60d79c508f57f711a2375b1c154023d58581563
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Sep 8 19:43:30 2010 +0200
Remove forgotten print formatter
commit 947d9552b56eb04ad630e88a4c99a3668e8f4873
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Sep 8 19:41:40 2010 +0200
Fill out control structure for EEPROM decoding
commit 42ae7c628196dcda467ece62d2f4e04bc77bc8c4
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Sep 8 19:13:21 2010 +0200
Fix a wrong argument
commit 8d3fe5c92a771cb501084d17c6ff49904d5c43d9
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Sep 8 19:12:50 2010 +0200
Unconditionally set/reset eeprom values
commit 84ec032f8e8d467b87419a32435c120276d9a1ca
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Sep 8 19:07:48 2010 +0200
When reading EEPROM strings, clip active, as rollover doesn't work for the
FT2232R
commit 065edc587bed136ef4a1cca5980f116c69e9ae00
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Sep 8 19:07:15 2010 +0200
Add missing clause
commit f6ef2983ec626387a30502e0369ef4d79cb1bdce
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Sep 8 19:01:39 2010 +0200
On request, dump arguments during EEPROM decoding
commit 564b271685e24105db5c69a10bbc682efd90e919
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Sep 8 18:16:59 2010 +0200
Chip Type dependend code must be evaluated type dependant
commit 642f94997c2614312fb371c6a3712b4c6bc5d0c0
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Sep 8 18:08:17 2010 +0200
EEPROM [6] and [7] seems more used like a release variable. Name accordingly
commit efc843050e8d0eaef34cef36db7c4acfec7830ff
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Sep 8 17:57:18 2010 +0200
EEPROM[02] is VID, so high_current must be defined somewhere else
commit acc1fa05ce669aa2c5f35b51053d9ca59ffd392b
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Sep 8 17:55:00 2010 +0200
On 93xx46, the Manufacturer/Product/Vendor Pointer gets clipped anyways, so
don't clip to get things right on 93xx56 and 93x66 Only write strings if
allocation succeeded
commit 8080d2ceab3809d25d5bc6799dce499e068308d8
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Sep 8 16:11:19 2010 +0200
Don't erase the EEPROM size
commit f5b8b5b3b28340d1ae710a8d2af0192ab1d28a02
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Sep 8 16:10:41 2010 +0200
Remove dead code.
commit f2cd9fd5d8cac4ca8c94e4f5e6560b4967c87be5
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Sep 8 16:02:48 2010 +0200
For EEPROM decoding, use the evaluated EEPROM size. FT223R is special case,
as the EEPROM holds more information than is used for the checksum
commit 1bc78a0512f5909dcbe974a901f6ccd94c2a974b
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Sep 8 16:01:32 2010 +0200
Remove ftdi_eeprom_getsize also from the CPP Wrapper
commit 2d543486ed96287e3d0f8f33d82321dfc2f835d0
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Sep 8 15:50:06 2010 +0200
Remove ftdi_read_eeprom_getsize() function. Integrate in into the
ftdi_read_eeprom() function. On ftdi_eeprom_write() another approach is needed
commit 3d6d20c0add502b5c93c1bda8331711262791440
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Sep 8 15:16:54 2010 +0200
We need to handle at max 256 Bytes on an attached 93xx66 EEPROM
commit 6e73861dd69c21fd9eb56095f09ff2baaca8694c
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Sep 8 14:58:43 2010 +0200
Correct ftdi_eeprom_free()
commit cc9c9d58811e9efb38d274b5ce3baacfedd0b5d6
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Sep 8 13:16:33 2010 +0200
Use ftdi_error_return for EEPROM error returns
commit c0a96aed965e1010f131aaac4d7025ebf00c35dd
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Sep 8 12:00:31 2010 +0200
Let the eeprom functions work on the ftdi_context, not the ftdi_eeprom
structure
commit 97c6b5f63d77f28968f4ad19c6901f11598898c9
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Thu Sep 16 10:28:45 2010 +0200
Correct (signedness) issues detected by -Wall
commit d5c913485ba3383260741489f0a70b06be3cf269
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Thu Sep 16 10:25:53 2010 +0200
Fix initialization order (found by -Wall)
commit 5b1e6a0ae2affa25cb0782222de8380936fa7b28
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Sep 8 11:01:51 2010 +0200
Add -Wall to compiler flags
commit 36335b9279fcb28e2eec4f7b6493a7e599e5fbf4
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed Sep 8 11:58:03 2010 +0200
stream_test.c cleanup
commit f505134f82e9f8f34009cfe76a2ea436d92e220a
Author: Hermann Kraus <herm@xxxxxxxxxxxx>
Date: Wed Aug 18 09:50:55 2010 +0200
Support for FT232R eeprom features
From the mailinglist:
Hello!
I added support for creating FT232R-EEPROM images. They differ from
FT232BM images making communication unreliable if you don't get them right:
- Addr 0x00: Bit 6 selects between normal and high-current output mode
- Addr 0x01: IN endpoint size. !!! It is essential to set this to 0x40 to
get reliable communication! !!!
- Addr 0x07: (Device version) Was changed from 0x04 to 0x06
- Addr 0x0B: Invert outputs. Bit numbers:
0 TXD
1 RXD
2 RTS#
3 CTS#
4 DTR#
5 DSR#
6 DCD#
7 RI#
- Addr 0x14-0x16: Change function of CBUS pins. Low nibble of 0x14 is
CBUS0, high nibble CBUS1 and so on.
Values (hex):
TXDEN = 0
PWREN# = 1
RXLED# = 2
TXLED# = 3
TX_RX_LED# = 4
SLEEP# = 5
CLK48 = 6
CLK24 = 7
CLK12 = 8
CLK6 = 9
IO_MODE = A
BIT_WR = B
BIT_RD = C
RXF/TXE/RD/WR = D
It should be noted that 0x14-0x16 are used by the current library to
strings and therefore change behavior depending on the string descriptor.
In images created by FT_Prog 0x17 is 0 so I threat this as reserved.
FT_Prog has problems parsing string descriptor from devices written by
ftdi-eeprom without this patch.
I also have investigated FT2232L-EEPROM (=FT2232C) but have no final
conclusion yet,
because I don't want to change the information in this device. Just some
obvious differences.
- Addr 0x00/0x01: value 0x11 0x08
- Addr 0x07: (Device version) 0x05
- Addr 0x14/0x15: value 0x46 0x00
String descriptors start at 0x16.
commit c2ed8c4e338d1c907b79340c34da30aaf1b15dbd
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Mon Aug 16 18:06:42 2010 +0200
C++ wrapper: Fix infinite recursion in set_bitmode()
Reported by Hermann Kraus
commit f5b59bd625da7d0ef9c8c9237fda1a996c8786ac
Author: Flynn Marquardt <ftdi@xxxxxxxxxx>
Date: Wed Jul 14 09:53:17 2010 +0200
Python wrapper: Fix argument type of ftdi_read_chipid
commit ef15fab5819f38a4e215e7824e90f215bbbc5d0d
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Wed Jul 14 09:46:12 2010 +0200
Update AUTHORS and fix code indent
commit 90ef163e06dc90aebca58b8e4c99946392e37152
Author: Yi-Shin Li <ysli@xxxxxxxxxxxxx>
Date: Sun Jul 11 23:08:11 2010 +0800
bug fix for async write and read
* In ftdi_write_data_cb(), the tc->offset should be accumulated with
transfer->actual_length.
* In ftdi_transfer_data_done(), the tc->transfer could be NULL if
"(size <= ftdi->readbuffer_remaining)" at ftdi_read_data_submit().
Therefore, has to check if it's NULL before accessing it.
commit 82610092f71ea930e93a41d6b7741dc7dc4480db
Author: Martin Zenzes (spacelab1-u) <mzenzes@xxxxxxxxxxx>
Date: Thu Jul 1 12:49:19 2010 +0200
gitignore: temporary swp-files created by vim
nothing special here, just a plain .*.swp
Signed-off-by: Martin Zenzes (spacelab1-u) <mzenzes@xxxxxxxxxxx>
commit 249888c8bdc8907bb664f8e3af674a630533eff8
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Fri Jun 25 12:57:22 2010 +0200
Always enable async mode using libusb 1.x
It's no longer linux specific (depends on platform support).
commit b013bcb0bb63ea0aca155f2959ea9f7f38324b8d
Author: Mike Frysinger <vapier@xxxxxxxxxx>
Date: Tue Jun 22 19:02:06 2010 -0400
libftdi: add a --without-docs flag
Allow people to easily & forcibly disable doxygen support. This is useful
in builds where we only want the library and nothing else.
The default is unchanged -- configure still searches for doxygen.
Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
commit d94c58ffc3a3b757fe4d9af61f6d7f887180e0d4
Author: Mike Frysinger <vapier@xxxxxxxxxx>
Date: Tue Jun 22 18:46:09 2010 -0400
libftdi: add a --without-examples configure flag
There's a few places where I'm only concerned with building the libftdi
library (for integrating it into a JTAG program), so the examples are just
noise to me. As such, add an --without-examples configure flag so people
can easily disable the subdir. The default is unchanged -- examples are
still compiled & installed.
Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
commit 29b1dfd985a87af8d51034212284f684eb35bc48
Author: Mike Frysinger <vapier@xxxxxxxxxx>
Date: Tue Jun 22 19:42:11 2010 -0400
fix build failure in libusb_context change
Current git tree build fails:
ftdi.c: In function 'ftdi_transfer_data_done':
ftdi.c:1513:36: error: 'ftdi' undeclared (first use in this function)
This function has a ftdi_transfer_control tc, not a ftdi_context ftdi.
Probably want to squash this into commit:
02212d8e84cccd393a95612d4c4a5ec495fa3e2e
Store and use the libusb_context
Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
commit 998266bf16a3f88480382070b4af670d5998a1c5
Author: Emmanuel Blot <eblot@xxxxxxxxxxxxxxxxxx>
Date: Sat Jun 19 22:59:54 2010 +0200
Fix up build on Mac OS X:
* Fix up Boost library management
* Fix up Python bindings
* Discard attempt to build C++ examples when Boost is not available
commit 604ec22bb3844196da13a3dca71d930c3623d8e7
Author: Emmanuel Blot <eblot@xxxxxxxxxxxxxxxxxx>
Date: Sat Jun 19 22:43:48 2010 +0200
Fix up string formatting for long long integers (64 bits)
commit 02212d8e84cccd393a95612d4c4a5ec495fa3e2e
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon Jun 21 10:44:10 2010 +0200
Store and use the libusb_context
commit 95ac1ca2f571a87170fa5578412ef5cb64a941e0
Author: Wilfried Holzke <libftdi@xxxxxxxxxx>
Date: Mon Jun 14 09:20:14 2010 +0200
Add ftdi_eeprom_free() to free allocated memory in eeprom
commit 705f012d7f828e212986c21f30abb2c12cb8068a
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu Jun 10 15:50:35 2010 +0200
Correct version of ftdi_readstream agains GIT Head
commit 50f4957a2f0124e4d35d0ff317bdc53762f89235
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu Jun 10 14:36:54 2010 +0200
Export ftdi_readstream()
commit c16b162d5b7a27f6ed2abf847bd6905d0f1755e5
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Thu Jun 10 17:53:23 2010 +0200
Enhance FTDI driver message once more
commit ddfa995d1cd57cebfcc785ba4ed626aaafe6f1b6
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Wed Jun 9 18:32:34 2010 +0200
More generic error message for the FTDI kernel driver
commit 40da63b1f8924d2c4d1e34d137dc7d12b5b1c643
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon May 31 15:46:55 2010 +0200
Provide a streaming read, base on code from Micah Dowty
Hello,
with appended code and a revised verilog code, I can reliable read blocks of
16 Bytes of date generated about each Microsecond, like running for about
500 seconds:
8 errors of 375293955 blocks (2.131662e-08), 9 (2.398120e-08) blocks skipped
From time to time some one or two blocks are skipped, which is something to
expect, as I only have about 128 byte of additional FIFO beside the FT2232H
internal fifo. First test showed that a larger FIFO lead to some more skips,
either by some flaw in my logic or some strange behaviour of the FT2232H
chip.
Writing the generated data to disk leads to skips for several to several ten
microseconds each several to several seconds. Probably the BLK (big kernel
lock) hits here.
The patch only adds some definition to ftdi.h and the additional file
ftdi_stream.c, with Micah Dowty okay to dual license his code. so I hope it
is okay to apply. Should the verilog code be inclided in libftdi too?
commit 9965050222905eecc664baf168f71a2b632cae2a
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Jun 8 13:16:19 2010 +0200
libbusb_get_device_list() needs libusb_free_device_list() to avoid leaks
This second patch calls libbusb_get_device_list() in all code pathes of
ftdi_usb_open_desc_index() and ftdi_usb_open_string() after
libusb_get_device_list() was called.
ftdi_usb_find_all() still leaks and will be handled in another patch when
these two patches are applied.
commit 4486d8aa1fc1ece4b023bb22f2d2c16fb03314a2
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Jun 8 12:24:19 2010 +0200
libusb_init() needs libusb_exit() to avoid leak
commit 43aee24f52720a758974d47f5319c9d57e46e51f
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue May 18 16:05:10 2010 +0200
Unconditionally call libusb_detach_kernel_driver() Try to be more helpfull
when things fail because of missing permission
commit fe1b45c8350359002db72385389f3394efca5065
Author: Alexander Lehmann <lehmanna@xxxxxxxxx>
Date: Tue May 25 14:25:07 2010 +0200
Honor CPPFLAGS in python wrapper to improve build process on Mac OS X
commit 08febc5eb9ee23b4b1734ab025cbcc2916a7d040
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun May 2 17:46:45 2010 +0200
CMAKE: Fix package creation on 32-bit machines
Appended patch fixes a typo that caused the creation of _64.[deb|rpm]
also for 32-bit builds.
commit f0005c33680f09d43e63a0c4d2c8209d418289aa
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Fri Apr 16 23:16:37 2010 +0200
Fix swig argument constraints. Thanks to Craig Hollabaugh for the hint.
commit 1971c26df1e1aa88c1191401f4e2b0afc1b5b344
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Mon Mar 29 12:21:52 2010 +0200
Fix ftdi_set_interface: It gets called before ftdi_usb_open().
Thanks to Marcus Krellig for pointing it out.
commit 22a1b5c16cfded0f207e608f57f742db404c5fe8
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date: Fri Feb 19 23:38:20 2010 +0100
Protect against segfault if device is closed or ftdi context is invalid
This will help mulithreaded applications which do proper
locking around the ftdi_xxx() functions and one thread
already closed the USB device -> Zonk!
Ported to libftdi-1.0 with additional checks.
Thanks to Thomas Klose for reporting the issue.
commit b113915025b9bdcb85112897727953f55818e90f
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Feb 2 17:52:03 2010 +0100
Use max_packet_size
ftdi->max_packet_size is the best value we can get, mostly taken from the
descriptor and so right even after a 1.0 Hub
commit 5cc2b9c1cf646f98914ff5785f6f3fb994c334d1
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Feb 2 17:31:08 2010 +0100
libftdi(-1): Add cmake option to enable ASYNC_MODE
Appended patch allows to openm async mode with something like
cmake -DASYNC-MODE=on
It should apply to libusb too.
commit 5478cd5944da978707c0c23c5c7a84554a0ea6f7
Author: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue Feb 2 18:52:37 2010 +0100
We need to find libusb-1, so adapt the CMake support files
commit 2e685a1f8377ffdb1167262e4d87ea78a5b83d18
Author: Jie Zhang <jzhang918@xxxxxxxxx>
Date: Sun Feb 14 09:01:36 2010 +0800
Fix a typo in comment in my last change.
commit 8de6eea49cd2689d79d4c27467fcfd3dde121d15
Author: Jie Zhang <jzhang918@xxxxxxxxx>
Date: Sun Feb 14 08:44:23 2010 +0800
Limit read buffer chunksize to 16384 on Linux.
commit 866a6dbba29fe197207a3d2ea579fcab9778ea8c
Author: Jie Zhang <jzhang918@xxxxxxxxx>
Date: Mon Feb 8 23:32:53 2010 +0800
Declare ftdi_read_data_submit and ftdi_transfer_data_done in ftdi.h.
commit 579b006f4873fa72c73d372660d158061497bcc9
Author: Jie Zhang <jzhang918@xxxxxxxxx>
Date: Tue Jan 19 18:00:01 2010 +0800
Initial import of using libusb-1.0.
-----------------------------------------------------------------------
hooks/post-receive
--
A library to talk to FTDI chips
--
libftdi-git - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi-git+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|