Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ArduinoISP will be reset regardless I choose "Upload with Programmer" in 1.8.8 and 1.8.7 , which stops it working when upload to breadboards or AVR chips. #8293

Closed
Labels
Examples: ArduinoISPThe ArduinoISP example sketch Waiting for feedbackMore information must be provided before we can proceed
@hehongbo

Description

I used to download program into breadboard or single AVR chips with Arduino Uno and ArduinoISP from example menu, with Uno's Pin-11,12,13 goes to target's SPI and pin-10 goes to target's RST# , It works fine with 1.8.5.

But in 1.8.7, this function stops working. It seems Arduino IDE will reset Arduino board regardless it is actually an ISP, not the target chip I'm about to erase and download.

So to prevent this I need to hook the reset header of Uno with a 10uF capacitor, which stops Uno's RST# from dropping low and being reset. By doing so upload will succeed or I will receive the following error message otherwise:

Arduino: 1.8.8 (Mac OS X), Board: "ATmega328, No, 328P / 328PA, 2.7v, Disabled (default), 16 MHz external"
Sketch uses 450 bytes (1%) of program storage space. Maximum is 32768 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
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.
avrdude: stk500_disable(): unknown response=0x12
the selected serial port avrdude: stk500_disable(): unknown response=0x12
 does not exist or your board is not connected
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

But I'm sure the 10uF capacitor on RST# is not necessary with "Upload with Programmer" function in 1.8.5.
I discovered this issue in 1.8.7 and I'm not sure whether it works under 1.8.6.
But in 1.8.8 it is not fixed.

thanks and merry X-mas.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Examples: ArduinoISPThe ArduinoISP example sketch Waiting for feedbackMore information must be provided before we can proceed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /