Hello, Alright - last message hijacking the thread I promise, let's keep any further discussion in the separate bug issue I raised!
> OK, that would be good. I don't have the USB dongles around here anyway, they are still in the office. So if I get such an > image sometimes this week, I should be able to run some tests. I've uploaded a hex file to bug # 43268 that does this. I'll add some notes to that bug report about using it. Regards, -Colin -----Original Message----- From: Joerg Wunsch [mailto:j...@uriah.heep.sax.de] Sent: September-21-14 3:15 PM To: avrdude-dev@nongnu.org Cc: Colin O'Flynn; 'Dean Camera' Subject: Re: [avrdude-dev] [bug #40831] LUFA AVRISP-MKII fails with avrdude 6.0.1 As Colin O'Flynn wrote: > As a counterpoint - one could argue the usb drain command is itself a > hack, as there shouldn't be extra data we drain away from the > endpoint. You're probably right. I thought of the same code being also used for plain STK500v2 devices connected over USB (like, through an FT232) where there could still be "old stuff" sitting around in the pipeline, but then, these don't use the libusb backend but rather ser_posix/ser_win32, so it's not the same AVRDUDE code then. > I'll try to make a hex for the at90usb1287 too later that you can use. > I'm 95% sure you don't need a target, just attempting to sign onto the > AVR-ISP MKII would cause the error. OK, that would be good. I don't have the USB dongles around here anyway, they are still in the office. So if I get such an image sometimes this week, I should be able to run some tests. > I guess we've had this issue for several years already, so presumably > nobody is in too big a rush! :-) As for the other part (endpoint detection heuristics), is there anyone who would want to step forward on this? -- cheers, Joerg .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-) _______________________________________________ avrdude-dev mailing list avrdude-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/avrdude-dev