bugAVR Downloader/UploaDEr - Bugs: bug #55734, USBtiny programming of ATmega328p...

 
 

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

bug #55734: USBtiny programming of ATmega328p broken by Patch #9278

Submitted by:  Austin Roach <ahroach>
Submitted on:  Mon 18 Feb 2019 01:52:35 AM UTC  
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  Austin Roach
Open/Closed:  Open Release:  SVN snapshot
Programmer hardware:  usbtiny Device type:  ATmega328p

Mon 18 Feb 2019 01:52:35 AM UTC, original submission:  

Programming an ATmega328p with a usbtiny-compatible programmer (Pocket AVR) was broken for me by Patch #9278.[1]

The logic in Patch #9278 is flawed. usbtiny_program_enable() (which is ultimately returning the value from usbtiny_cmd()) returns 1 on success. With the patch applied, if usbtiny_program_enable() always succeeds, the function will eventually fail and return -1. This is undoubtedly not the right behavior.

There may be some devices for which usbtiny_cmd() appears to fail, even though they are operating successfully. But breaking the operation of devices that are actually behaving correctly can't be the right fix.

[1] https://savannah.nongnu.org/patch/?9728

Austin Roach <ahroach>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ahroach (Submitted the item)
  • -email is unavailable- added by ahroach
  •  

    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.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-02-18 ahroach Carbon-Copy- => Added ahroach@gmail.com

    Back to the top


    Powered by Savane 3.5