[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [bug #43577] Extended address not sent with avr109
From: |
anonymous |
Subject: |
[avrdude-dev] [bug #43577] Extended address not sent with avr109 |
Date: |
Tue, 11 Nov 2014 14:14:45 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:33.0) Gecko/20100101 Firefox/33.0 |
URL:
<http://savannah.nongnu.org/bugs/?43577>
Summary: Extended address not sent with avr109
Project: AVR Downloader/UploaDEr
Submitted by: None
Submitted on: Tue 11 Nov 2014 02:14:43 PM UTC
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name: Arne Rossius
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
When programming the ATxmega256a3 with avrdude 6.1 (windows version), the
extended address is not sent when jumping across a 128 KiB boundary. I have
created a text hexfile which only contains data for flash pages 0 (word
address 0x00000) and 511 (word address 0x1FF00). However as can be seen from
the attached log, after programming the first page only a 16-bit address
command ('A') is sent instead of the 24-bit address command ('H'), resulting
in an address of 0x0FF00 instead of 0x1FF00. Verify doesn't fail because the
same happens when reading, but does fail when programming an actual
application (without a gap) larger than 128 KiB.
The programmer is the "xboot" bootloader
<https://github.com/alexforencich/xboot/wiki>. The avrdude.conf is unchanged.
Programming the attached hex file does work with the older avrdude 5.11
because this version programs pages 1 to 510 with 0xFF, only sending the
address once before the first page and then relying on the bootloader's
auto-increment to reach the high addresses. As can be expected, it takes a
very long time though.
Also, as can be seen from the xboot source, it resets the extended address
byte to zero when receiving an 'A' command. I'm not sure if this behaviour is
correct, but if it is, this means that avrdude must send an 'H' command for
all flash pages above 128 KiB (unless no address is sent at all between
adjacent pages).
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 11 Nov 2014 02:14:44 PM UTC Name: napftest.hex Size: 3kB By:
None
<http://savannah.nongnu.org/bugs/download.php?file_id=32418>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?43577>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [avrdude-dev] [bug #43577] Extended address not sent with avr109,
anonymous <=