avrdoper debug serial interface

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
osso
Posts: 7
Joined: Thu May 08, 2008 12:14 am

avrdoper debug serial interface

Post by osso » Tue Mar 17, 2009 7:31 pm

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.

christian
Objective Development
Objective Development
Posts: 1443
Joined: Thu Nov 09, 2006 11:46 am

Re: avrdoper debug serial interface

Post by christian » Sat Apr 11, 2009 6:53 pm

I think the debug interface works only in HID mode. But then it should work on Windows as well.

osso
Posts: 7
Joined: Thu May 08, 2008 12:14 am

Re: avrdoper debug serial interface

Post by osso » Sat Apr 11, 2009 8:17 pm

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 ?

christian
Objective Development
Objective Development
Posts: 1443
Joined: Thu Nov 09, 2006 11:46 am

Re: avrdoper debug serial interface

Post by christian » Sat Apr 11, 2009 8:24 pm

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.

osso
Posts: 7
Joined: Thu May 08, 2008 12:14 am

Re: avrdoper debug serial interface

Post by osso » Sat Apr 11, 2009 9:09 pm

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 ?

christian
Objective Development
Objective Development
Posts: 1443
Joined: Thu Nov 09, 2006 11:46 am

Re: avrdoper debug serial interface

Post by christian » Sat Apr 11, 2009 9:11 pm

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).

osso
Posts: 7
Joined: Thu May 08, 2008 12:14 am

Re: avrdoper debug serial interface

Post by osso » Sat Apr 11, 2009 9:18 pm

: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. :)

Noor

Re: avrdoper debug serial interface

Post by Noor » Sun Oct 18, 2009 1:43 pm

Hello,
Why serial interface can't working with hyperterminal or realterm, although the virtual port is detected? Is this impossible? :shock:

Post Reply