]> sigrok.org Git - sigrok-firmware-fx2lafw.git/commit
fx2lafw: Delay start of GPIF until first BULK IN request is received
authorStefan Brüns <redacted>
Wed, 3 Jan 2018 22:59:41 +0000 (23:59 +0100)
committerUwe Hermann <redacted>
Wed, 17 Jan 2018 16:49:53 +0000 (17:49 +0100)
commitcfeb1a3602f587eb981c4ce1f9ff368997f4e0e0
treee28f74b657aac8f39bda89144f1b1fe409139008
parentedf37359a4dedfd8c54f42a25cbef1c7d0814887
fx2lafw: Delay start of GPIF until first BULK IN request is received

Apparently the host controller may issue the CONTROL transfer with
the START command earlier than any of the BULK IN requests. The result
is a filled up EP2 packet FIFO, which aborts the acquisition.

Waiting for the first BULK IN request matches the sample code in the
TRM, see e.g. Figure 10-30.

This fixes bug #655.
fx2lafw.c
gpif-acquisition.c
include/gpif-acquisition.h