-
Notifications
You must be signed in to change notification settings - Fork 147
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
Regression: EEPROM issue with official STK500 V1 FW -- avrdude 7.1 is okay but not 7.2 and 7.3 #1713
Comments
History of stk500.c avrdude 7.1 release was on 2023-Jan-09. I will try git bisect (I do not know how to carry out git bisect properly, but I got the rough idea to do it). |
@mcuee any intell on what's going on? |
Sorry I have not done anything on this issue yet. I will try to carry out the analysis next week. |
Symptom using latest git main. Test hex file is from avrdude test hex files.
avrdude 7.1 is fine.
avrdude 7.2 is not OK.
|
Zoom in to see which git commit got the issue.
Commit b1da0b0 is also bad.
|
Commit 65686c7 is bad.
Commit a3b7072 is also bad.
Commit 319ee2d is GOOD.
|
Commit cb5f595 is GOOD.
Commit 09c4b67 is also GOOD.
Commit 1fa34c5 is also GOOD.
|
Based on the above testing, git commit a3b7072 or PR #1272 is the culprit. Hopefully this will give you the hint on how to fix the issue. Just to double confirm again.
|
Changes mentioned in PR #1272 Diff STK500/STK600 eeprom parameters
|
Brilliant analysis, @mcuee. Please try adding in git main diff --git a/src/avrdude.conf.in b/src/avrdude.conf.in
index 78372b05..dfa46c67 100644
--- a/src/avrdude.conf.in
+++ b/src/avrdude.conf.in
@@ -10877,6 +10877,7 @@ part # m328
page_size = 4;
min_write_delay = 3600;
max_write_delay = 3600;
+ readback = 0xff 0xff;
mode = 0x41;
delay = 20;
blocksize = 4; We may need a solution something akin to PR #1511 |
Great. Yes ths issue is resolved with your patch.
|
Strange that this comes up again during my benchmark testing of STK500v1.
Using a STK500 v1 clone with official V1 FW on ATmega8535.
The text was updated successfully, but these errors were encountered: