USBtinyISP as ICSP programmer troubles

USB AVR Programmer and SPI interface. Adafruit's USBtinyISP.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Krang
 
Posts: 11
Joined: Thu Aug 09, 2012 2:43 pm

USBtinyISP as ICSP programmer troubles

Post by Krang »

I have a USBtinyISP with which I can burn bootloaders all day long on my Arduino NG w/ atmega328p. No problems there.

I modified my boards.txt as:

Code: Select all

##############################################################

atmega328a.name=Arduino NG or older w/ ATmega328 via ICSP


atmega328a.upload.protocol=usbtiny
atmega328a.upload.maximum_size=30720
atmega328a.upload.speed=57600

atmega328a.bootloader.low_fuses=0xFF
atmega328a.bootloader.high_fuses=0xDA
atmega328a.bootloader.extended_fuses=0x05
atmega328a.bootloader.path=atmega
atmega328a.bootloader.file=ATmegaBOOT_168_atmega328.hex
atmega328a.bootloader.unlock_bits=0x3F
atmega328a.bootloader.lock_bits=0x0F

atmega328a.build.mcu=atmega328p
atmega328a.build.f_cpu=16000000L
atmega328a.build.core=arduino
atmega328a.build.variant=standard
The error I get is:

Code: Select all

Binary sketch size: 1,084 bytes (of a 30,720 byte maximum)
avrdude: Error: Invalid -P value: '\\.\COM1'
         Use -P usb:bus:device
I'm confused by this because when I change the protocol to arduino, it works like a charm.

I have version 1.12.1 of the USBtinyISP driver. My computer is running XP.

Any constructive feedback is welcome!

Locked
Please be positive and constructive with your questions and comments.

Return to “USBtinyISP”