As Joerg Wunsch wrote:

> > But why do this Atmel tools leave and rejoin the USB Bus is still
> > a mystery which is worth some time of investigations. Something
> > must trigger it to do that, right?

...

> For the AVRISPmkII, I don't know, perhaps this one doesn't detach
> itself.  (Have to try this at home on my FreeBSD machine.)

Right, the AVRISPmkII is not affected unless we issue an usb_reset()
volunteerily.  On FreeBSD, running back-to-back avrdude commands
talking to an AVRISPmkII works like a charm (I just chained several of
them on a single command-line).

So it might be worth investigating (at run-time) which Linux systems
actually do require the usb_reset() call, and omit it otherwise.
-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)

_______________________________________________
avrdude-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev

Reply via email to