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:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  Mike Brandon
Open/Closed:  Open Release:  6.3
Programmer hardware:  linuxgpio Device 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>


Attached Files
file #41232:  blink-2560-mod.hex added by smbrandonjr (4KiB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


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

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

    Only logged-in users can vote.




    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-07-18 smbrandonjr Attached 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.6