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

 
 

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

patch #7590: Support for ATtiny48/88

Submitted by:  Jacques Pelletier <physnoct>
Submitted on:  Fri 05 Aug 2011 05:28:54 AM UTC  
 
Category: NonePriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by physnoct (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup