bugAVR Downloader/UploaDEr - Bugs: bug #51497, avrdude not writing high byte...


You are not allowed to post comments on this tracker with your current authentication level.

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

Submitted by:  Mike <smbrandonjr>
Submitted on:  Tue 18 Jul 2017 03:07:29 PM UTC  
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: Mike Brandon
Open/Closed: OpenRelease: 6.3
Programmer hardware: linuxgpioDevice type: m2560, m12834

Wed 01 Nov 2017 02:06:54 PM UTC, comment #2:

Quite possible this might be valid.

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

Joerg Wunsch <joerg_wunsch>
Project Administrator
Wed 01 Nov 2017 01:30:37 PM UTC, comment #1:

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?

Mike <smbrandonjr>
Tue 18 Jul 2017 03:07:29 PM UTC, original submission:

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.

Mike <smbrandonjr>



Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by joerg_wunsch (Posted a comment)
  • -unavailable- added by smbrandonjr (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 18 Jul 2017 03:07:29 PM UTCsmbrandonjrAttached File-=>Added blink-2560-mod-logic-avrdude-gpio-write.PNG, #41230
      Attached File-=>Added blink-2560-mod-logic-avrisp-write.PNG, #41231
      Attached File-=>Added blink-2560-mod.hex, #41232
      Attached File-=>Added blink-mod-bitbang-read.PNG, #41233

    Back to the top

    Powered by Savane 3.1-cleanup1