You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
- Great info, thank you. I looked into my output and found: "avrdude: Using SCK period of 10 usec" So it appears to be set to the default of 10uS.cody blanchard– cody blanchard2020-11-26 05:23:51 +00:00Commented Nov 26, 2020 at 5:23
- I went into the avrdude.conf file and changed the "default_bitclock" value to 1. Code now uploads in 10 seconds and executes fine on the chip. This is a 66% improvement but still seems like it ought to upload faster based on the math.cody blanchard– cody blanchard2020-11-26 05:32:08 +00:00Commented Nov 26, 2020 at 5:32
- Or.... maybe this is about right. If we're estimating about 3.5 seconds of spi data and the bitclock is set to pause for 2uS for each bit ... if each bit took about 1uS to write wouldn't that approximately triple the total time it takes? Although I have no idea how much time it actually is taking to write one bit...cody blanchard– cody blanchard2020-11-26 05:52:04 +00:00Commented Nov 26, 2020 at 5:52
- @codyblanchard, see expanded findings. The "the plain clocking of the SPI data" probably should have been written to say "of the program data". What I was trying to do (and probably failing at) was being conservative in saying rough 3.7 seconds for the irreducible (barring compression) SPI timing associated with program data itself. Beyond what I've just mentioned in the update, I'm sure there are more delays. Though they'll probably be diminishing returns.timemage– timemage2020-11-26 13:38:05 +00:00Commented Nov 26, 2020 at 13:38
Add a comment |
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. arduino-uno), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you