AVR C Runtime Library - Bugs: bug #33238, Wrong _VECTORS_SIZE for mega8U2 et...
You are not allowed to post comments on this tracker with your current authentication level.
bug #33238: Wrong _VECTORS_SIZE for mega8U2 et al
Submitter: | Don Kinzer <dkinzer> | ||
Submitted: | Thu 05 May 2011 03:52:11 PM UTC | ||
Category: | Header | Severity: | 3 - Normal |
Priority: | 5 - Normal | Item Group: | Header files |
Status: | Fixed | Assigned to: | arcanum |
Percent Complete: | 100% | Open/Closed: | Closed |
Release: | 1.7.1 | Fixed Release: | 1.7.2 |
Mon 09 May 2011 10:27:05 PM UTC, comment #5: |
Eric Weddington <arcanum> |
Mon 09 May 2011 05:47:08 PM UTC, comment #4: In my original post, I mentioned that these devices have 28 interrupt vectors (not including the reset vector) and I see that the include files have been modified so that _VECTORS_SIZE is 28 4. After reviewing include files for other devices, I believe that the _VECTORS_SIZE value should include the reset vector and should, therefore, have the value 29 4. My apologies if I contributed to this confusion.
|
Don Kinzer <dkinzer> |
Thu 05 May 2011 07:27:33 PM UTC, comment #3: Oops, you are right. The bugfix I was referring to was
|
Joerg Wunsch <joerg_wunsch> |
Thu 05 May 2011 04:30:17 PM UTC, comment #2: I chose the wrong avr-libc version number. The files iom8u2.h, iom16u2.h and iom32u2.h in the WinAVR 20100110 release contain this line:
|
Don Kinzer <dkinzer> |
Thu 05 May 2011 03:59:15 PM UTC, comment #1: This bug has been fixed by 2011-02-09, and the fix is part
|
Joerg Wunsch <joerg_wunsch> |
Thu 05 May 2011 03:52:11 PM UTC, original submission:
The mega8U2, mega16U2 and mega32U2 all have 28 interrupt vectors (not including the reset vector) but the files iom8u2.h, iom16u2.h and iom32u2.h all have _VECTORS_SIZE set to 38. Moreover, crtm8u2.o, crtm16u2.o and crtm32u2.o are all built using this incorrect value resulting in an over-sized vector table. The effect of this is only wasted Flash space, of course.
|
Don Kinzer <dkinzer> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Follow 11 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2011-05-09 | arcanum | Status | Confirmed | Fixed | |
Percent Complete | 0% | 100% | |||
Assigned to | None | arcanum | |||
Open/Closed | Open | Closed | |||
Fixed Release | None | 1.7.2 | |||
2011-05-05 | joerg_wunsch | Category | None | Header | |
Item Group | libc code | Header files | |||
2011-05-05 | joerg_wunsch | Status | Fixed | Confirmed | |
Fixed Release | 1.7.1 | None | |||
2011-05-05 | joerg_wunsch | Status | None | Fixed | |
Fixed Release | None | 1.7.1 |
Powered by Savane 3.13-caa5.
Corresponding source code
Oops. My fault too for not looking at your comment close enough. Now fixed with the value of 29.