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.
Confirm that uploading sketch overwrites bootloader using USBtinyISP
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 35
- Joined: Sun Aug 29, 2010 1:32 pm
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
-
- Posts: 35
- Joined: Sun Aug 29, 2010 1:32 pm
- westfw
- Posts: 2010
- Joined: Fri Apr 27, 2007 1:01 pm
Re: Confirm that uploading sketch overwrites bootloader using USBtinyISP
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...
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...
Please be positive and constructive with your questions and comments.