Uploading to AVR with USB-BUB
Posted: Sun Jan 09, 2011 4:40 pm
Hello,
I just got my USB-BUB and have been enjoying using so far. It seems that it can also be used to upload arduino sketches to an avr with the bootloader on it too, and this sounds useful. I haven't had luck getting this working though.
I have an atmega328p on a breadboard connected to the usb-bub (RTR to reset through a 0.1uF capacitor, RX to TXD and TX to RXD through a 10K resistor, and 5V and GND to the rails). Also I have an ICSP header in the board connected to MISO, MOSI, RESET, etc. I'm able to upload the bootloader fine using an AVRISP mkii seemingly, then I disconnect the icsp cable and try to upload my sketch from the arduino IDE (On Mac OS X 10.6) but I get the following error:
avrdude: stk500_recv(): programmer is not responding
With this setup I am, however, able to communicate with the AVR over UART just fine (using a program uploaded with AVR studio).
Any ideas on what I could try to get this working?
cheers,
Greg
I just got my USB-BUB and have been enjoying using so far. It seems that it can also be used to upload arduino sketches to an avr with the bootloader on it too, and this sounds useful. I haven't had luck getting this working though.
I have an atmega328p on a breadboard connected to the usb-bub (RTR to reset through a 0.1uF capacitor, RX to TXD and TX to RXD through a 10K resistor, and 5V and GND to the rails). Also I have an ICSP header in the board connected to MISO, MOSI, RESET, etc. I'm able to upload the bootloader fine using an AVRISP mkii seemingly, then I disconnect the icsp cable and try to upload my sketch from the arduino IDE (On Mac OS X 10.6) but I get the following error:
avrdude: stk500_recv(): programmer is not responding
With this setup I am, however, able to communicate with the AVR over UART just fine (using a program uploaded with AVR studio).
Any ideas on what I could try to get this working?
cheers,
Greg