43 lines
2.1 KiB
Diff
43 lines
2.1 KiB
Diff
--- uisp-20050207/src/Avr.C.orig 2005-02-07 23:55:08.000000000 +0100
|
|
+++ uisp-20050207/src/Avr.C 2005-05-01 19:37:11.000000000 +0200
|
|
@@ -65,7 +65,7 @@
|
|
{ "ATtiny22", 0x91, 0x06, 2048, 0, 128, 4000, 4000, AVR_TN22 },
|
|
|
|
{ "ATtiny26", 0x91, 0x09, 2048, 32, 128, 4500, 9000, AVR_TN26 },
|
|
- { "ATtiny2313", 0x91, 0x0A, 2048, 0, 128, 4000, 4000, AVR_TN2313 },
|
|
+ { "ATtiny2313", 0x91, 0x0A, 2048, 32, 128, 4500, 4000, AVR_TN2313 },
|
|
|
|
#if 0
|
|
/* 12V parallel programming only; here just for the evidence */
|
|
@@ -77,7 +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 },
|
|
+ { "ATmega48", 0x92, 0x05, 4096, 64, 256, 4500, 4000, AVR_M48 },
|
|
|
|
{ "AT90S8515", 0x93, 0x01, 8192, 0, 512, 4000, 4000, AVR_2313 },
|
|
{ "AT90S8535", 0x93, 0x03, 8192, 0, 512, 4000, 4000, AVR_8535 },
|
|
@@ -90,7 +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 },
|
|
+ { "ATmega88", 0x93, 0x0a, 8192, 64, 512, 4500, 4000, AVR_M48 },
|
|
|
|
#if 0
|
|
/* 12V parallel programming only; here just for the evidence */
|
|
--- uisp-20050207/src/Avr.h.orig 2004-03-31 04:25:44.000000000 +0200
|
|
+++ uisp-20050207/src/Avr.h 2005-08-19 23:18:03.984965076 +0200
|
|
@@ -131,6 +131,10 @@
|
|
| AVR_FUSE_RD | AVR_FUSE_NEWWR | AVR_CAL_RD \
|
|
| AVR_FUSE_HIGH | AVR_FUSE_EXT)
|
|
|
|
+#define AVR_M48 (AVR_BYTE_POLL | AVR_PAGE_POLL | AVR_LOCK_BOOT \
|
|
+ | AVR_FUSE_RD | AVR_FUSE_NEWWR | AVR_CAL_RD \
|
|
+ | AVR_FUSE_HIGH | AVR_FUSE_EXT)
|
|
+
|
|
#define AT89S51 (AT89S | AT89S_BYTE_POLL | AT89S_LOCK_RD432)
|
|
#define AT89S52 (AT89S | AT89S_BYTE_POLL | AT89S_LOCK_RD432)
|
|
|