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: jethro.donald...@gmail.com
             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/


_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to