[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [bug #46843] avrdude=>6 fails to write from 128k-mark onwa
From: |
anonymous |
Subject: |
[avrdude-dev] [bug #46843] avrdude=>6 fails to write from 128k-mark onwards, loops back to 0x0000 |
Date: |
Thu, 07 Jan 2016 13:34:17 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 |
URL:
<http://savannah.nongnu.org/bugs/?46843>
Summary: avrdude=>6 fails to write from 128k-mark onwards,
loops back to 0x0000
Project: AVR Downloader/UploaDEr
Submitted by: None
Submitted on: Thu 07 Jan 2016 01:34:16 PM UTC
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name: Maarten van Eeuwijk
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
avrdude version 6 series fails to write programs bigger than 131.072 bytes to
flash on my atxmega256a3bu. Instead of continuing onwards from the 131.072
byte (128kb) mark, the write procedure loops back to 0x0000, corrupting data
from there on.
Or to put it an another way: When I flash a program 130kb in size, I end up
with 128k of data in my flash, whereof the first 2kb is corrupted.
This problem was introduced in the version 6 series of avrdude (I tried 6.0.1,
6.1, 6.1-svn-20131205 and 6.2). Version 5.11 works fine for me.
No errors show up during writing, the bug manifests itself during verification
and of course execution of the program, as the mangled program crashes the
MCU.
Curiously this 128k mark is exactly on the second time an offset is defined in
my intel .hex file. To rule out problems with the file reader code for that
format I also tried .srec and .elf; same result for all.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?46843>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avrdude-dev] [bug #46843] avrdude=>6 fails to write from 128k-mark onwards, loops back to 0x0000,
anonymous <=