From 4bc5964567421b97aefa2fd04121d4d66858f967 Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Wed, 19 Feb 2003 09:01:54 +0000 Subject: [PATCH] My colleague contributed a part definition for the AT90S2343. Submitted by: Mirko Kaffka git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@198 81a1dc3b-b13d-400b-aceb-764788c761c2 --- avrdude/avrdude.1 | 5 +++ avrdude/avrdude.conf.sample | 81 +++++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) diff --git a/avrdude/avrdude.1 b/avrdude/avrdude.1 index 842bc7f7..2d34d0c2 100644 --- a/avrdude/avrdude.1 +++ b/avrdude/avrdude.1 @@ -134,6 +134,7 @@ t15 ATtiny15 1200 AT90S1200 2313 AT90S2313 2333 AT90S2333 +2343 AT90S2343 (*) 4414 AT90S4414 4433 AT90S4433 4434 AT90S4434 @@ -145,6 +146,10 @@ m103 ATMEGA103 m16 ATMEGA16 m8 ATMEGA8 .TE +.Bl -tag -width "(*) " +.It "(*)" +The AT90S2323 uses the same algorithm. +.El .It Fl c Ar programmer-id Use the pin configuration specified by the argument. Pin configurations are read from the config file (see the diff --git a/avrdude/avrdude.conf.sample b/avrdude/avrdude.conf.sample index 4b6cedd2..695a3e66 100644 --- a/avrdude/avrdude.conf.sample +++ b/avrdude/avrdude.conf.sample @@ -604,6 +604,87 @@ part ; ; + +#------------------------------------------------------------ +# AT90s2343 +#------------------------------------------------------------ + +part + id = "2343"; + desc = "AT90S2343"; + chip_erase_delay = 18000; + 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 = 9000; + max_write_delay = 20000; + readback_p1 = 0x00; + readback_p2 = 0xff; + read = "1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0", + "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 0 0 0 0 0", + "x a6 a5 a4 a3 a2 a1 a0 i i i i i i i i"; + ; + memory "flash" + size = 2048; + min_write_delay = 9000; + max_write_delay = 20000; + readback_p1 = 0xff; + readback_p2 = 0x00; + read_lo = " 0 0 1 0 0 0 0 0", + " x x x x x x 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", + " x x x x x x a9 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 a9 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 a9 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", + "x x x x x x a1 a0 o o o o o o o o"; + ; + memory "fuse" + size = 1; + min_write_delay = 9000; + max_write_delay = 20000; + 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 o o o x x x x o"; + + write = "1 0 1 0 1 1 0 0 1 0 1 1 1 1 1 i", + "x x x x x x x x x x x x x x x x"; + ; + memory "lock" + size = 1; + min_write_delay = 9000; + max_write_delay = 20000; + 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 o o o x x x x o"; + + 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"; + ; + ; + + #------------------------------------------------------------ # AT90s4433 #------------------------------------------------------------