Properly identify the "ALF" programmer.

Extend ATmega8 calibration memory to support all 4 calibration bytes.
Savannah bug #3835.  Submitted by Francisco T. A. Silva
<ftas@geodigitus.com.br>.

Add a few AVR910 programmer device codes.  Savannah bug #3569 - sorry
I can't tell who submitted this to give proper credit.

Add support for the ATtiny12.  Submitted by Pontifex <pontifex@isys.ca>


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@332 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Brian S. Dean 2003-06-17 21:35:39 +00:00
parent b09107e9af
commit e9b255689c
1 changed files with 93 additions and 5 deletions

View File

@ -267,7 +267,7 @@ programmer
programmer programmer
id = "alf"; id = "alf";
desc = "Tony Friebel's Programmer"; desc = "Nightshade ALF-PgmAVR http://nightshade.homeip.net/";
type = par; type = par;
vcc = 2, 3, 4, 5; vcc = 2, 3, 4, 5;
buff = 6; buff = 6;
@ -289,6 +289,93 @@ programmer
# PART DEFINITIONS # PART DEFINITIONS
# #
#------------------------------------------------------------
# ATtiny12
#------------------------------------------------------------
part
id = "t12";
desc = "ATtiny12";
stk500_devcode = 0x12;
chip_erase_delay = 20000;
pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1",
"x x x x x x x x x x x x x x x x";
chip_erase = "1 0 1 0 1 1 0 0 1 0 0 x x x x x",
"x x x x x x x x x x x x x x x x";
memory "eeprom"
size = 64;
min_write_delay = 9000;
max_write_delay = 20000;
readback_p1 = 0xff;
readback_p2 = 0xff;
read = "1 0 1 0 0 0 0 0 x x x x x x x x",
"x x a5 a4 a3 a2 a1 a0 o o o o o o o o";
write = "1 1 0 0 0 0 0 0 x x x x x x x x",
"x x a5 a4 a3 a2 a1 a0 i i i i i i i i";
;
memory "flash"
size = 1024;
min_write_delay = 4500;
max_write_delay = 20000;
readback_p1 = 0xff;
readback_p2 = 0xff;
read_lo = " 0 0 1 0 0 0 0 0",
" x x x x x x x a8",
" a7 a6 a5 a4 a3 a2 a1 a0",
" o o o o o o o o";
read_hi = " 0 0 1 0 1 0 0 0",
" x x x x x x x a8",
" a7 a6 a5 a4 a3 a2 a1 a0",
" o o o o o o o o";
write_lo = " 0 1 0 0 0 0 0 0",
" x x x x x x x a8",
" a7 a6 a5 a4 a3 a2 a1 a0",
" i i i i i i i i";
write_hi = " 0 1 0 0 1 0 0 0",
" x x x x x x x a8",
" a7 a6 a5 a4 a3 a2 a1 a0",
" i i i i i i i i";
;
memory "signature"
size = 3;
read = "0 0 1 1 0 0 0 0 x x x x x x x x",
"0 0 0 0 0 0 a1 a0 o o o o o o o o";
;
memory "lock"
size = 1;
read = "0 1 0 1 1 0 0 0 x x x x x x x x",
"x x x x x x x x x x x x x o o x";
write = "1 0 1 0 1 1 0 0 1 1 1 1 1 i i 1",
"x x x x x x x x x x x x x x x x";
;
memory "calibration"
size = 1;
read = "0 0 1 1 1 0 0 0 x x x x x x x x",
"0 0 0 0 0 0 0 0 o o o o o o o o";
;
memory "fuse"
size = 1;
read = "0 1 0 1 0 0 0 0 x x x x x x x x",
"x x x x x x x x o o o o o o o o";
write = "1 0 1 0 1 1 0 0 1 0 1 x x x x x",
"x x x x x x x x i i i i i i i i";
;
;
#------------------------------------------------------------ #------------------------------------------------------------
# ATtiny15 # ATtiny15
#------------------------------------------------------------ #------------------------------------------------------------
@ -297,6 +384,7 @@ part
id = "t15"; id = "t15";
desc = "ATtiny15"; desc = "ATtiny15";
stk500_devcode = 0x13; stk500_devcode = 0x13;
avr910_devcode = 0x56;
chip_erase_delay = 20000; chip_erase_delay = 20000;
pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1",
"x x x x x x x x x x x x x x x x"; "x x x x x x x x x x x x x x x x";
@ -594,7 +682,7 @@ part
id = "2333"; id = "2333";
desc = "AT90S2333"; desc = "AT90S2333";
stk500_devcode = 0x42; stk500_devcode = 0x42;
stk500_devcode = 0x34; avr910_devcode = 0x34;
chip_erase_delay = 20000; chip_erase_delay = 20000;
pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1",
"x x x x x x x x x x x x x x x x"; "x x x x x x x x x x x x x x x x";
@ -1826,9 +1914,9 @@ part
; ;
memory "calibration" memory "calibration"
size = 1; size = 4;
read = "0 0 1 1 1 0 0 0 0 0 x x x x x x", read = "0 0 1 1 1 0 0 0 0 0 x x x x x x",
"0 0 0 0 0 0 0 0 o o o o o o o o"; "0 0 0 0 0 0 a1 a0 o o o o o o o o";
; ;
memory "signature" memory "signature"