[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [bug #38951] AVR109 use byte offset instead of word offset
From: |
Fred |
Subject: |
[avrdude-dev] [bug #38951] AVR109 use byte offset instead of word offset |
Date: |
Thu, 09 May 2013 15:36:02 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31 |
URL:
<http://savannah.nongnu.org/bugs/?38951>
Summary: AVR109 use byte offset instead of word offset
Project: AVR Downloader/UploaDEr
Submitted by: magister
Submitted on: jeu. 09 mai 2013 15:36:01 GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name: Magister
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
The 'A' command must send the address in word offset, it is currently sent in
byte offset.
For instance with a 128 bytes buffer, avrdude send:
A 00 00
A 00 80
A 01 00
A 01 80
etc
each command followed by 128 bytes of data.
This is wrong, the correct offset is:
A 00 00
A 00 40
A 00 80
A 00 C0
etc
for flash data you have to >>1 the address before sending it with 'A' command.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?38951>
_______________________________________________
Message posté via/par Savannah
http://savannah.nongnu.org/
- [avrdude-dev] [bug #38951] AVR109 use byte offset instead of word offset,
Fred <=