avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-chat] Fw: avrispmkII and AVRDUDE with USB


From: Joerg Wunsch
Subject: Re: [avr-chat] Fw: avrispmkII and AVRDUDE with USB
Date: Thu, 15 Jan 2009 23:15:14 +0100 (MET)

Pierre Ghislain <address@hidden> wrote:

> AVRDUDE don't support Jungo but AVR Studio support it and uses
> AVRDUDE.  Something is missing - need explanation!

AVRDUDE just uses libusb.  It doesn't care about drivers by
itself.

libusb-win32 offers two different flavours.  One flavour (and that's
the one that ships with WinAVR) is to write a stub driver of its own,
and use that one.  The advantage is that it will work an any USB
hardware, and does not require any vendor driver.  The disadvantage is
that no other driver can be installed at the same time for that device
(obviously).

The second flavour is the "filter" driver.  It assumes the device to
be used already has a driver of its own inside the Windows kernel, and
then uses a filter hook that is provided by the Win32 API in order to
intercept the data transfers.  The disadvantage is that you need a
vendor driver, and thus cannot use it for arbitrary USB hardware.  The
advantage is that non-libusb software could also access the device
through the regular driver interface (albeit not concurrently).

So go ahead, search the libusb-win32 project on sourceforge.net, get
and install the filter driver package from there.  That one will work
on top of your Jungo driver.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]