Sporadic crash during flashing #1061
Unanswered
mni-korfhage
asked this question in
Q&A
Replies: 2 comments
-
It turned out to be a serial performance problem. Adding write delays or moving to a slower speed than 230400 fixed it. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Closing this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm programming an ATtiny 1614 directly from the serial port on a Rasbperry Pi (with appropriate diode and resistors) using the Arduino IDE 1.8.19. The ATtiny is on a Raspberry Pi hat, so connections are via circuit board traces, not cables. As the program I am working on has gotten bigger and more complete, I have started getting crashes during flashing. It is not consistent - if it fails and I immediately repeat it, it might work. It didn't happen when the program was smaller, so my guess is that as the program got bigger some situation that was marginal to begin with turned unfavorable. Does this dump offer any clues?
And here is another failure message that I sometimes get from a slightly different version of the program. Sometimes uploading ends with the "expecting ACK after ST" error above, sometimes with the "bytearray index out of bounds" message below and occasionally it doesn't fail.
Beta Was this translation helpful? Give feedback.
All reactions