If you can, use gcc 3. It compiles smaller code.
Other than that, you can omit some functionality (e.g. EEPROM access) or include a custom vector table without all the unused slots. The latter is a bit tricky, though.
Search found 1013 matches
- Sun Oct 04, 2009 3:54 pm
- Forum: V-USB
- Topic: file to big to upload
- Replies: 1
- Views: 2100
- Sun Oct 04, 2009 12:16 pm
- Forum: V-USB
- Topic: Combine HIDBoot + Powerswitch functionality's
- Replies: 1
- Views: 2201
Re: Combine HIDBoot + Powerswitch functionality's
HID allows a wide spectrum of devices. If you implement a keyboard, it is as you say: You point the cursor at a window and the device writes the data. Most applications implement a generic HID device. This allows (almost) arbitrary communication in fixed size blocks between the host and the device. ...
- Sun Oct 04, 2009 12:03 pm
- Forum: V-USB
- Topic: Could not find USB device "LEDControl" vid=0x16c0 pid=0x5dc
- Replies: 7
- Views: 5847
Re: Could not find USB device "LEDControl" vid=0x16c0 pid=0x5dc
This is a problem with your device. Probably something with the wiring, with the zener diodes or with the fuses. Did you compile for the Mega8? I think the hex files which ship with the examples are compiled for the Mega168.
- Sun Oct 04, 2009 11:59 am
- Forum: V-USB
- Topic: Avr doper + mac os x not working
- Replies: 1
- Views: 2141
Re: Avr doper + mac os x not working
I'm running AVR-Doper with Mac OS X in both modes. The message you mentioned is harmless. There is no need to detach any operating system drivers.
- Sun Oct 04, 2009 11:58 am
- Forum: V-USB
- Topic: Can't compile hidtool from examples
- Replies: 13
- Views: 10902
Re: Can't compile hidtool from examples
Your development environment seems to lack some of the USB driver libs. Did you try MinGW?
- Sun Oct 04, 2009 11:55 am
- Forum: V-USB
- Topic: Error while "Select Configuration"
- Replies: 5
- Views: 4069
Re: Error while "Select Configuration"
Did you try to run V-USB in debug mode and connect a terminal to the serial debug output (19200 bps)? This way you can check whether the same data arrives at V-USB which was sent by the OS and vice versa. If there is a discrepancy, something is broken in the low level stuff (e.g. data loss due to in...
- Sun Oct 04, 2009 11:49 am
- Forum: V-USB
- Topic: With crstal or without crstal
- Replies: 6
- Views: 5697
Re: With crstal or without crstal
The 16.5 MHz module is more stable than the 12.8 MHz module because everything is within the specs of the RC oscillator. The big issue is calibration and V-USB contains only suggestions how this can be solved. If you have a good calibration method, the RC version should be similarly stable as a crys...
- Sun Oct 04, 2009 11:43 am
- Forum: V-USB
- Topic: SPI and V-USB
- Replies: 2
- Views: 2771
Re: SPI and V-USB
There should be no problems mixing SPI and USB. I think there are even examples which convert SPI to USB. I do know about TWI to USB examples.
- Sun Oct 04, 2009 11:39 am
- Forum: V-USB
- Topic: Lost connection with PC: any way to restore?
- Replies: 14
- Views: 9836
Re: Lost connection with PC: any way to restore?
If your main() routine begins with a usbDisconnect() which lasts for some time (all our examples do that), then I don't see a difference to initiating the disconnect somewhere during runtime. If your main() does not do that, the host won't know that you had a reset. The USB driver's usbDeviceAddr va...
- Wed Sep 30, 2009 10:37 pm
- Forum: V-USB
- Topic: V-USB with Arduino Duemilanove 328?
- Replies: 8
- Views: 7580
Re: V-USB with Arduino Duemilanove 328?
If the problem is only with the 328p, please look at the following thread: viewtopic.php?f=8&t=2663
- Mon Sep 28, 2009 12:00 pm
- Forum: V-USB
- Topic: Lost connection with PC: any way to restore?
- Replies: 14
- Views: 9836
Re: Lost connection with PC: any way to restore?
Why should this prevent the disconnect/connect sound? A watchdog reset also triggers a disconnect. If it does not, there's a discrepancy in the host's notion of the USB ID and the device's notion.
You should be able to prevent EMI problems with a (very) good board layout.
You should be able to prevent EMI problems with a (very) good board layout.
- Thu Sep 24, 2009 1:28 pm
- Forum: V-USB
- Topic: V-USB speed
- Replies: 16
- Views: 25711
Re: V-USB speed
For a serial port, yes. Except that you must divide by 10 instead of 8 due to start and stop bits.
For USB, look at the figures people report, or make your own experiments. It's hard to predict how fast V-USB will be in a particular application.
For USB, look at the figures people report, or make your own experiments. It's hard to predict how fast V-USB will be in a particular application.
- Tue Sep 22, 2009 9:48 pm
- Forum: V-USB
- Topic: Usb not Recognized: Malfunctioning
- Replies: 4
- Views: 3604
Re: Usb not Recognized: Malfunctioning
3.9 should be OK for most hosts. The minimum voltage is defined by the USB spec (but you must take into account that the last couple of millivolts are reached slowly). The maximum is defined by the common mode voltage range of the host's input amplifier. This may be +5V (especially with older design...
- Tue Sep 22, 2009 11:07 am
- Forum: V-USB
- Topic: Usb not Recognized: Malfunctioning
- Replies: 4
- Views: 3604
Re: Usb not Recognized: Malfunctioning
2.5 V on D- is not enough. You need something around 3 V.
- Tue Sep 22, 2009 10:58 am
- Forum: V-USB
- Topic: V-USB on Attiny 85 with internal 8MHz oscilator
- Replies: 5
- Views: 5709
Re: V-USB on Attiny 85 with internal 8MHz oscilator
8 MHz is out of question. But you can use 12.8 MHz with the internal oscillator (it can be tuned up to 12.
OR you can use the PLL clock doubler and run on 16.5 MHz.