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

 
 

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

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

Submitter:  None
Submitted:  Fri 01 May 2015 11:50:51 AM UTC
   
 
Category:  Header Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Header files
Status:  Fixed Assigned to:  pitchumani
Percent Complete:  0% Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  1.8.0
Fixed Release:  None

Mon 22 Jun 2015 06:10:50 AM UTC, comment #1: 
Pitchumani <pitchumani>
Group Member
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.)

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
  • -email is unavailable- added by pitchumani (Updated the item)
  • -email is unavailable- added by None (Submitted the item)
  •  

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-06-22 pitchumani StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2015-06-22 pitchumani SummaryIncorrect PORT_t and CRC_t definitions for ATxmega128A1U Incorrect PORT_t and CRC_t definitions for ATxmega64A1U and 128A1U
    2015-06-22 pitchumani StatusNone In Progress
        Assigned toNone pitchumani
    2015-05-01 None Attached File- Added patch_avrlibc_1_05_2015.patch, #33856
    2015-05-01 None Attached File- Added patch_avrlibc_1_05_2015.patch, #33855

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code