Yes, I just found that out yesterday! We will release a new version with a fixed template soon.
If you want to fix your template, load the template project at /usr/local/AVRMacPack/etc/templates/TemplateProject and change it. You may have to be root in order to edit the template.
Search found 1013 matches
- Tue Jan 08, 2008 1:12 pm
- Forum: V-USB
- Topic: AVR MacPack: AVR development on Mac
- Replies: 5
- Views: 8420
- Mon Jan 07, 2008 6:52 pm
- Forum: V-USB
- Topic: Usb device not found.
- Replies: 11
- Views: 10648
You MUST NOT set the jumper for device supply if you have an external supply connected! This may even damage your computer (although computers have a self-resetting fuse in the USB supply these days). If you disconnect the battery, the device CAN be supplied by the programmer if the device's ISP con...
- Mon Jan 07, 2008 4:24 pm
- Forum: V-USB
- Topic: Problem with driver??
- Replies: 2
- Views: 4792
It looks as if reading the device descriptors failed, since no information whatsoever is given about the device. Since reading the descriptors is the very first thing the host does, this probably means that USB connectivity does not work at all. Please check the usual things like - fuse values: Does...
- Mon Jan 07, 2008 4:19 pm
- Forum: V-USB
- Topic: Usb device not found.
- Replies: 11
- Views: 10648
- Sun Jan 06, 2008 8:19 pm
- Forum: V-USB
- Topic: Usb device not found.
- Replies: 11
- Views: 10648
- Sat Jan 05, 2008 10:12 pm
- Forum: V-USB
- Topic: Usb device not found.
- Replies: 11
- Views: 10648
Three more things that come to my mind: (1) Did you compile for the ATMega8 or the ATMega88? They are not binary compatible. (2) Did you check wiring, especially pin assignments of the USB connector (unless you used a known-to-work PCB, of course)? (3) Did you try to insert a hub between the host an...
- Sat Jan 05, 2008 10:03 pm
- Forum: V-USB
- Topic: Mass storage, or what are good alternatives?
- Replies: 16
- Views: 15778
For endpoints 0, 1 and 3 (this is the default endpoint number, actual numbers may be assigned differently), there are global variables volatile uchar usbTxLen; volatile uchar usbTxLen1; volatile uchar usbTxLen3; (only usbTxLen1 and usbTxLen3 are declared extern in the header, if you need to stall en...
- Sat Jan 05, 2008 4:39 pm
- Forum: V-USB
- Topic: USB with atmega 32
- Replies: 20
- Views: 21333
- Sat Jan 05, 2008 4:12 pm
- Forum: V-USB
- Topic: USB with atmega 32
- Replies: 20
- Views: 21333
Does it report the device name for the unknown device? If it knows the device name and vendor name, then the USB driver works. In this case you need to associate libusb with the device. This is usually done with a .inf file. If the device is completely unknown, there's probably a more fundamental er...
- Fri Jan 04, 2008 7:59 pm
- Forum: V-USB
- Topic: USB with atmega 32
- Replies: 20
- Views: 21333
This is a different problem than what you reported before. -lusb is libusb-win32. You should install it at a path where it can be found by the compiler (or add -L and -I flags to extend the search path). See http://libusb-win32.sourceforge.net/.
I see, igor's programmer includes the firmware file in the executable. There are many parallel port programmers available for zero-cost AVR programming. See for example m or search the web for low cost AVR programmers. You may even find programming software which is compatible with Igor's pin assign...
- Thu Jan 03, 2008 10:44 pm
- Forum: V-USB
- Topic: USB with atmega 32
- Replies: 20
- Views: 21333
I would recommend that you start analytically: Use one of the reference projects on an ATMega8 and get it running. Then move this same project over to the ATMega32, updating the usbconfig.h and other pin assignments as well as fuse values accordingly. Then bring in your firmware code, taking care th...
- Thu Jan 03, 2008 6:55 pm
- Forum: V-USB
- Topic: USB with atmega 32
- Replies: 20
- Views: 21333
OK. One thing after the other. Please make sure that the device is recognized by Windows. I don't know how you can distinguish a broken device from a device without drivers on Windows, but there should be a way to do that. Regarding the host application: Please make sure you can compile a simple &qu...
- Thu Jan 03, 2008 6:34 pm
- Forum: V-USB
- Topic: USB with atmega 32
- Replies: 20
- Views: 21333
- Thu Jan 03, 2008 3:28 pm
- Forum: V-USB
- Topic: USB with atmega 32
- Replies: 20
- Views: 21333