Page 1 of 1

avrdoper debug serial interface

Posted: Tue Mar 17, 2009 7:31 pm
by osso
I have succesfully working avrdoper clone made with atmega 16. Both HID and serial modes working fine. Is there any way how to make working the serial debugging interface too ? When I run the avrdebug.exe, I get only " Could not find USB device "AVR-Doper" with vid=0x16c0 pid=0x5e1 or 0x5df " In the revision history is written that host driver needs to be written .... Is there any way how to do so ? Maybe I can help with it .... I would like to have this debugging interface working.

Re: avrdoper debug serial interface

Posted: Sat Apr 11, 2009 6:53 pm
by christian
I think the debug interface works only in HID mode. But then it should work on Windows as well.

Re: avrdoper debug serial interface

Posted: Sat Apr 11, 2009 8:17 pm
by osso
Yes, that is what I would like to have - HID programmer + serial debug interface. But the programmer is not found / recognized by the avrdebug.exe. It says " Could not find USB device "AVR-Doper" with vid=0x16c0 pid=0x5e1 or 0x5df ". But in the avr program are these values defined, so where is the problem ?

Re: avrdoper debug serial interface

Posted: Sat Apr 11, 2009 8:24 pm
by christian
Do you have the filter version of libusb-win32 installed? This is required in order to connect to a device already associated with a different driver.

Re: avrdoper debug serial interface

Posted: Sat Apr 11, 2009 9:09 pm
by osso
As I know, I do not install anything on windows to use avrdoper. That means that using it as programmer I need nothing, and for using its serial debug iface I should install libusb-win32 ?

Re: avrdoper debug serial interface

Posted: Sat Apr 11, 2009 9:11 pm
by christian
Yes. Programming works either through the USB CDC or HID device class. Drivers for both are included with every operating system. Debugging is a custom extension which requires a separate driver on Windows (not on all other operating systems).

Re: avrdoper debug serial interface

Posted: Sat Apr 11, 2009 9:18 pm
by osso
:D
Yeah, it looks working. I dowloaded and installed the latest filter version of libusb-win32, and first it looks non working at all. But when I re-un-plug the dopper, avrdebug.exe stops saying "... doper not found ...", so maybe it is working. I am going to write test app and post the result asap. Thanks. :)

Re: avrdoper debug serial interface

Posted: Sun Oct 18, 2009 1:43 pm
by Noor
Hello,
Why serial interface can't working with hyperterminal or realterm, although the virtual port is detected? Is this impossible? :shock: