> According to libftdi documentation ftdi_usb_purge_buffers() does what > avrftdi_flush was intended for. I wasn't aware of the purge functions, but > they are the better solution. However, ftdi_read_data() shouldn't fail either.
Well maybe it used to work but something has changed. I have built avrdude-SVN981 with my patches for the 232H applied in Ubuntu 11.04 (Natty). Much to my teeth gnashing dismay neither the libftdi0.18 or even the libftdi-0.19-3 packages (from Oneric) support the 232H yet and I get: jason@Myth:~/avrdude/avrdude$ sudo ./avrdude -C ./avrdude.conf -c um232h -p m1280 Unknown type 1 (0x1) Unknown type 1 (0x1) It looks like there has been an effort made to backport the device into libftdi 0.1x (http://developer.intra2net.com/mailarchive/html/libftdi/2011/msg00260.html) but it hasn't trickled to Ubuntu yet. What's the state of other Linux and BSDs with respect to libftdi? You can do a quick check to see what's going on if in ftdi.h there is an enumeration for 'TYPE_232H = 6'. _______________________________________________ avrdude-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/avrdude-dev
