avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] [bug #51497] avrdude not writing high byte using linuxgpio


From: Mike
Subject: [avrdude-dev] [bug #51497] avrdude not writing high byte using linuxgpio when data byte count is less than 0x10
Date: Tue, 18 Jul 2017 11:07:31 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36

URL:
  <http://savannah.nongnu.org/bugs/?51497>

                 Summary: avrdude not writing high byte using linuxgpio when
data byte count is less than 0x10
                 Project: AVR Downloader/UploaDEr
            Submitted by: smbrandonjr
            Submitted on: Tue 18 Jul 2017 03:07:29 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Mike Brandon
        Originator Email: 
             Open/Closed: Open
                 Release: 6.3
         Discussion Lock: Any
     Programmer hardware: linuxgpio
             Device type: m2560, m12834

    _______________________________________________________

Details:

Using linuxgpio and tested on m2560 and m1284 chips:

When a line in the hex file has less than 0x10 data bytes, avrdude does not
write the high byte at the specified memory location as 0xFF. This in turn
results in a verification error.

Attached is a sample hex file that was used to produce this result as well as
logic captures when using avrdude and Atmel Studio 7.

Avrdude results in a verification error while Atmel Studio does not. It
appears that the difference is that Atmel Studio will write 0xFF to the high
byte while avrdude moves on to the next memory location and does not write a
high byte.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 18 Jul 2017 03:07:29 PM UTC  Name:
blink-2560-mod-logic-avrdude-gpio-write.PNG  Size: 9KiB   By: smbrandonjr

<http://savannah.nongnu.org/bugs/download.php?file_id=41230>
-------------------------------------------------------
Date: Tue 18 Jul 2017 03:07:29 PM UTC  Name:
blink-2560-mod-logic-avrisp-write.PNG  Size: 11KiB   By: smbrandonjr

<http://savannah.nongnu.org/bugs/download.php?file_id=41231>
-------------------------------------------------------
Date: Tue 18 Jul 2017 03:07:29 PM UTC  Name: blink-2560-mod.hex  Size: 4KiB  
By: smbrandonjr

<http://savannah.nongnu.org/bugs/download.php?file_id=41232>
-------------------------------------------------------
Date: Tue 18 Jul 2017 03:07:29 PM UTC  Name: blink-mod-bitbang-read.PNG  Size:
40KiB   By: smbrandonjr

<http://savannah.nongnu.org/bugs/download.php?file_id=41233>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?51497>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]