patchAVR In-System Programmer - Patches: patch #7590, Support for ATtiny48/88

 
 

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

patch #7590: Support for ATtiny48/88

Submitter:  Jacques Pelletier <physnoct>
Submitted:  Fri 05 Aug 2011 05:28:54 AM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open

Fri 05 Aug 2011 05:28:54 AM UTC, original submission:  

In Avr.C I added
  { "ATtiny48",     0x92, 0x09,   4096,  32,   64,  4500, 9000, AVR_TN48 },
  { "ATtiny88",     0x93, 0x11,   8192,  32,   64,  4500, 9000, AVR_TN88 },


In Avr.h I added (not sure about the fuse and poll flags)
#define AVR_TN48 (AVR_BYTE_POLL | AVR_PAGE_POLL | AVR_FUSE_RD \
  | AVR_FUSE_NEWWR | AVR_CAL_RD | AVR_FUSE_HIGH)
#define AVR_TN88 (AVR_BYTE_POLL | AVR_PAGE_POLL | AVR_FUSE_RD \
  | AVR_FUSE_NEWWR | AVR_CAL_RD | AVR_FUSE_HIGH)

I didn't test the programming of the lock and fuse bits, but erasing and programming the flash works fine with a ATtiny48.

Jacques Pelletier <physnoct>

 

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

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 physnoct (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.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code