|
From: | Doug S |
Subject: | [avrdude-dev] [patch #7486] Patch to add FT2232C/D, FT2232H, FT4232H, usbvid, usbpid, usbdev for USB support - Based on #7062 |
Date: | Thu, 25 Aug 2011 01:32:27 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.20) Gecko/20110805 Ubuntu/10.04 (lucid) Firefox/3.6.20 |
Follow-up Comment #10, patch #7486 (project avrdude): Jason Hecker said:> avrftdi.c:96 avrftdi_flush() ftdi_read_data(&ftdic, buf, 1) != 1: Device busy (16) I too ran into this problem and fixed it by deleting the function avr_flush() and replacing the only call to avr_flush() with: E(ftdi_usb_purge_buffers(&ftdic)); Worked like a charm. (Disclaimer - 'worked like a charm' with the development libftdi/libusb-1.0 but should work with the older version). Can you check to see if this works for you, Joerg? I'll verify it doesn't break anything here with my devices. If it all checks out, I propose I submit a new patch file that includes includes all updates to this point. _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/patch/?7486> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |