Search found 481 matches
- Wed Mar 24, 2010 5:30 am
- Forum: V-USB
- Topic: ATMEGA328P on V-USB
- Replies: 43
- Views: 52087
Re: ATMEGA328P on V-USB
I heard the (p) chips dont work with v-usb. My guess is that atmega168p also does not work. Can we get some confirmation on this? Ok, here is where I heard that from http://forums.obdev.at/viewtopic.php?f=8&t=2663&p=11457&hilit=168p#p11457 rodmolina, never posted the fuses. objective, sa...
- Wed Mar 24, 2010 5:17 am
- Forum: V-USB
- Topic: [ bug ] descriptor of size 255 limit?
- Replies: 4
- Views: 5477
[ bug ] descriptor of size 255 limit?
I have a descriptor that needs a lot of info to make the physical layer work. Most examples show 10 pages of stuff. All of this info goes under the usage application collection. I get about 200 lines worth before I run in to trouble. Is this a limit of the atmega168 ( still have room on the chip ), ...
- Fri Mar 19, 2010 5:07 am
- Forum: V-USB
- Topic: ATMEGA328P on V-USB
- Replies: 43
- Views: 52087
ATMEGA328P on V-USB
anyone try this on usb-V-USB?
- Fri Mar 19, 2010 4:08 am
- Forum: V-USB
- Topic: compiled code size
- Replies: 3
- Views: 3426
Re: compiled code size
I got mine down to 1950 doing the same and removing the debug code. I'd like to get it lower but cant seem to do so. As it is, my main flash needs to be 87.5% or less and I'm always fighting with it. I was thinking some compiler options would help, I have used these in the past --param inline-call-c...
- Wed Mar 17, 2010 11:22 pm
- Forum: V-USB
- Topic: Device Manager -> USB Device Name?
- Replies: 2
- Views: 3093
Re: Device Manager -> USB Device Name?
Do you mean like "HID-complaint game controller" in the case of a hig game controller? Because that is not changeable in firmware, that a m$ thing. You could hack the registry but I dont know where exactly. The only control you have, is the name, USB_CFG_DEVICE_NAME, this will change the d...
- Sat Mar 06, 2010 4:47 am
- Forum: V-USB
- Topic: example demonstrating out endpoints
- Replies: 0
- Views: 4294
example demonstrating out endpoints
First please correct me of I'm wrong, but I'm under the impression I need to use an out-end point to capture a DX request to use Force Feed Back?
If so , I have set up my config desc, and Think I have the report set up. but how to you get the data, I dont see a usbGet ?
If so , I have set up my config desc, and Think I have the report set up. but how to you get the data, I dont see a usbGet ?
- Sat Mar 06, 2010 12:35 am
- Forum: V-USB
- Topic: two transactions to send the report?
- Replies: 3
- Views: 3584
Re: two transactions to send the report?
ok got it. while (!usbInterruptIsReady()) usbPoll(); // need to wait usbSetInterrupt((void *)&reportBuffer + 0, curGamepad->report_size); while (!usbInterruptIsReady()) usbPoll();//need to wait usbSetInterrupt((void *)&reportBuffer + 8, curGamepad->report_size); no need for any fancy endpoin...
- Fri Mar 05, 2010 4:56 am
- Forum: V-USB
- Topic: Is there any example project using endpoint 1 & 3 both?
- Replies: 1
- Views: 2201
Re: Is there any example project using endpoint 1 & 3 both?
I love how there is no PM system on this board...
So rinku, any luck? I'd like to ask how or if you got the two endpoints working. - Something gives me the feeling you want get this?
So rinku, any luck? I'd like to ask how or if you got the two endpoints working. - Something gives me the feeling you want get this?
- Fri Mar 05, 2010 1:55 am
- Forum: V-USB
- Topic: two transactions to send the report?
- Replies: 3
- Views: 3584
two transactions to send the report?
Basically I have 9 packets I need to send and maybe more in the future. I can only send 8 with 1.1 spec, so I need to to a multi endpoint, or hoping for a better method. Any project examples out there? Is there something that I could do with the control endpoint? I see how to set up the mutli in end...
- Thu Mar 04, 2010 12:01 am
- Forum: V-USB
- Topic: Using usual diodes instead of Zeners
- Replies: 4
- Views: 4837
Re: Using usual diodes instead of Zeners
I have seen people using 1N4148, and I have powered many projects on another +5 power source.
- Wed Mar 03, 2010 2:30 am
- Forum: V-USB
- Topic: packet size > then 8
- Replies: 1
- Views: 2122
Re: report size > then 8
ok looks like maximum packet size ( in my device config ) is the value that I need to increase but going from 8 to 9 prevents and packets from working, however going from 8 to 7, does just as expected, allows only 7. I also see the device descriptor has a packet size but changing that prevents my us...
- Sun Feb 28, 2010 2:33 am
- Forum: V-USB
- Topic: packet size > then 8
- Replies: 1
- Views: 2122
packet size > then 8
I never really needed a length greater than 64 before but found out setting my REPORT_SIZE to a 9 causes enumeration issues. Guessing there is a setting for htis as I know I have seen sizes in the 16's or at least greater then 8. This is my config var usbDescriptorConfiguration[] = { 0 }; // dummy u...
- Sat Feb 27, 2010 5:29 pm
- Forum: V-USB
- Topic: problem: USB HID report descriptor length - driving me nuts!
- Replies: 8
- Views: 7357
Re: problem: USB HID report descriptor length - driving me nuts!
Are you doing a clean before compile?
- Fri Feb 26, 2010 4:20 pm
- Forum: V-USB
- Topic: problem: USB HID report descriptor length - driving me nuts!
- Replies: 8
- Views: 7357
Re: USB HID report descriptor length problem
its 0, but I think its done that way so that it can be set in the PROGMEM array. I derived this from another project. But I would think you can set USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH to 8 if your set up is done that way.
- Fri Feb 26, 2010 12:05 am
- Forum: V-USB
- Topic: problem: USB HID report descriptor length - driving me nuts!
- Replies: 8
- Views: 7357
Re: USB HID report descriptor length problem
I have done the same thing, my code adds pressure buttons, guitar hero support, and I ripped out the pad. I wont post it as its very large and not what you asked but few things.. here is my report const char analog_usbHidReportDescriptor[] PROGMEM = { 0x05, 0x01, // USAGE_PAGE (Generic Desktop) 0x09...