Skip to content

Enhancement to ArduinoISP sketch and/or tutorial [imported] #302

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
cmaglie opened this issue Nov 15, 2012 · 1 comment
Closed

Enhancement to ArduinoISP sketch and/or tutorial [imported] #302

cmaglie opened this issue Nov 15, 2012 · 1 comment
Assignees
Labels
Examples: ArduinoISP The ArduinoISP example sketch
Milestone

Comments

@cmaglie
Copy link
Member

cmaglie commented Nov 15, 2012

This is Issue 302 moved from a Google Code project.
Added by 2010-07-22T22:03:33.000Z by [email protected].
Please review that bug for more context and additional comments, but update this bug.

Original labels: Type-Enhancement, Priority-Medium

Original description

What change would like to see?
This may not be possible, but if it is, include a method for the ArduinoISP sketch to determine whether or not the target AVR is being clocked. Since the Arduino IDE calls avrdude to do the actual programming and the ArduinoISP sketch emulates the stk500 bootloader protocol, this information may have to be reported back in a creative way, such as a 'special' chip signature value or other unique error status that won't break the stk500 protocol.

If this is not possible, add a link from the ArduinoISP tutorial to a basic tutorial on crystal oscillators (how to select, match crystal/capacitors, common gotchas).

Why?
For most users, their first time using ArduinoISP on a breadboarded AVR (or loading bootloaders in general) will also be their first time buying and wiring their own crystal. My experience is that crystal oscillators are kind of fiddly, and it
would be easy for a user to run into problems because their crystal
isn't starting: mismatched crystal/capacitors, too much stray
capacitance on breadboards, parasitic loads (dirty breadboard, or user
trying to check it with a scope/meter and killing oscillation in the
process)... and no easy way to determine if the crystal is starting reliably.

If the target AVR's "correctly wired but not clocked" state is distinguishable in any way from the "ISP lines miswired" state, this would be valuable diagnostic info.

Would this cause any incompatibilities with previous versions? If so, how
can these be mitigated?
No compatibility issues forseen - provided an appropriate method is used to report back the clock status.

@ffissore ffissore added the New label Feb 27, 2014
@ffissore ffissore assigned ffissore and cmaglie and unassigned ffissore Jul 1, 2015
@facchinm facchinm added the Examples: ArduinoISP The ArduinoISP example sketch label Jul 10, 2015
@facchinm
Copy link
Member

Solved by #3500

@ffissore ffissore modified the milestone: Release 1.6.6 Oct 26, 2015
tbowmo pushed a commit to tbowmo/Arduino that referenced this issue Jul 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Examples: ArduinoISP The ArduinoISP example sketch
Projects
None yet
Development

No branches or pull requests

4 participants