Programmer type in AVRDUDE for use ArduinoNano with CH340 as a programmer

Hi!

I plan to using the AVRDUDE in command line mode. As a programmer, I want to use ArduinoNano with CH340 ( with preloaded ArduinoISP sketch from Examples).

Which programmer type in the command line (-c programmer-id) should I specify? Arduino or arduino-ft232r?

Thanks!

arduino

Don't forget to also include the port.

You can enable verbose upload (in preferences), and then upload through the IDE, and it will show you the command line it uses, and you can crib that :wink:

I set Propgrammer : Arduino as ISP. IDE print : Using Programmer : arduino. It mean I mast use key "-c arduino" in AVRDUDE command line .

PLS tell what is difference in IDE Propgrammer type: "Arduino as ISP" and "ArduinoISP"?

Thanks!

Arduino As ISP is the sketch you load on an Arduino to use it as an ISP (note that you need to put a cap between reset and ground on the Arduino running the arduinoasisp sketch, once you've uploaded arduinoasisp to it, to disable autoreset)

ArduinoISP is a product that acts as an ISP, and is intended for use with Arduino. It is totally unrelated to Arduino As ISP - just a case of very very unfortunate naming. I don't know much about it, and they don't seem widespread (for standalone programmer, most of us use USBAsps, since they work well enough and cost like $3 shipped on ebay).

I got it!
After recording the sketch "ArduinoISP" in Arduino Nano with CH340, for use him as a IDE programmer (Arduino as ISP) I need to install a condenser 10mF from reset pin to the ground pin.
Thank you!