Pages: [1]   Go Down
Author Topic: Why do we need to set Tools > Programmers in Arduino IDE?  (Read 7108 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Can anyone explain the role of Tools > Programmer and why/ when we should select one of the various options given such as: AVR ISP, AVR ISP mkii, USB asp etc. And say if i were using the Virtual COM port 6 to burn a sketch into the arduino board, which one of the options should be set by me?

Thanks in advance.

--
Priyankar
Logged

Colorado
Offline Offline
Edison Member
*
Karma: 47
Posts: 1562
Reviving dead brain cells with Arduinos.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

IF you have a programmer, you use one of those options.  If you're simply uploading via a USB cable, you don't need to worry about it.  However, if you've purchased an external programmer, such as the AVR-ISP, an stk500, or even if you're uploading via an ArduinoISP, you'll be selecting one of those options and instead of hitting Upload, you'd hit Upload Using Programmer (look under the File menu).
Logged

Tampa, FL
Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What setting do you use if you are using an external USB-to-TTL FTDI-type cable or adapter?
Logged

Arduino Uno (IDE 22)
Ubuntu 10.10 Maverick

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 331
Posts: 16518
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What setting do you use if you are using an external USB-to-TTL FTDI-type cable or adapter?

None of them, as then you are uploading via USB serial method and the bootloader code on the board
handles burning the sketch into the flash memory, when you hit the normal upload sketch command.

Lefty
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

"None of them" is not an option.  One will always be selected.  Does this mean the IDE will ignore what is selected when I'm not using an external program? 

Currently having some problems with "avrdude: stk_500_getsync(): not in sync: resp=0x00" when I try to program the Arduino.

Am I wasting my time selecting different programmers and trying again?

Nick
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 439
Posts: 23748
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The selection is ignored if you are not using an AVR ISP Programmer to burn a bootloader or a sketch via the ICSP header.

The message you see when downloading via the serial port (USB) indicates the chip is not responding.
Try a different cable, try the Loopback Test (see programming forum), confirm the chip has a bootloader installed.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Pages: [1]   Go Up
Jump to: