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

Submitter:  Mike <smbrandonjr>
Submitted:  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>
Group 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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    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.13-3230.
    Corresponding source code