AVRDUDE question

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

AVRDUDE question

Postby jarcher » Wed Apr 04, 2012 10:59 am

Hi All...

I know I can use AVRDude to set fuses, and I know I can use AVRDude to program in a bootloader. But, once the boot loader is installed, can I then use AVRDude to install the application without disturbing the boot loader? The idea is to write a script that sets fufes, then installs the boot loader and finally installs an application. This is just to save time.

I suppose I could install the boot loader, then use AVRDude to install an app through the boot loader. I just thought maybe it could be done in one fell swoop.
jarcher
 
Posts: 40
Joined: Sun Mar 27, 2011 1:49 am

Re: AVRDUDE question

Postby westfw » Wed Apr 04, 2012 4:53 pm

can I then use AVRDude to install the application without disturbing the boot loader?

In general, no. A "chip erase" is usually part of the "program chip using ISP" operation (I guess that it can theoretically be omitted, if you've ONLY programmed the bootloader, and THAT step included a chip erase. But I'm not sure how to convince avrdude to do this.)

You CAN merge the .hex file from your application with the .hex file from the bootloader, and program them both at the same time. There have been some other discussions of this, either here or in the Arduino forums.
User avatar
westfw
 
Posts: 1321
Joined: Fri Apr 27, 2007 12:01 pm
Location: SF Bay area


Return to Arduino

Who is online

Users browsing this forum: adafruit_support_bill, Google [Bot] and 3 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [103]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[109]
 
Wireless[14]
Cables[61]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]