[bug #51497] avrdude not writing high byte using linuxgpio when data byte count is less than 0x10

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[bug #51497] avrdude not writing high byte using linuxgpio when data byte count is less than 0x10

Joerg Wunsch-6
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/


_______________________________________________
avrdude-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev
Reply | Threaded
Open this post in threaded view
|

[bug #51497] avrdude not writing high byte using linuxgpio when data byte count is less than 0x10

Joerg Wunsch-6
Follow-up Comment #1, bug #51497 (project avrdude):

Is this a valid issue that I have described or, due to my general
inexperience, am I trying to do something that should not work?

    _______________________________________________________

Reply to this item at:

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

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


_______________________________________________
avrdude-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev
Reply | Threaded
Open this post in threaded view
|

[bug #51497] avrdude not writing high byte using linuxgpio when data byte count is less than 0x10

Joerg Wunsch-6
Follow-up Comment #2, bug #51497 (project avrdude):

Quite possible this might be valid.

My guess is that linuxgpio simply isn't used very widely by many people.

    _______________________________________________________

Reply to this item at:

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

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


_______________________________________________
avrdude-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev