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

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

[avr-gcc-list] bug: WinAVR 20100110 avr/include/avr/iom164.h FUSE bits v


From: Philip Soeberg
Subject: [avr-gcc-list] bug: WinAVR 20100110 avr/include/avr/iom164.h FUSE bits versus ATmega164p/324P/644P reference documentation (7674F-AVR-09/09) mismatch
Date: Tue, 25 May 2010 14:36:58 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4

Hello,

In WinAVR project 20100110 avr/include/avr/iom164.h (/* $Id: iom164.h,v 1.3.2.6 2009/04/25 21:01:29 arcanum Exp $ */)
the following LFUSE_DEFAULT low-byte FUSE define is set:
#define LFUSE_DEFAULT (FUSE_CKSEL0 & FUSE_CKSEL2 & FUSE_CKSEL3 & FUSE_SUT0 & FUSE_SUT1 & FUSE_CKDIV8)

FUSE_SUT1 is per reference documentation for ATmega164p (ref 7674F-AVR-09/09) by default not programmed, whereas using the above LFUSE_DEFAULT it is. I assume this is in error as I logically expect the LFUSE_DEFAULT define to mirror the chip's datasheet defaults...

The default defines for High and Extended FUSE bits are okay.

--

Philip Soeberg                     ////
address@hidden            (@ @)           soeberg.net
------------------------------oOO--(_)--OOo------------------





reply via email to

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