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 mailing list
avrdude-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avrdude-dev

Reply via email to