bugAVR C Runtime Library - Bugs: bug #37772, wdt_enable() doesn't work for a...

 
 

bug #37772: wdt_enable() doesn't work for a list of chips

Submitted by:  None
Submitted on:  Mon 19 Nov 2012 07:29:10 AM UTC  
 
Category: HeaderSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Header files
Status: Works For MePercent Complete: 0%
Assigned to: Joerg Wunsch <joerg_wunsch>Originator Email: -unavailable-
Open/Closed: ClosedRelease: Any
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 19 Nov 2012 10:00:20 AM UTC, comment #2:

Per the discussion in avr-libc-dev, closing this bug as
"not reproducible" now. Should you be able to reproduce
it some day, feel free to reopen it.

Joerg Wunsch <joerg_wunsch>
Project AdministratorIn charge of this item.
Mon 19 Nov 2012 08:51:16 AM UTC, comment #1:

Well, this inline assembly statement has been written that
way for years now, and was proven to work. How did you
verify it doesn't work, and for which controller type?

The OUT instruction takes one CPU cycle, and the STS
instruction two cycles, that's why the four-cycle requirement
is still maintained.

Joerg Wunsch <joerg_wunsch>
Project AdministratorIn charge of this item.
Mon 19 Nov 2012 07:29:10 AM UTC, original submission:

wdt can't be enabled because of wrong assembler instruction order in wdt.h

"sts" instructions must follow one another, as they must be completed within 4 clock cycles (according to datasheets)

So, correct version is this:

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by joerg_wunsch (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

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

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 19 Nov 2012 10:00:20 AM UTCjoerg_wunschStatusNone=>Works For Me
      Assigned toNone=>joerg_wunsch
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1