Search found 9 matches

by santacruzbob
Wed May 05, 2010 4:36 am
Forum: V-USB
Topic: Trouble fitting USBaspLoader
Replies: 3
Views: 3551

Re: Trouble fitting USBaspLoader

Frank, I've had luck compiling this code using gcc 3.4.6 for whatever reason the old compilers generated considerably smaller code. There are a few options in bootloaderconfig.h that you can remove to save some space (eeprom access options?). I was able to compile this with 4.3.4 and fit it in the 2...
by santacruzbob
Thu Apr 22, 2010 4:34 am
Forum: V-USB
Topic: compiled code size
Replies: 3
Views: 3426

Re: compiled code size

I appreciate your responses. I've been fighting with usbasploader on a mega88p for months. I can compile the code for mega88 or mega88p and the generated hex file is identical. The code works properly (and well) on the mega88 chips but the mega88p chips just won't work. I have attempted to debug the...
by santacruzbob
Fri Mar 12, 2010 6:45 pm
Forum: V-USB
Topic: compiled code size
Replies: 3
Views: 3426

compiled code size

has anyone managed to get a modern (gcc-4.2+) avr-gcc compiling the code so it will still fit in the 2k bootloaders? I'm not sure if there are some options I should be trying to cut down on space or if the code needs to be modified or what we need to do. using gcc-4.3.4 the USBasploader code compile...
by santacruzbob
Mon Mar 08, 2010 8:42 pm
Forum: V-USB
Topic: EasyLogger on Mega48 problem
Replies: 4
Views: 4037

Re: EasyLogger on Mega48 problem

I don't think you can generate that clock internally on a chip without a PLL
by santacruzbob
Wed Jul 08, 2009 8:41 am
Forum: V-USB
Topic: atmega88p
Replies: 7
Views: 6386

Re: atmega88p

rinku, I guess I'm gonna have to take a look at my toolchain. that code you compiled worked great first try (well, it made the mouse move all over my screen bob@bowser ~/Downloads/mousetest/default $ avr-gcc -v Using built-in specs. Target: avr Configured with: /var/tmp/cross/avr/portage/cross-avr/g...
by santacruzbob
Tue Jul 07, 2009 10:03 pm
Forum: V-USB
Topic: atmega88p
Replies: 7
Views: 6386

Re: atmega88p

rinku, perhaps I should have you compile the code for me. I have tried the unmodified usb-hid code with recommended fuses and still only get.. [571473.549538] hub 2-0:1.0: unable to enumerate USB device on port 1 [571474.366206] hub 2-0:1.0: unable to enumerate USB device on port 1 [571475.182875] h...
by santacruzbob
Tue Jul 07, 2009 2:19 am
Forum: V-USB
Topic: atmega88p
Replies: 7
Views: 6386

Re: atmega88p

rinku, I appreciate the response. I am using hardware exactly as shown in that schematic (1.5k pullup to +5v which applies about 3.0v on the D- line due to the zener diode.) I've quadruple checked my hardware and I've even built 3 different boards hoping for a miracle but I get nothing. I have an os...
by santacruzbob
Sun Jul 05, 2009 12:09 am
Forum: V-USB
Topic: atmega88p
Replies: 7
Views: 6386

Re: atmega88p

still struggling with this issue. I have uploaded my schematic to m I think it's correct. I have changed the following settings in usbconfig.h (using the usbasp firmware) #define USB_CFG_IOPORTNAME D /* This is the port where the USB bus is connected. When you configure it to * "B", the re...
by santacruzbob
Wed Jul 01, 2009 11:35 pm
Forum: V-USB
Topic: atmega88p
Replies: 7
Views: 6386

atmega88p

hello, does anyone know if there are any quirks to running vusb (or specifically the usbasp and/or usbasploader) on the mega88p? I have assembled a couple really simple boards with D+ on PD2/INT0 and D- on PD4 with 68 ohm resistors, 3.6v 500mW zeners, 1.5k pullup on D- and 1M pulldown on D+ (pretty ...