uisp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Uisp-dev] [RESEND] [PATCH] Add support for AtMega48 and AtMega88


From: James Lamanna
Subject: [Uisp-dev] [RESEND] [PATCH] Add support for AtMega48 and AtMega88
Date: Tue, 21 Dec 2004 08:16:59 -0800
User-agent: Mozilla Thunderbird 0.9 (X11/20041108)

Resending to the list because I wasn't subscribed before...
And the patch has a couple slight changes
This patch adds STK500 support for the Mega48 and 88.
It is against the most current CVS.

Thanks.

--
James Lamanna


--
James Lamanna
Applied Minds, Inc.
1209 Grand Central Ave.
Glendale, CA 91201
(818) 332-5214
--- src/Avr.C   31 Mar 2004 02:25:44 -0000      1.10
+++ src/Avr.C   20 Dec 2004 23:36:43 -0000
@@ -77,6 +77,7 @@
   /* no longer in production? -> use 8515, 8535 instead */
   { "AT90S4414",    0x92, 0x01,   4096,   0,  256,  4000, 4000, AVR_2313 },
   { "AT90S4434",    0x92, 0x02,   4096,   0,  256,  4000, 4000, AVR_8535 },
+  { "ATmega48",     0x92, 0x05,   4096,   0,  256,  4000, 4000, AVR_M163 },
 
   { "AT90S8515",    0x93, 0x01,   8192,   0,  512,  4000, 4000, AVR_2313 },
   { "AT90S8535",    0x93, 0x03,   8192,   0,  512,  4000, 4000, AVR_8535 },
@@ -89,6 +90,7 @@
   { "ATmega8515",   0x93, 0x06,   8192,  64,  512,  4500, 9000, AVR_M163 },
   { "ATmega8",      0x93, 0x07,   8192,  64,  512,  4500, 9000, AVR_M163 },
   { "ATmega8535",   0x93, 0x08,   8192,  64,  512,  4500, 9000, AVR_M163 },
+  { "ATmega88",     0x93, 0x0a,   8192,  64,  512,  4000, 4000, AVR_M163 },
 
 #if 0
   /* 12V parallel programming only; here just for the evidence */
--- src/Stk500.C        20 May 2004 17:09:55 -0000      1.28
+++ src/Stk500.C        20 Dec 2004 23:36:43 -0000
@@ -230,6 +230,16 @@
    {0x42, 0xb2, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x03, 0xff, 0xff, 0xff,
     0xff, {0x01, 0x00}, {0x10, 0x00}, {0x00, 0x02, 0x00, 0x00}, 0x20}
   },
+  {"ATmega48",
+   {0x04, 0xD7, 0xA0, 0x01},
+   {0x42, 0x59, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x03, 0xff, 0xff, 0xff, 
+       0xff, {0x00, 0x40}, {0x01, 0x00}, {0x00, 0x00, 0x10, 0x00}, 0x20}
+  },
+  {"ATmega88",
+   {0x04, 0xD7, 0xA0, 0x01},
+   {0x42, 0x73, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x03, 0xff, 0xff, 0xff,
+    0xff, {0x00, 0x40}, {0x02, 0x00}, {0x00, 0x00, 0x20, 0x00}, 0x20}
+  },
   // FIXME: add at86rf401, at89s51, at89s52
   {"", {0,0,0,0},{0,0,0,0, 0,0,0,0, 0,0,0,0, 0, {0}, {0}, {0}, 0}}
 };

reply via email to

[Prev in Thread] Current Thread [Next in Thread]