avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bug #44977] Incorrect PORT_t and CRC_t definitions for A


From: anonymous
Subject: [avr-libc-dev] [bug #44977] Incorrect PORT_t and CRC_t definitions for ATxmega128A1U
Date: Fri, 01 May 2015 11:50:54 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36

URL:
  <http://savannah.nongnu.org/bugs/?44977>

                 Summary: Incorrect PORT_t and CRC_t definitions for
ATxmega128A1U
                 Project: AVR C Runtime Library
            Submitted by: None
            Submitted on: Fri 01 May 2015 11:50:51 UTC
                Category: Header
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Header files
                  Status: None
        Percent Complete: 0%
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.8.0
           Fixed Release: None

    _______________________________________________________

Details:

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.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 01 May 2015 11:50:51 UTC  Name: patch_avrlibc_1_05_2015.patch  Size:
862B   By: None
patch against r1.8.1 header iox128a1u.h using modified r1.8.0 header
<http://savannah.nongnu.org/bugs/download.php?file_id=33855>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?44977>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]