Search found 23 matches

by kwebdesigns
Tue Mar 18, 2008 7:51 pm
Forum: V-USB
Topic: AVR-USB Device Not Recognized on Atmega8
Replies: 41
Views: 32973

I am no longer getting compiler errors, but now I am back to getting no serial output. I can still run DBG1() and DBG2() fine. If I did not have the USB port connected to the AVR properly would I still see serial output? EDIT: Whenever I unplug and plug the USB port in I get this: Àff: ff: ff: ff: f...
by kwebdesigns
Tue Mar 18, 2008 7:03 pm
Forum: V-USB
Topic: AVR-USB Device Not Recognized on Atmega8
Replies: 41
Views: 32973

Sometimes I get this compiler error: main.c:(.text+0x1bc): multiple definition of `odDebug' usbdrv/oddebug.o:oddebug.c:(.text+0x2c): first defined here I see what you mean about DBG1 and DBG2. What order should I be including the files in main?
by kwebdesigns
Tue Mar 18, 2008 6:35 pm
Forum: V-USB
Topic: AVR-USB Device Not Recognized on Atmega8
Replies: 41
Views: 32973

I am beginning to make some progress. I now have debugging set up and working correctly. The problem was a combination of oddebug.h not being included and DEBUG_LEVEL being defined in the wrong place. The functions uartPutc() and printHex() are now working correctly. The serial data I am now receivi...
by kwebdesigns
Tue Mar 18, 2008 4:11 pm
Forum: V-USB
Topic: AVR-USB Device Not Recognized on Atmega8
Replies: 41
Views: 32973

The parity settings are correct and I can confirm the max232 is working. I wrote a test program that can send and receive at 19200 bps with no problem. What kind of output should I be seeing with the firmware in debug mode? I am determined to make this work. Thank you for your patience.
by kwebdesigns
Mon Mar 17, 2008 10:07 pm
Forum: V-USB
Topic: AVR-USB Device Not Recognized on Atmega8
Replies: 41
Views: 32973

I am still getting nothing over the serial port. I ended up using TeraTerm. Kermit is ridiculously complicated to me. I have tried connecting the AVR differently from several of the projects, but I am still having problems. What can I do to get this to work? Thanks.
by kwebdesigns
Mon Mar 17, 2008 8:37 pm
Forum: V-USB
Topic: AVR-USB Device Not Recognized on Atmega8
Replies: 41
Views: 32973

I am receiving something on the serial port now, but it shows up as spaces. What program would you recommend for Linux or Windows to debug this?
by kwebdesigns
Mon Mar 17, 2008 3:50 pm
Forum: V-USB
Topic: AVR-USB Device Not Recognized on Atmega8
Replies: 41
Views: 32973

I am trying to debug the device, but I am having problems. I have successfully setup a RS232 port on the device through the UART pins (I tested it with another program and i could send and receive). Once I load the AVR-USB firmware with the debug level at 2 I get no output. What baud rate should I b...
by kwebdesigns
Sat Mar 15, 2008 7:53 pm
Forum: V-USB
Topic: AVR-USB Device Not Recognized on Atmega8
Replies: 41
Views: 32973

AVR-USB Device Not Recognized on Atmega8

I have built the PowerSwitch project to specifications with a few modifications. Whenever I connect the device I get a USB device not recognized error on more than one Windows computer. From what I have read I am most likely experiencing hardware problems, but I have been unable to find a solution. ...