Search found 6 matches

by lucky5
Tue Jun 14, 2011 1:20 pm
Forum: V-USB
Topic: V-USB keyboard
Replies: 0
Views: 4576

V-USB keyboard

Hi, I am trying to understand V-USB implementation of capslocker code.I went googled related docs. As per that, USB report descriptor for keyboard has to be sent. I could see progmem declaration for descriptor in the code which implies placing descriptor in flash.I would like to know, using which fu...
by lucky5
Tue Sep 07, 2010 1:55 pm
Forum: V-USB
Topic: atmega128
Replies: 15
Views: 14942

Re: atmega128

I am newby at AVR and because i couldn't find an ATTINY45 i used an ATMEGA128 to test and practice with the code provided at CAPSLOCK project http://macetech.com/blog/?q=node/46 . I used port D 2 for usb D- and port D 0 for usb D+ clocked into usbconfig.h with a 16MHz ceramic resonator the fuses WD...
by lucky5
Tue Sep 07, 2010 7:40 am
Forum: V-USB
Topic: example for Atmega8
Replies: 14
Views: 13354

Re: example for Atmega8

Your questions are too general to be answered in a forum posting. The hardware connections are certainly OK. However, we can't write the firmware for you. If you have a specific problem with the descriptor, with key up/down handling or similar, we may be able to help. Thanks Christian for your repl...
by lucky5
Mon Sep 06, 2010 5:15 am
Forum: V-USB
Topic: example for Atmega8
Replies: 14
Views: 13354

Re: example for Atmega8

Understanding all of usbconfig-prototype.h may be a bit hard for a newbie. In any case you should know the general architecture, that V-USB drives the USB lines directly and that there is no FT232 involved. Then you should know that USB requires descriptors, what they are good for and what is insid...
by lucky5
Sat Sep 04, 2010 7:51 am
Forum: V-USB
Topic: example for Atmega8
Replies: 14
Views: 13354

Re: example for Atmega8

Hi christian and frank26080115 .Thanks for the replies. I' have modified my hardware to emulate atmega128 as keyboard connected to USB as shown in below D+(INT0) connected to PD0 and D- to PD6(T1). I could see few schematics showing D- conected to INT1.Please let me know if this connected are Ok for...
by lucky5
Fri Aug 27, 2010 9:13 am
Forum: V-USB
Topic: example for Atmega8
Replies: 14
Views: 13354

Re: example for Atmega8

Thanks for your reply, But I still have questions.I have FT232BM which is a rs232 to USB converter in my kit and Usb is connected to CPU.FT232BM is connected to rx and tx pins of atmega128.USB is well detected.But how should I configure and make it detect as keyboard HID with such a hardware setup. ...