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

 
 

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

Submitted by:  None
Submitted on:  Fri 07 Jan 2005 06:50:58 PM UTC  
 
Category: HeaderSeverity: 3 - Normal
Priority: 9 - ImmediateItem Group: None
Status: FixedPercent Complete: 100%
Assigned to: Eric Weddington <arcanum>Originator Email: -unavailable-
Open/Closed: ClosedRelease: None
Fixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

Fixed on HEAD and 1.2 branch.

Eric Weddington <arcanum>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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.)

Attach File(s):
   
   
Comment:
   

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

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 10 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 10 Jan 2005 10:46:28 PM UTCarcanumStatusNone=>Fixed
  Percent Complete50%=>100%
  Open/ClosedOpen=>Closed
Mon 10 Jan 2005 10:31:42 PM UTCarcanumAttached File-=>Added watchdog-disable.patch, #2053
Mon 10 Jan 2005 09:49:04 PM UTCarcanumPriority7 - High=>9 - Immediate
Fri 07 Jan 2005 08:31:42 PM UTCarcanumPercent Complete0%=>50%
  Attached File-=>Added watchdog-disable.patch, #2040
Fri 07 Jan 2005 07:29:18 PM UTCarcanumCategoryLibrary=>Header
Fri 07 Jan 2005 07:05:43 PM UTCarcanumPriority5 - Normal=>7 - High
  Assigned toNone=>arcanum

Back to the top


Powered by Savane 3.1-cleanup1