-
Notifications
You must be signed in to change notification settings - Fork 139
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
[bug #40108] [PATCH] Fix avrftdi verification error after flash write #303
Comments
Hannes Weisbach Thank you for reporting this. Can you supply a log with -vvvvv as parameters to avrdude as well as the binary you are programming? I've attached a patch (against r1248) implementing this TODO. Could you please try it and report back if they work (apply with -p1)? |
Nemui Trinomius Dear hweisbach, I tested your patch and got work well. |
I have both read and write issues using FT2232H based JTAGkey-2 with ATmega2560. I will try the patch mentioned in this thread. https://savannah.nongnu.org/support/download.php?file_id=29223
|
My issue with ATmega2560 is not related to this one. The patch in #474 fixed my issues with reading/writing of ATmega2560 using FT2232H based JTAGKey-2. |
Most likely this issue has been fixed and no longer valid. |
I will close this as |
file #29218: avrdude_avrftdi_fix.patch
|
Error log.
|
file #29220: success_patched_dude.log Good run log after patching avrdude.
|
Testing report: Summary:
|
New discussion in #1073. The patch mentioned in this thread is too old and no longer valid. |
Nemui
Thu 26 Sep 2013 03:22:18 AM UTC
When write flash below sector size,usually polling byte cannot found.
In this case,verify flash after flash write always fail.
Tested with ATmega1284p(has 256byte sector size).
202byte(<256byte) binary fail,but over 256byte binaries was Ok.
Attached patch fixes this problem to re-initialize avrftdi when polling byte cannot be found.
file #29220: success_patched_dude.log
file #29219: failure_orig_dude.log
file #29218: avrdude_avrftdi_fix.patch
file #29223: avrftdi_sync.patch
file #29858: avrftdi_testing_report.7z
This issue was migrated from https://savannah.nongnu.org/bugs/?40108
The text was updated successfully, but these errors were encountered: