AVR Downloader/UploaDEr - Bugs: bug #41561, AVRDUDE 6.0.1/USBasp doesn't write...
You are not allowed to post comments on this tracker with your current authentication level.
bug #41561: AVRDUDE 6.0.1/USBasp doesn't write first bytes of flash page
Submitter: | Michal Salaban <emes> | ||
Submitted: | Wed 12 Feb 2014 02:29:09 AM UTC | ||
Votes: | 10 | ||
Category: | None | Severity: | 3 - Normal |
Priority: | 7 - High | Item Group: | None |
Status: | Fixed | Privacy: | Public |
Assigned to: | joerg_wunsch | Originator Name: | Michal Salaban |
Open/Closed: | Closed | Release: | None |
Programmer hardware: | Device type: |
( Jump to the original submission )
Mon 23 Nov 2015 10:46:50 AM UTC, comment #30: |
Jim Perkins <rperkins> |
Mon 16 Nov 2015 10:02:16 AM UTC, comment #29: Here a short HowTo for Debian dependent distributions:
|
Karsten <kama> |
Sun 15 Nov 2015 04:32:57 PM UTC, comment #28: Thanks.
|
Karsten <kama> |
Sun 15 Nov 2015 03:20:11 PM UTC, comment #27: Hello
|
Jim Perkins <rperkins> |
Sun 15 Nov 2015 01:02:48 PM UTC, comment #26: Maybe the bug is back again, because i have the same problem now with avrdude: Version 6.1
|
Karsten <kama> |
Fri 21 Nov 2014 02:23:22 AM UTC, comment #25: Wanted to confirm that r1343 resolved this issue. thanks so much.
|
Jim Perkins <rperkins> |
Thu 20 Nov 2014 09:22:09 AM UTC, comment #24: I've got a confirmation that omitting USBASP_BLOCKFLAG_LAST is
|
Joerg Wunsch <joerg_wunsch>![]() ![]() |
Thu 20 Nov 2014 03:42:50 AM UTC, comment #23: reply to comment 20
|
Jim Perkins <rperkins> |
Wed 19 Nov 2014 09:34:04 PM UTC, comment #22: thanks for confirming the issue, verifying that it isnt board dependent, and explaining why usbasp doesnt write an entire 256 byte page at once.
|
Jim Perkins <rperkins> |
Wed 19 Nov 2014 04:33:13 PM UTC, comment #21: (Reply to comment #15)
|
Joerg Wunsch <joerg_wunsch>![]() ![]() |
Wed 19 Nov 2014 04:25:27 PM UTC, comment #20: The issue must have been in the firmware all the time. I
|
Joerg Wunsch <joerg_wunsch>![]() ![]() |
Wed 19 Nov 2014 03:49:22 PM UTC, comment #19: I traced the ISP traffic with a logic analyzer, and decoded
|
Joerg Wunsch <joerg_wunsch>![]() ![]() |
Wed 19 Nov 2014 11:07:02 AM UTC, comment #18: I can confirm that ATmega64 and ATmega128 sitting in a plain
|
Joerg Wunsch <joerg_wunsch>![]() ![]() |
Wed 19 Nov 2014 06:33:02 AM UTC, comment #17: Maybe this issue is related to the hardware we are using
|
Jim Perkins <rperkins> |
Tue 18 Nov 2014 10:41:36 PM UTC, comment #16: Sorry I should have mentioned the tests were with avrdude 6.0.1. |
Jim Perkins <rperkins> |
Tue 18 Nov 2014 10:39:32 PM UTC, comment #15: When writing to an M64 MCU the output of -vvvv does not seem correct for a paged write when compared to other processors. the page size is 256 but the software is not writing 256 at one time.
|
Jim Perkins <rperkins> |
Tue 18 Nov 2014 10:33:01 PM UTC, comment #14: Thanks for doing some testing.
|
Jim Perkins <rperkins> |
Tue 18 Nov 2014 11:49:58 AM UTC, comment #13: I just tried it (SVN version) using my own USBasp device.
|
Joerg Wunsch <joerg_wunsch>![]() ![]() |
Sun 16 Nov 2014 08:21:37 PM UTC, comment #12: yes the firmware is an important variable. I am setting up a test bed so that any further tests only use the latest (2011) firmware from fischl . I did verify this error using the fisch latest firmware when this issue surfaced
|
Jim Perkins <rperkins> |
Sun 16 Nov 2014 07:32:51 PM UTC, comment #11: OK, r1007 introduced memory tagging. Before, all memories
|
Joerg Wunsch <joerg_wunsch>![]() ![]() |
Sun 16 Nov 2014 01:15:04 PM UTC, comment #10: Hello
|
Jim Perkins <rperkins> |
Sun 16 Nov 2014 09:59:02 AM UTC, comment #9: continuing extracting compressed files of the OP. This is where the written hex is read back and read-flash.hex shows a recurring set of bits set to FF every 0x0100
|
Jim Perkins <rperkins> |
Sun 16 Nov 2014 09:53:09 AM UTC, comment #8: Thanks for the response.
|
Jim Perkins <rperkins> |
Sun 16 Nov 2014 08:49:02 AM UTC, comment #7: Commit r1191 only affects TPI-related functions (ATtiny10 et al.),
|
Joerg Wunsch <joerg_wunsch>![]() ![]() |
Sun 16 Nov 2014 05:42:10 AM UTC, comment #6: I sell usbasp to rc modelers so they can reprogram their radios, esc.s and flight controllers. I commented on this bug when it was posted. Now the major linux distributions are using avrdude 6.x and I had the first instance of a customer being hit by this bug.
|
Jim Perkins <rperkins> |
Wed 12 Feb 2014 09:09:39 AM UTC, comment #5: Downgraded to 5.11svn-20111019. It fails even more, signalling first verify mismatch at address 0x0000.
|
Michal Salaban <emes> |
Wed 12 Feb 2014 08:47:52 AM UTC, comment #4: Here's the full log from linux box.
|
Michal Salaban <emes> |
Wed 12 Feb 2014 05:59:21 AM UTC, comment #3: Can you attach a -vvvv log?
|
Joerg Wunsch <joerg_wunsch>![]() ![]() |
Wed 12 Feb 2014 02:40:17 AM UTC, comment #2: Thanks for posting this bug. I have been researching this issue but did not know it was linux only. My information including hex files and a diff of the write error is located at
|
Jim Perkins <rperkins> |
Wed 12 Feb 2014 02:31:16 AM UTC, comment #1: BTW the programmer has already flashed a handful of atmega8 and attiny85 while connected to one of these affected PCs. No problems ever. |
Michal Salaban <emes> |
Wed 12 Feb 2014 02:29:09 AM UTC, original submission:
I'm flashing a RC model transmitter, which is based on atmega64a chip. The programmer is usbasp connected through ISP.
|
Michal Salaban <emes> |
Depends on the following items: None found
Items that depend on this one: None found
There are 10 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 25 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2015-11-16 | kama | Attached File | - | ![]() |
Added avrdude-6.1-20140519-x86-64.zip, #35471 |
2015-11-15 | kama | Attached File | - | ![]() |
Added avrdude.log.zip, #35465 |
2014-11-20 | joerg_wunsch | Status | Confirmed | ![]() |
Fixed |
Assigned to | fischl | ![]() |
joerg_wunsch | ||
Open/Closed | Open | ![]() |
Closed | ||
2014-11-19 | joerg_wunsch | Priority | 5 - Normal | ![]() |
7 - High |
Status | None | ![]() |
Confirmed | ||
Assigned to | None | ![]() |
fischl | ||
2014-11-19 | joerg_wunsch | Attached File | - | ![]() |
Added usbasp-trace-64.txt, #32475 |
Attached File | - | ![]() |
Added usbasp-trace-1281.txt, #32476 | ||
2014-11-18 | rperkins | Attached File | - | ![]() |
Added 256x2-sequential_test.hex, #32470 |
Attached File | - | ![]() |
Added out.txt, #32471 | ||
2014-11-18 | joerg_wunsch | Attached File | - | ![]() |
Added jwunsch.txt.bz2, #32458 |
2014-11-16 | joerg_wunsch | Carbon-Copy | - | ![]() |
Added -email is unavailable- |
2014-11-16 | rperkins | Attached File | - | ![]() |
Added avrdude-version.txt, #32445 |
Attached File | - | ![]() |
Added read.log, #32446 | ||
Attached File | - | ![]() |
Added bug.sh, #32447 | ||
Attached File | - | ![]() |
Added read-flash.hex, #32448 | ||
2014-11-16 | rperkins | Attached File | - | ![]() |
Added avrdude-version.txt, #32441 |
Attached File | - | ![]() |
Added write.log, #32442 | ||
Attached File | - | ![]() |
Added bug.sh, #32443 | ||
Attached File | - | ![]() |
Added written-flash.hex, #32444 | ||
2014-11-16 | rperkins | Carbon-Copy | - | ![]() |
Added rperkins |
2014-02-12 | joerg_wunsch | Summary | Linux version of avrdude doesn\'t write first bytes of flash page, while windows version does | ![]() |
AVRDUDE 6.0.1/USBasp doesn't write first bytes of flash page |
2014-02-12 | emes | Attached File | - | ![]() |
Added bug.tar.gz, #30523 |
This bug has been fixed with the release of avrdude 6.2