bugAVR C Runtime Library - Bugs: bug #25535, Nonexistent bit definitions in...

 
 

bug #25535: Nonexistent bit definitions in iotn88.h/iotn48.h AREFD REFS1 RWWSB SM2

Submitted by:  Bob Paddock <bpaddock>
Submitted on:  Mon 09 Feb 2009 08:07:00 PM UTC  
 
Category: HeaderSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Header files
Status: FixedPercent Complete: 100%
Assigned to: Eric Weddington <arcanum>Open/Closed: Closed
Release: 1.6.4Fixed Release: 1.6.6

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 14 Feb 2009 12:39:41 AM UTC, comment #3:

AREFD and REFS1 do not exist. XML file is fixed in the next release of AVR Studio.
RWWSB exists, but datasheet needs to be fixed in the Register Summary.

Header file now fixed with bit names removed.

Eric Weddington <arcanum>
Project AdministratorIn charge of this item.
Wed 11 Feb 2009 07:35:05 PM UTC, comment #2:

Confirmed that SM2 needs to be removed. That portion is now fixed.

avr-libc's policy is to match the XML device files that are shipped with AVR Studio.

The AREFD, REFS1, and RWWSB bit definitions are all declared in the latest ATtiny88.xml and ATtiny48.xml files shipped with the latest AVR Studio.

AREFD and REFS1 do not exist in the respective datasheets. RWWSB does exist in the datasheets, but not in the Register Summary.

I will check internally to see what needs to be fixed.

Eric Weddington <arcanum>
Project AdministratorIn charge of this item.
Mon 09 Feb 2009 08:13:56 PM UTC, comment #1:

PS: RWWSB does exist as a footnote, but not in Register Summary.

Bob Paddock <bpaddock>
Mon 09 Feb 2009 08:07:00 PM UTC, original submission:

These bits appear in iotn88.h/iotn48.h:

#define AREFD 2
#define REFS1 7
#define RWWSB 6
#define SM2 3

They are not defined in the ATTiny88/48 datasheet;Rev. 8008B–AVR–06/08.

Also, "BODS"/"BODSE" are called "BPDS"/"BPDSE"
in the text of the datasheet, however
everyplace else they are "BODS"/"BODSE".
Believe this is a documentation error in the PDF file.

#define DIDR1 _SFR_MEM8(0x7F)
#define AIN0D 0
#define AIN1D 1
#define AREFD 2 *

#define ADMUX _SFR_MEM8(0x7C)
#define MUX0 0
#define MUX1 1
#define MUX2 2
#define MUX3 3
#define ADLAR 5
#define REFS0 6
#define REFS1 7 *

#define SPMCSR _SFR_IO8(0x37)
#define SELFPRGEN 0
#define PGERS 1
#define PGWRT 2
#define RFLB 3
#define CTPB 4
#define RWWSB 6 *

#define MCUCR _SFR_IO8(0x35)
#define PUD 4
#define BODSE 5 ?
#define BODS 6 ?

#define SMCR _SFR_IO8(0x33)
#define SE 0
#define SM0 1
#define SM1 2
#define SM2 3 *

Bob Paddock <bpaddock>

 

(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 arcanum (Posted a comment)
  • -unavailable- added by bpaddock (Submitted the item)
  •  

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

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 14 Feb 2009 12:39:41 AM UTCarcanumStatusNeed Info=>Fixed
      Percent Complete20%=>100%
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>1.6.6
    Wed 11 Feb 2009 07:35:05 PM UTCarcanumStatusNone=>Need Info
      Percent Complete0%=>20%
      Assigned toNone=>arcanum

    Back to the top


    Powered by Savane 3.1-cleanup1