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: Mon, 10 Jan 2005 22:46:30 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1

This is an automated notification sent by Savannah.
It relates to:
                bugs #11522, project AVR C Runtime Library

==============================================================================
 LATEST MODIFICATIONS of bugs #11522:
==============================================================================

               Posted by: Eric Weddington <arcanum>
               Posted on: 2005-01-10 22:46 (America/Denver)
    _______________________________________________________

                  Status:                    None -> Fixed                  
        Percent Complete:                     50% -> 100%                   
             Open/Closed:                    Open -> Closed                 

    _______________________________________________________

Follow-up Comment:
Fixed on HEAD and 1.2 branch.

==============================================================================
 OVERVIEW of bugs #11522:
==============================================================================

URL:
  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=11522>

                 Summary: WDE bit not cleared on wdt_disable()
                 Project: AVR C Runtime Library
            Submitted by: None
            Submitted on: Fri 01/07/2005 at 18:50
                Category: Header
                Severity: 5 - Average
                Priority: 9 - Immediate
              Item Group: None
                  Status: Fixed
                 Privacy: Public
        Percent Complete: 100%
             Assigned to: arcanum
        Originator Email: address@hidden
             Open/Closed: Closed

    _______________________________________________________


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: Mon 01/10/2005 at 22:46       By: Eric Weddington <arcanum>
Fixed on HEAD and 1.2 branch.

-------------------------------------------------------
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: Mon 01/10/2005 at 22:31  Name: watchdog-disable.patch  Size: 2.04KB  
By: arcanum
Updated patch with bug fixes.
<http://savannah.nongnu.org/bugs/download.php?item_id=11522&item_file_id=2053>
-------------------------------------------------------
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&item_file_id=2040>

==============================================================================

This item URL is:
  <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]