USBtinyISP as ICSP programmer troubles
Moderators: adafruit_support_bill, adafruit

USBtinyISP as ICSP programmer troubles

by Krang on Thu Aug 09, 2012 3:01 pm

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 | TOGGLE FULL SIZE
##############################################################

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 | TOGGLE FULL SIZE
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!
Krang
 
Posts: 1
Joined: Thu Aug 09, 2012 2:43 pm