From a901b081aed0c60e97777c9c92350d354b721094 Mon Sep 17 00:00:00 2001 From: per1234 Date: Wed, 19 Dec 2018 01:12:26 -0800 Subject: Revert "Updated Arduino as ISP setting" This reverts commit b084848f2eaf9ccb3ac9a64ac5492d91df4706bf. --- programmers.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/programmers.txt b/programmers.txt index d0d2cc1..c100e84 100644 --- a/programmers.txt +++ b/programmers.txt @@ -43,9 +43,9 @@ parallel.program.extra_params=-F arduinoasisp.name=Arduino as ISP arduinoasisp.communication=serial -arduinoasisp.protocol=arduino +arduinoasisp.protocol=stk500v1 arduinoasisp.speed=19200 -arduinoasisp.program.protocol=arduino +arduinoasisp.program.protocol=stk500v1 arduinoasisp.program.speed=19200 arduinoasisp.program.tool=avrdude arduinoasisp.program.extra_params=-P{serial.port} -b{program.speed} -- cgit v1.2.3-18-g5258 From 98c8a138c18592e7385feb800e30165a403802d9 Mon Sep 17 00:00:00 2001 From: per1234 Date: Wed, 19 Dec 2018 01:45:56 -0800 Subject: Add ATmega32U4-compatible Arduino as ISP programmer Use of the stk500v1 protocol for Arduino as ISP does not work with native USB boards on Windows. The arduino protocol does. However, the arduino protocol makes it more likely that boards with an external USB interface chip will require the auto-reset circuitry to be disabled to allow them to be used as Arduino as ISP. That adds extra complexity to a process already difficult for the average Arduino user. For this reason, a new programmer using the arduino protocol is added specifically for using native USB boards as Arduino as ISP and the previous Arduino as ISP configuration is retained for use with all other boards. --- programmers.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/programmers.txt b/programmers.txt index c100e84..69ddf69 100644 --- a/programmers.txt +++ b/programmers.txt @@ -50,6 +50,15 @@ arduinoasisp.program.speed=19200 arduinoasisp.program.tool=avrdude arduinoasisp.program.extra_params=-P{serial.port} -b{program.speed} +arduinoasispatmega32u4.name=Arduino as ISP (ATmega32U4) +arduinoasispatmega32u4.communication=serial +arduinoasispatmega32u4.protocol=arduino +arduinoasispatmega32u4.speed=19200 +arduinoasispatmega32u4.program.protocol=arduino +arduinoasispatmega32u4.program.speed=19200 +arduinoasispatmega32u4.program.tool=avrdude +arduinoasispatmega32u4.program.extra_params=-P{serial.port} -b{program.speed} + usbGemma.name=Arduino Gemma usbGemma.protocol=arduinogemma usbGemma.program.tool=avrdude -- cgit v1.2.3-18-g5258