[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] ATTiny2313 for AVRDUDE?
From: |
Bob Paddock |
Subject: |
[avr-gcc-list] ATTiny2313 for AVRDUDE? |
Date: |
Tue, 10 Feb 2004 19:35:19 -0500 |
User-agent: |
KMail/1.5.4 |
I asked Atmel what the device codes for the ATTiny2313 should be, this was
their response:
Atmel> Sorry about the delay in responding and even more sorry about
Atmel> the answer. The official answer from the factory is that there
Atmel> is no device code for the Tiny2313. They suggest using a
Atmel> different programmer, like the AVR-ISP.
When we use the AVR-ISP it only lasted about a month, then failed and shut
down production. Happened several times before we gave up on the AVR-ISP
route.
Is it possible for Tiny2313 to not have a device code? Seems unlikely.
I've got Tiny2313's in hand, O'scope, logic analyzer and other equipment
warming up if some one can point me in the direction of what I should be
looking for to figure out the needed codes.
#------------------------------------------------------------
# ATtiny2313
#------------------------------------------------------------
part
id = "t2313";
desc = "ATtiny2313";
stk500_devcode = ?;
avr910_devcode = ?;
chip_erase_delay = 20000;
# chip_erase_delay is not as clearly specified as it was for the AT90S2313,
# so I left at the same value as the AT90S2313.
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 = 128;
min_write_delay = 4000;
max_write_delay = 4500;
readback_p1 = 0xff;
readback_p2 = 0xff;
read = "1 0 1 0 0 0 0 0 0 0 0 x x x x x",
"x a6 a5 a4 a3 a2 a1 a0 o o o o o o o o";
write = "1 1 0 0 0 0 0 0 0 0 0 x x x x x",
"x a6 a5 a4 a3 a2 a1 a0 i i i i i i i i";
;
memory "flash"
paged = yes;
size = 2048;
page_size = 32;
num_pages = 64;
min_write_delay = 4000;
max_write_delay = 4500;
readback_p1 = 0xff;
readback_p2 = 0xff;
read_lo = " 0 0 1 0 0 0 0 0",
" 0 0 0 0 0 0 a9 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",
" 0 0 0 0 0 0 a9 a8",
" a7 a6 a5 a4 a3 a2 a1 a0",
" o o o o o o o o";
loadpage_lo = " 0 1 0 0 0 0 0 0",
" 0 0 0 x x x x x",
" x x a5 a4 a3 a2 a1 a0",
" i i i i i i i i";
loadpage_hi = " 0 1 0 0 1 0 0 0",
" 0 0 0 x x x x x",
" x x a5 a4 a3 a2 a1 a0",
" i i i i i i i i";
writepage = " 0 1 0 0 1 1 0 0",
" 0 0 0 0 0 0 a9 a8",
" a7 a6 x x x x x x",
" x x x x x x x x";
;
memory "signature"
size = 3;
read = "0 0 1 1 0 0 0 0 0 0 0 x x x x x",
"x x x x x x a1 a0 o o o o o o o o";
;
memory "lock"
size = 1;
write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x",
"x x x x x x x x 1 1 i i i i i i";
;
;
memory "lfuse"
size = 1;
write = "1 0 1 0 1 1 0 0 1 0 1 0 0 0 0 0",
"x x x x x x x x i i i i i i i i";
read = "0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0",
"x x x x x x x x o o o o o o o o";
;
memory "hfuse"
size = 1;
write = "1 0 1 0 1 1 0 0 1 0 1 0 1 0 0 0",
"x x x x x x x x i i i i i i i i";
read = "0 1 0 1 1 0 0 0 0 0 0 0 1 0 0 0",
"x x x x x x x x o o o o o o o o";
;
memory "efuse"
size = 1;
write = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0",
"x x x x x x x x x x x x x x x i";
read = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0",
"x x x x x x x x o o o o o o o o";
memory "calibration"
size = 4;
read = "0 0 1 1 1 0 0 0 0 0 0 x x x x x",
"0 0 0 0 0 0 0 0 o o o o o o o o";
;
;
--
http://www.softwaresafety.net/
http://www.unusualresearch.com/ http://www.bpaddock.com/
- [avr-gcc-list] ATTiny2313 for AVRDUDE?,
Bob Paddock <=