bugAVR C Runtime Library - Bugs: bug #11522, WDE bit not cleared on...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #11522: WDE bit not cleared on wdt_disable()

Submitter:  None
Submitted:  Fri 07 Jan 2005 06:50:58 PM UTC
   
 
Category:  Header Severity:  3 - Normal
Priority:  9 - Immediate Item Group:  None
Status:  Fixed Assigned to:  arcanum
Percent Complete:  100% Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  None
Fixed Release:  None

Mon 10 Jan 2005 10:46:28 PM UTC, comment #2: 

Fixed on HEAD and 1.2 branch.

Eric Weddington <arcanum>
Group administrator
Fri 07 Jan 2005 08:31:42 PM UTC, comment #1: 

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

Eric Weddington <arcanum>
Group administrator
Fri 07 Jan 2005 06:50:58 PM UTC, 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.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #2353:  watchdog-disable.patch added by arcanum (2KiB - application/octet-stream - Updated patch with bug fixes.)
file #2339:  watchdog-disable.patch added by arcanum (2KiB - application/octet-stream - Patch for 1.2 branch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Follow 10 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-01-10 arcanum StatusNone Fixed
    Percent Complete50% 100%
    Open/ClosedOpen Closed
2005-01-10 arcanum Attached File- Added watchdog-disable.patch, #2053
2005-01-10 arcanum Priority7 - High 9 - Immediate
2005-01-07 arcanum Percent Complete0% 50%
    Attached File- Added watchdog-disable.patch, #2040
2005-01-07 arcanum CategoryLibrary Header
2005-01-07 arcanum Priority5 - Normal 7 - High
    Assigned toNone arcanum

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code