Export to GitHub

arduino - issue #368

Optiboot does not support ArduinoasISP programmer


Posted on Oct 3, 2010 by Happy Ox

What steps will reproduce the problem? 1.load ArduinoAsISP sketch on an Uno 2.Attempt to program another Uno

What is the expected output? What do you see instead?

avrdude produces errors as follows: avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x14

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x01 avrdude: stk500_initialize(): (a) protocol error, expect=0x14, resp=0x10 avrdude: initialization failed, rc=-1 Double check connections and try again, or use -F to override this check.

Comment #1

Posted on Oct 5, 2010 by Happy Rhino

Massimo, how do you want to handle this?

Comment #2

Posted on Oct 19, 2010 by Happy Rhino

Christian: can you take a look at this?

Comment #3

Posted on Feb 12, 2011 by Massive Bear

Is there an estimate as to when this will be addressed?

I would like to use an Arduino as an AVR ISP (In-System Programmer) as described here: http://arduino.cc/en/Tutorial/ArduinoISP

Comment #4

Posted on Jun 3, 2011 by Happy Dog

Theory: ArduinoISP counts on running at a different bitrate than the bootloader, causing the bootloader (after auto-reset) to see garbage and start the sketch. But optiboot doesn't recognize "garbage"; it just assumes that unrecognized characters are irrelevant commands that it doesn't implement, so it just keeps running.

Disabling auto-reset is a workaround.

Comment #5

Posted on Jun 5, 2011 by Happy Dog

(No comment was entered for this change.)

Comment #6

Posted on Dec 20, 2011 by Happy Dog

Fixed in the 1.0-associated sources, and now shipping on new hardware.

Status: Fixed

Labels:
Type-Defect Priority-Medium Component-Build OpSys-All component-optiboot