Search found 1013 matches
- Wed Aug 15, 2007 8:34 pm
- Forum: V-USB
- Topic: Problems with ATMega88
- Replies: 12
- Views: 13275
The test program does not use the timer: You never clear TOV0 in TIFR0 by writing 1 to it. The loop therefore runs at maximum speed. Otherwise it should output something like 22.888 Hz. Having 12 MHz on CLKO should prove that the clock is correct, though. Then we have the remaining questions: Have y...
- Wed Aug 15, 2007 8:25 pm
- Forum: V-USB
- Topic: AVR-Doper HID mode problem
- Replies: 10
- Views: 32308
OK, the transistors MAY be a substitute. I don't want to take the time to think it through thoroughly. I took quite a bit of time to think through all cases (target voltage higher or lower than programmer) with the HC126. The simple version without level converters would be a compile time firmware o...
- Tue Aug 14, 2007 8:16 pm
- Forum: V-USB
- Topic: AVR-Doper HID mode problem
- Replies: 10
- Views: 32308
Yes, you are right with this computation. I can't remember exactly why I did it this way, maybe because I was working with capacitive sensors before that and wanted to re-use the principle. The transistors are probably not a good substitute for level conversion. We should come up with a low-cost ver...
- Tue Aug 14, 2007 7:38 pm
- Forum: V-USB
- Topic: AVR-Doper HID mode problem
- Replies: 10
- Views: 32308
The idea behind this code is to use the port pin for dual purposes. The HID jumper has a series resistor in order to prevent disturbing the normal port function. Since it's not guaranteed that the pull-down with 1k series resistor reads reliably low, we measure the discharge of the pin's capacity. W...
- Mon Aug 13, 2007 2:28 pm
- Forum: V-USB
- Topic: Problems with ATMega88
- Replies: 12
- Views: 13275
- Mon Aug 13, 2007 1:02 pm
- Forum: V-USB
- Topic: Problems with ATMega88
- Replies: 12
- Views: 13275
If you had to change USB_INTR_CFG and related defines in order to compile, something must be broken. usbdrv.h contains #ifdefs to detect the set of defines to be used. It should choose EICRA etc. automatically. Your fuse low byte has bit 7 (CKDIV8) clear, this means that the MCU divides the clock by...
- Mon Aug 13, 2007 12:50 pm
- Forum: V-USB
- Topic: AVR USB device not recognized
- Replies: 3
- Views: 6393
The debug log shows that the host sends a request and the device answers, but the host does not recognize the answer and retries the request several times until it decides to issue another reset and start from scratch. I have not decoded the host request to see whether it makes sense. But if the clo...
- Mon Aug 13, 2007 12:32 pm
- Forum: V-USB
- Topic: usbasp and an Intel Mac w/ OS X (device not recognized)
- Replies: 10
- Views: 14046
- Wed Aug 08, 2007 5:31 pm
- Forum: V-USB
- Topic: AVR-CDC Problems
- Replies: 8
- Views: 9244
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 an...
- Wed Aug 08, 2007 5:10 pm
- Forum: V-USB
- Topic: AVR-CDC Problems
- Replies: 8
- Views: 9244
- Wed Aug 08, 2007 4:41 pm
- Forum: V-USB
- Topic: AVR-CDC Problems
- Replies: 8
- Views: 9244
- Wed Aug 08, 2007 4:14 pm
- Forum: V-USB
- Topic: AVR-CDC Problems
- Replies: 8
- Views: 9244
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.
- Wed Aug 08, 2007 4:07 pm
- Forum: V-USB
- Topic: usbasp and an Intel Mac w/ OS X (device not recognized)
- Replies: 10
- Views: 14046
- Thu Aug 02, 2007 4:22 pm
- Forum: V-USB
- Topic: How to add endpoints ?
- Replies: 6
- Views: 7629
Correcting myself: You might be able to share endpoints even if all functions run simultaneously. You can probably use endpoint 0 for all three functions because the function can be distinguished by the request. You can also probably share the interrupt endpoint because CDC does not really require i...
- Thu Aug 02, 2007 4:20 pm
- Forum: V-USB
- Topic: How to add endpoints ?
- Replies: 6
- Views: 7629