avr-gcc-list
[Top][All Lists]
Advanced

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

[avr-gcc-list] Patch for UISP


From: Alexander Popov
Subject: [avr-gcc-list] Patch for UISP
Date: Fri, 19 Apr 2002 22:29:45 +0300

        Hello!
        I've played with a ATtiny15 and noticed that UISP did 
not read its calibration byte. Here is the patch.

        Regards,
        Alexander Popov

diff -ur uisp-20020303/src/Avr.h uisp-20020303-patched/src/Avr.h
--- uisp-20020303/src/Avr.h     Tue Aug 14 17:39:19 2001
+++ uisp-20020303-patched/src/Avr.h     Wed Apr 17 11:18:02 2002
@@ -55,7 +55,8 @@
 #define AVR_M103 (AVR_BYTE_POLL | AVR_LOCK_RD12 | AVR_FUSE_RD | AVR_FUSE_OLDWR)
 #define AVR_TN12 (AVR_BYTE_POLL | AVR_LOCK_RD12 | AVR_FUSE_RD | AVR_FUSE_NEWWR 
\
                  | AVR_CAL_RD)
-#define AVR_TN15 (AVR_BYTE_POLL | AVR_LOCK_RD12 | AVR_FUSE_RD | AVR_FUSE_NEWWR)
+#define AVR_TN15 (AVR_BYTE_POLL | AVR_LOCK_RD12 | AVR_FUSE_RD | AVR_FUSE_NEWWR 
\
+                 | AVR_CAL_RD)
 #define AVR_M161 (AVR_BYTE_POLL | AVR_PAGE_POLL | AVR_LOCK_BOOT | AVR_FUSE_RD \
                  | AVR_FUSE_NEWWR)
 #define AVR_M163 (AVR_BYTE_POLL | AVR_PAGE_POLL | AVR_LOCK_BOOT | AVR_FUSE_RD \

reply via email to

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