patchAVR Downloader/UploaDEr - Patches: patch #10017, uspasp / tpi: Automatically clear...

 
 

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

patch #10017: uspasp / tpi: Automatically clear configuration byte (fuse) before writing it

Submitter:  Martin Thierer <thierer>
Submitted:  Sun 31 Jan 2021 02:29:23 PM UTC
   
 
Category:  None Priority:  3 - Low
Status:  Done Privacy:  Public
Assigned to:  joerg_wunsch Open/Closed:  Closed

Sun 07 Nov 2021 08:10:48 PM UTC, comment #1: 

I can follow your reasoning, added in r1468.

Joerg Wunsch <joerg_wunsch>
Group administrator
Sun 31 Jan 2021 02:29:23 PM UTC, original submission:  

For the ATtiny 4/5/9/10 MCUs the "configuration byte" (fuse byte) has to be erased before it can be changed (see 16.4.3.4 in the datasheet).

Respective support has been added for the usbasp programmer via #9185, but through extended parameters for the erase command.

I find it much more useful to just transparently erase the configuration byte before writing it, like avr_write_byte_default() does (which isn't used by the usbasp code).

The attached patch adds that functionality. Tested with an ATtiny 10.


Martin Thierer <thierer>

 

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

Attached Files

 

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 thierer (Submitted the item)
  •  

    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
    2021-11-07 joerg_wunsch StatusNone Done
        Assigned toNone joerg_wunsch
        Open/ClosedOpen Closed
    2021-01-31 thierer Attached File- Added reset-configuration-byte.patch, #50814

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code