Search found 1013 matches
- Thu Jan 03, 2008 2:49 pm
- Forum: V-USB
- Topic: USB with atmega 32
- Replies: 20
- Views: 21333
The first error message mentioned, when you compile the command line tool, is a misconfiguration of your gcc. The message says that it fails to execute gcc. Regarding the firmware: You include usbdrv.c in your main code and define USB_PUBLIC to static, right? I'm not sure about the first message sin...
- Wed Jan 02, 2008 11:24 pm
- Forum: V-USB
- Topic: Mass storage, or what are good alternatives?
- Replies: 16
- Views: 15778
- Wed Jan 02, 2008 8:21 pm
- Forum: V-USB
- Topic: Mass storage, or what are good alternatives?
- Replies: 16
- Views: 15778
You can post in English or German, but you can expect more answers to English posts since more users speak English. It's also more polite to others who don't speak German. I have no experience how reliable a mass storage low speed device would be. The latest version of the driver can implement enoug...
- Wed Jan 02, 2008 8:15 pm
- Forum: V-USB
- Topic: USB with atmega 32
- Replies: 20
- Views: 21333
Your link referred to AVR-USB's index page, not a particular project. As far as I know, there is no project on our site (or linked form our site) which uses the ATMega32. If you use the Mega32, you need to update some configurations and probably fuse values. For a beginner, I would recommend that yo...
You can probably even use Igor's programmer. If the programmer accepts a Intel-Hex file, just send your own project's hex file instead of Igor's. If you use avrdude: You probably don't need to edit anything. It comes with a configuration for all known parallel port programmers, you just need to know...
- Sun Dec 30, 2007 9:03 pm
- Forum: V-USB
- Topic: Problems with HIDkeys on atmega32 @WinXP
- Replies: 16
- Views: 16057
Here are my screenshots from the scope for D+ (channel 1) and D- (channel 2). You can see that the reply from the device is with 5V levels since I omitted the zener diodes. Even with the zeners you should see which is the host's request and which the device reply by the voltage levels. http://at.obd...
- Sat Dec 29, 2007 6:04 pm
- Forum: V-USB
- Topic: Problems with HIDkeys on atmega32 @WinXP
- Replies: 16
- Views: 16057
- Sat Dec 29, 2007 5:52 pm
- Forum: V-USB
- Topic: problems with using external interrupt different from INT0
- Replies: 28
- Views: 28970
- Fri Dec 28, 2007 8:13 pm
- Forum: V-USB
- Topic: Atmega16+32 not found with 16MHz crystal on some Hosts
- Replies: 20
- Views: 22226
- Fri Dec 28, 2007 7:58 pm
- Forum: V-USB
- Topic: Problems with HIDkeys on atmega32 @WinXP
- Replies: 16
- Views: 16057
- Fri Dec 28, 2007 3:40 pm
- Forum: V-USB
- Topic: Problems with HIDkeys on atmega32 @WinXP
- Replies: 16
- Views: 16057
OK, so let's assume that the fuse values are correct. The debug output is at 19200 bps by default. Since only the TxD pin is used, there is no flow control. I don't know what settings you need for Hyperterminal, though, if you just want to receive data. If you interface to a PC, you need an inverter...
- Thu Dec 27, 2007 8:41 pm
- Forum: V-USB
- Topic: sending at least 50 bytes from PC to AVR
- Replies: 1
- Views: 5484
You need to implement usbFunctionWrite() and return -1 in usbFunctionSetup() for a particular request. When you send this request from the host, the driver will call usbFunctionWrite() in chunks of 8 bytes until all data is received. See usbdrv.h for a description of usbFunctionWrite() and usbFuncti...
- Thu Dec 27, 2007 8:38 pm
- Forum: V-USB
- Topic: Problems with HIDkeys on atmega32 @WinXP
- Replies: 16
- Views: 16057
- Thu Dec 27, 2007 8:18 pm
- Forum: V-USB
- Topic: IAR AVR build error with new usbdrv lib 2007-12-01
- Replies: 5
- Views: 11327
- Thu Dec 27, 2007 8:16 pm
- Forum: V-USB
- Topic: problems with using external interrupt different from INT0
- Replies: 28
- Views: 28970
That's good. If INT0 works, it should be something simple. Your USB configuration looks OK. Only one slight thing: You use ISC30 and ISC31 instead of ISC70 and ISC71, but that does not matter since both constant sets are defined to the same values. If you are unsure about USB_INTR_VECTOR, run the re...