Movatterモバイル変換


[0]ホーム

URL:


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

In ArduinoISP.ino, add an option to enable a 4 MHz clock signal#8757

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
autoiue wants to merge1 commit intoarduino:masterfromstimulu:master

Conversation

autoiue
Copy link

Add an option on Uno boards to enable a 4 MHz clock signal on pin 3

This clock signal can be used to reprogram the fuses of an AVR that
has been set wrong (ie. when an external clock has been configured but
the board/chip does not have one).

This is disabled by default. We check that we compile for known chips
before enabling the clock generation. Maybe there is other chips that
support this code.

This clock signal can be used to reprogram the fuses of an AVR thathas been set wrong (ie. when an external clock has been configured butthe board/chip does not have one).This is disabled by default. We check that we compile for known chipsbefore enabling the clock generation. Maybe there is other chips thatsupport this code.
@facchinm
Copy link
Member

Hi @procsynth ,
thanks for your PR.

ArduinoISP sketch is meant to run on all Arduinos (also the ones with ARM chips), so it would be nice to keep the sketch functionalities in sync between all the targets.

The functionality is interesting and should be expanded a bit, like having a couple of options for the pin and the frequency to use, and less magic numbers 😉


#ifdef ENABLE_CLOCK_GEN

#if defined(__AVR_ATmega328__) || defined(__AVR_ATmega328P__) || defined(__AVR_ATmega168__) || defined(__AVR_ATmega88__)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

ArduinoISP sketch is meant to run on all Arduinos (also the ones with ARM chips), so it would be nice to keep the sketch functionalities in sync between all the targets.

@autoiue
Copy link
Author

Hi@facchinm, thanks for your reply. I did not think in the scope of the whole Arduino project.
I'll make the changes requested, explain and test the code a little better when I have some time :)

facchinm reacted with thumbs up emoji

@per1234
Copy link
Collaborator

Moved toarduino/arduino-examples#17

@per1234per1234 added Component: DocumentationRelated to Arduino's documentation content feature requestA request to make an enhancement (not a bug fix) labelsSep 3, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@facchinmfacchinmfacchinm requested changes

Assignees
No one assigned
Labels
Component: DocumentationRelated to Arduino's documentation contentfeature requestA request to make an enhancement (not a bug fix)
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@autoiue@facchinm@per1234@pr1csynth

[8]ページ先頭

©2009-2025 Movatter.jp