AVR-CDC Problems
AVR-CDC Problems
I am having some strange problems with this project. I compiled it for the ATmega88, only because I wanted to add a "chip is working" led. I hook it up and install the driver. It appears to work fine, I try to send and receive with it and I get no data. Nothing at all. I tried the precompiled .hex files for both polling and interrupt. Nothing.
so, I pull out an oscilloscope. I look at it, there is data flowing.
I am not sure what is wrong, I cannot get the avr-cdc to communicate back to the PC from another device and I cannot get it to communicate to another device.
I would like to get this working, but maybe this project is not a good solution. I read somewhere in another topic that it has problems.
Thanks for your help.
so, I pull out an oscilloscope. I look at it, there is data flowing.
I am not sure what is wrong, I cannot get the avr-cdc to communicate back to the PC from another device and I cannot get it to communicate to another device.
I would like to get this working, but maybe this project is not a good solution. I read somewhere in another topic that it has problems.
Thanks for your help.
Are you sure that you used a binary for the Mega88? Please note that the Mega8 and Mega88 are not binary compatible. You need a hex file specifically compiled for the Mega88.
The problem with AVR-CDC is that it is not completely USB standards conformant. It works with (at least) Windows and Mac OS X.
The problem with AVR-CDC is that it is not completely USB standards conformant. It works with (at least) Windows and Mac OS X.
Forgot to mention
The driver installs properly and the device is configurable. The PC acts like it is working properly, which tells me the USB is working on the chip. It just is not communicating through the UART on the chip.
If the device enumerates and is recognized by your operating system, then AVR-USB is functional. If the pipes stall or serial I/O does not work, that's a problem of the firmware application using AVR-USB, not of the driver itself.
I know that the AVR-CDC application takes the driver to its limits and sometimes slightly beyond.
So: If the device enumerates and is recognized by the OS, it can't be a fuse, circuit or hardware problem.
I know that the AVR-CDC application takes the driver to its limits and sometimes slightly beyond.
So: If the device enumerates and is recognized by the OS, it can't be a fuse, circuit or hardware problem.