Submitted by Joakim Lubeck:

bug #40040: Support for ATtiny20 and ATtiny40
* avrdude.conf.in: Restructure the reduced-core tiny devices
to use a common entry .reduced_core_tiny; add ATtiny20 and
ATtiny40




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1236 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Joerg Wunsch 2013-09-16 19:40:15 +00:00
parent 50829615d9
commit c6e9e34e98
3 changed files with 61 additions and 103 deletions

View File

@ -1,3 +1,11 @@
2013-09-16 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
Submitted by Joakim Lubeck:
bug #40040: Support for ATtiny20 and ATtiny40
* avrdude.conf.in: Restructure the reduced-core tiny devices
to use a common entry .reduced_core_tiny; add ATtiny20 and
ATtiny40
2013-09-15 Joerg Wunsch <j.gnu@uriah.heep.sax.de> 2013-09-15 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
Submitted by Joakim Lubeck: Submitted by Joakim Lubeck:

2
NEWS
View File

@ -103,6 +103,7 @@ Current:
- ATtiny43U - ATtiny43U
- ATmega406 - ATmega406
- ATxmega8E5, ATxmega16E5, ATxmega32E5 - ATxmega8E5, ATxmega16E5, ATxmega32E5
- ATtiny20, ATtiny40
* New programmers supported: * New programmers supported:
@ -193,6 +194,7 @@ Current:
- bug #35474: Feature request: print fuse values in safemode output. - bug #35474: Feature request: print fuse values in safemode output.
- patch #7710: usb_libusb: Check VID/PID before opening device - patch #7710: usb_libusb: Check VID/PID before opening device
- [no-id]: Fix SCK period adjustment for STK500v2 - [no-id]: Fix SCK period adjustment for STK500v2
- bug #40040: Support for ATtiny20 and ATtiny40
* Internals: * Internals:

View File

@ -14162,22 +14162,14 @@ part
; ;
#------------------------------------------------------------ #------------------------------------------------------------
# ATtiny4 # Common values for reduced core tinys (4/5/9/10/20/40)
#------------------------------------------------------------ #------------------------------------------------------------
part part
id = "t4"; id = ".reduced_core_tiny";
desc = "ATtiny4"; desc = "Common values for reduced core tinys";
signature = 0x1e 0x8f 0x0a;
has_tpi = yes; has_tpi = yes;
memory "flash"
size = 512;
offset = 0x4000;
page_size = 16;
blocksize = 128;
;
memory "signature" memory "signature"
size = 3; size = 3;
offset = 0x3fc0; offset = 0x3fc0;
@ -14204,60 +14196,41 @@ part
; ;
; ;
#------------------------------------------------------------
# ATtiny4
#------------------------------------------------------------
part parent ".reduced_core_tiny"
id = "t4";
desc = "ATtiny4";
signature = 0x1e 0x8f 0x0a;
memory "flash"
size = 512;
offset = 0x4000;
page_size = 16;
blocksize = 128;
;
;
#------------------------------------------------------------ #------------------------------------------------------------
# ATtiny5 # ATtiny5
#------------------------------------------------------------ #------------------------------------------------------------
part part parent "t4"
id = "t5"; id = "t5";
desc = "ATtiny5"; desc = "ATtiny5";
signature = 0x1e 0x8f 0x09; signature = 0x1e 0x8f 0x09;
has_tpi = yes;
memory "flash"
size = 512;
offset = 0x4000;
page_size = 16;
blocksize = 128;
;
memory "signature"
size = 3;
offset = 0x3fc0;
page_size = 16;
;
memory "fuse"
size = 1;
offset = 0x3f40;
page_size = 16;
blocksize = 4;
;
memory "calibration"
size = 1;
offset = 0x3f80;
page_size = 16;
;
memory "lockbits"
size = 1;
offset = 0x3f00;
page_size = 16;
;
; ;
#------------------------------------------------------------ #------------------------------------------------------------
# ATtiny9 # ATtiny9
#------------------------------------------------------------ #------------------------------------------------------------
part part parent ".reduced_core_tiny"
id = "t9"; id = "t9";
desc = "ATtiny9"; desc = "ATtiny9";
signature = 0x1e 0x90 0x08; signature = 0x1e 0x90 0x08;
has_tpi = yes;
memory "flash" memory "flash"
size = 1024; size = 1024;
@ -14265,75 +14238,50 @@ part
page_size = 16; page_size = 16;
blocksize = 128; blocksize = 128;
; ;
memory "signature"
size = 3;
offset = 0x3fc0;
page_size = 16;
;
memory "fuse"
size = 1;
offset = 0x3f40;
page_size = 16;
blocksize = 4;
;
memory "calibration"
size = 1;
offset = 0x3f80;
page_size = 16;
;
memory "lockbits"
size = 1;
offset = 0x3f00;
page_size = 16;
;
; ;
#------------------------------------------------------------ #------------------------------------------------------------
# ATtiny10 # ATtiny10
#------------------------------------------------------------ #------------------------------------------------------------
part part parent "t9"
id = "t10"; id = "t10";
desc = "ATtiny10"; desc = "ATtiny10";
signature = 0x1e 0x90 0x03; signature = 0x1e 0x90 0x03;
has_tpi = yes; ;
#------------------------------------------------------------
# ATtiny20
#------------------------------------------------------------
part parent ".reduced_core_tiny"
id = "t20";
desc = "ATtiny20";
signature = 0x1e 0x91 0x0F;
memory "flash" memory "flash"
size = 1024; size = 2048;
offset = 0x4000;
page_size = 16;
blocksize = 128;
;
;
#------------------------------------------------------------
# ATtiny40
#------------------------------------------------------------
part parent ".reduced_core_tiny"
id = "t40";
desc = "ATtiny40";
signature = 0x1e 0x92 0x0E;
memory "flash"
size = 4096;
offset = 0x4000; offset = 0x4000;
page_size = 16; page_size = 64;
blocksize = 128; blocksize = 128;
; ;
memory "signature"
size = 3;
offset = 0x3fc0;
page_size = 16;
;
memory "fuse"
size = 1;
offset = 0x3f40;
page_size = 16;
blocksize = 4;
;
memory "calibration"
size = 1;
offset = 0x3f80;
page_size = 16;
;
memory "lockbits"
size = 1;
offset = 0x3f00;
page_size = 16;
;
; ;
#------------------------------------------------------------ #------------------------------------------------------------