FAQ
6. Your Burning Questions Answered (Probably)
Q: Can I use Arduino as ISP to program other types of microcontrollers besides ATmega328P?
A: Yes, absolutely! The ArduinoISP sketch can be used to program a wide variety of AVR microcontrollers, including ATtiny chips, ATmega2560 (used in the Arduino Mega), and more. You'll just need to adjust the `-p` parameter in the AVRDUDE command to match the specific microcontroller you're using. Consult the AVRDUDE documentation for a complete list of supported chips.
Q: Is it possible to use Arduino as ISP with the Arduino IDE directly, without using AVRDUDE?
A: Yes, it is! While AVRDUDE offers more control, the Arduino IDE has a built-in "Burn Bootloader" function that can be used to program chips using Arduino as ISP. Go to Tools > Board > [Your target board] then Tools > Programmer > Arduino as ISP and finally Tools > Burn Bootloader. However, this method is generally less reliable than using AVRDUDE, and it's primarily intended for burning bootloaders rather than uploading entire sketches. In most cases, AVRDUDE is the preferred approach.
Q: I'm getting a "programmer is not responding" error. What does that mean?
A: This error usually indicates a communication problem between the Arduino and the target chip. Double-check your wiring, ensure that the ArduinoISP sketch is uploaded correctly, and verify that the serial port and baud rate are correct in the AVRDUDE command. Also, try resetting both the Arduino and the target chip. If the problem persists, try reducing the baud rate or using a different Arduino board. Sometimes, certain Arduino clones might have compatibility issues with the ArduinoISP sketch.