Confirm that uploading sketch overwrites bootloader using USBtinyISP

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
wayneft
 
Posts: 35
Joined: Sun Aug 29, 2010 1:32 pm

Confirm that uploading sketch overwrites bootloader using USBtinyISP

Post by wayneft »

Just quick question. Can someone confirm that using the USBtinyISP to upload a sketch from the Arduino IDE (022) does in fact overwrite the bootloader on the target chip. This seems to be the behavior that I'm seeing.

Is there a way around this? I'd actually like to keep the bootloader installed on the chip and be able to upload a sketch using the tiny. Any thoughts?

Thx.

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: Confirm that uploading sketch overwrites bootloader using USBtinyISP

Post by adafruit »

1. yes
2. no

wayneft
 
Posts: 35
Joined: Sun Aug 29, 2010 1:32 pm

Re: Confirm that uploading sketch overwrites bootloader using USBtinyISP

Post by wayneft »

Thx... :cry:

User avatar
westfw
 
Posts: 2008
Joined: Fri Apr 27, 2007 1:01 pm

Re: Confirm that uploading sketch overwrites bootloader using USBtinyISP

Post by westfw »

The ISP programming procedure doesn't include an "erase page" sort of function (internal programming DOES), so all ISP programming operations start out with a full "erase chip" command.

But you should be able to merge the sketch .hex file and the bootloader .hex file and program them both at the same time, if your goal is to (for example) mass-program atmegas to have both the official bootloader and some privately developed sketch...

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

Return to “USBtinyISP”