Closed mralexgray closed 6 years ago
The Arduino IDE passes stk500v1
as the programmer to avrdude, which is Atmel STK500 Version 1.x firmware
in AVRDUDESS. stk500
and avrisp
should also work since they're just aliases of each other. I don't think this is a AVRDUDESS issue really, since it's just a GUI front-end for AVRDUDE. I'd suggest trying to get the Arduino working as an ISP with just avrdude first, since there's plenty of stuff about that on the net already.
i think it is not a problem of sourcecose, a tooltip or comment would be good. It can spare time to search for the right adjustments.
I've now added an 'Arduino as ISP' preset to the latest v2.5 release 👍
The "Arduino as ISP" feature (still?) isn't available as of v2.11. To get the correct settings, I relied on the AVRDude command line in the Arduino IDE. To use an Arduino running ArduinoISP to program an AVR chip successfully, the following AVRDude command line switches are required:
-c stk500v1 -b 19200
To obtain these settings, select "Atmel STK500 Version 1.x firmware" under Programmer, and enter "-b 19200" under "Additional command line args". See attached screen print.
"Arduino as ISP" is one of the default presets since v2.5, though it can be deleted in the preset manager. It sets the programmer to "Arduino". The "-b 19200" doesn't need to go into additional args, just put 19200 into the baud rate under the programmer selection (choosing the "Arduino as ISP" preset already does that too).
Thanks. I tried clicking on the preset buttons and confusion ensured. A short description of each control in the ReadMe file would be appreciated. The "Arduino as ISP" preset also sets the Port to "COM1" unhelpfully.
What should we select?
Arduino
?Atmel AVR ISP
?Atmel STK500
?All are true.. None seem to work.
Arduino
andAtmel STK500
do seem to communicate with the programmer, but incorrectly report the ACTUAL arduino's chip, theatmega328p
when using Detect.... Should that be opened as a separate issue, maybe?