bugAVR C Runtime Library - Bugs: bug #44977, Incorrect PORT_t and CRC_t...

 
 

bug #44977: Incorrect PORT_t and CRC_t definitions for ATxmega64A1U and 128A1U

Submitted by:  None
Submitted on:  Fri 01 May 2015 11:50:51 AM UTC  
 
Category: HeaderSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Header files
Status: FixedPercent Complete: 0%
Assigned to: Pitchumani <pitchumani>Originator Email: -unavailable-
Open/Closed: ClosedRelease: 1.8.0
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 22 Jun 2015 06:10:50 AM UTC, comment #1:

Committed.
http://svn.savannah.nongnu.org/viewvc?view=rev&root=avr-libc&revision=2478

Pitchumani <pitchumani>
Project MemberIn charge of this item.
Fri 01 May 2015 11:50:51 AM UTC, original submission:

Incorrect structure definitions for PORT_t and CRC_t. PORT_t is missing REMAP and has no reserved register at this offset, resulting in the PINxCTRL registers effectively being inaccessible via the struct. CRC_t register has a reserved address at offset 0x02 according to datasheet which is not reflected in CRC_t definition.

Attached patch generated from a modified header for which these two functions now work as tested with xmega 128A1U hardware. Should the patch be broken these errors can easily be resolved with reference to a recent datasheet.

At first glance, these changes do not appear in the recent 1.8.1 release.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #33856:  patch_avrlibc_1_05_2015.patch added by None (862B - application/octet-stream)
file #33855:  patch_avrlibc_1_05_2015.patch added by None (862B - application/octet-stream - patch against r1.8.1 header iox128a1u.h using modified r1.8.0 header)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pitchumani (Updated the item)
  • -unavailable- added by None (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
    Mon 22 Jun 2015 06:10:50 AM UTCpitchumaniStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
    Mon 22 Jun 2015 05:59:37 AM UTCpitchumaniSummaryIncorrect PORT_t and CRC_t definitions for ATxmega128A1U=>Incorrect PORT_t and CRC_t definitions for ATxmega64A1U and 128A1U
    Mon 22 Jun 2015 05:58:21 AM UTCpitchumaniStatusNone=>In Progress
      Assigned toNone=>pitchumani
    Fri 01 May 2015 11:53:25 AM UTCNoneAttached File-=>Added patch_avrlibc_1_05_2015.patch, #33856
    Fri 01 May 2015 11:50:51 AM UTCNoneAttached File-=>Added patch_avrlibc_1_05_2015.patch, #33855

    Back to the top


    Powered by Savane 3.1-cleanup1