bugAVR C Runtime Library - Bugs: bug #45539, iom32u4.h defines reserved IO...

 
 

bug #45539: iom32u4.h defines reserved IO address (TIMSK2 (0x70), TIMSK5 (0x73) etc)

Submitted by:  Matthijs Kooijman <matthijs>
Submitted on:  Mon 13 Jul 2015 10:24:36 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedPercent Complete: 0%
Assigned to: Pitchumani <pitchumani>Open/Closed: Closed
Release: AnyFixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 22 Jul 2015 08:51:05 AM UTC, comment #3:

Awesome, thanks!

Matthijs Kooijman <matthijs>
Wed 22 Jul 2015 05:34:47 AM UTC, comment #2:

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

Pitchumani <pitchumani>
Project MemberIn charge of this item.
Tue 21 Jul 2015 09:29:05 AM UTC, comment #1:

iom32u4.h incorrectly defines following IO addresses:

PCMSK1 (0x6C) and PCMSK2 (0x6D) are reserved
TIMSK2 (0x70) and TIMSK5 (0x73) are reserved
Registers from 0x9E to 0xB7 are reserved
Registers from 0xD5 to 0xD6 are reserved
Registers from 0xDB to 0xDF are reserved
Register 0xE7 is reserved
Registers from 0xF5 to 0xF9 are reserved

Reference: Datasheet (http://www.atmel.com/devices/atmega32u4.aspx)

Pitchumani <pitchumani>
Project MemberIn charge of this item.
Mon 13 Jul 2015 10:24:36 AM UTC, original submission:

The 32u4 does not have a timer2 or timer5, but the include file does define TIMSK2 and TIMSK5 (I double-checked the register map, these registers really don't exist). It seems that the other timer-related registers for these timers are not defined as expected.

This bug still exists in trunk (checked r2478).

Matthijs Kooijman <matthijs>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #34478:  atmega32u4-remove-incorrect-defines.patch added by pitchumani (4KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pitchumani (Posted a comment)
  • -unavailable- added by matthijs (Submitted the item)
  •  

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

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 22 Jul 2015 05:34:47 AM UTCpitchumaniStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
    Tue 21 Jul 2015 10:13:58 AM UTCpitchumaniAttached File-=>Added atmega32u4-remove-incorrect-defines.patch, #34478
    Tue 21 Jul 2015 09:29:05 AM UTCpitchumaniStatusNone=>In Progress
      Assigned toNone=>pitchumani
      Summaryiom32u4.h defines non-existing TIMSK2 and TIMSK5=>iom32u4.h defines reserved IO address (TIMSK2 (0x70), TIMSK5 (0x73) etc)

    Back to the top


    Powered by Savane 3.1-cleanup1