avr-libc-dev
[Top][All Lists]
Advanced

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

[avr-libc-dev] [bugs #11522] WDE bit not cleared on wdt_disable()


From: Eric Weddington
Subject: [avr-libc-dev] [bugs #11522] WDE bit not cleared on wdt_disable()
Date: Fri, 07 Jan 2005 19:10:18 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1

This mail is an automated notification from the bugs tracker
 of the project: AVR C Runtime Library.

/**************************************************************************/
[bugs #11522] Latest Modifications:

Changes by: 
                Eric Weddington <address@hidden>
'Date: 
                Fri 01/07/2005 at 20:31 (America/Denver)

            What     | Removed                   | Added
---------------------------------------------------------------------------
    Percent Complete | 0%                        | 50%


------------------ Additional Follow-up Comments ----------------------------
It turns out that wdt_disable() was completely broken anyway and was not 
following the proscribed procedure in the datasheet on how to disable the wdt. 
(Used m128 datasheet).

Attached is a patch for the 1.2 branch that hopefully should fix it.

Joerg, I'll need help to make sure that the documentation can still be 
generated correctly for this change.

Eric






/**************************************************************************/
[bugs #11522] Full Item Snapshot:

URL: <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=11522>
Project: AVR C Runtime Library
Submitted by: 0
On: Fri 01/07/2005 at 18:50

Category:  Header
Severity:  5 - Average
Priority:  7 - High
Item Group:  None
Resolution:  None
Privacy:  Public
Percent Complete:  50%
Assigned to:  arcanum
Originator Email:  address@hidden
Status:  Open


Summary:  WDE bit not cleared on wdt_disable()

Original Submission:  Found with wdr.h file version: wdt.h,v 1.9.2.1 2005/01/06 
22:35:06
using ATmega8 controller.

The WDE bit will not clear on wdt_disable(). The prescaler value in WDP2:0 is 
cleared but WDE is set, with watchdog running.

Follow-up Comments
------------------


-------------------------------------------------------
Date: Fri 01/07/2005 at 20:31       By: Eric Weddington <arcanum>
It turns out that wdt_disable() was completely broken anyway and was not 
following the proscribed procedure in the datasheet on how to disable the wdt. 
(Used m128 datasheet).

Attached is a patch for the 1.2 branch that hopefully should fix it.

Joerg, I'll need help to make sure that the documentation can still be 
generated correctly for this change.

Eric






File Attachments
-------------------

-------------------------------------------------------
Date: Fri 01/07/2005 at 20:31  Name: watchdog-disable.patch  Size: 2.03KB   By: 
arcanum
Patch for 1.2 branch
http://savannah.nongnu.org/bugs/download.php?item_id=11522&amp;item_file_id=2040






For detailed info, follow this link:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=11522>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/







reply via email to

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