AVR C Runtime Library - Bugs: bug #12865, Global Interrupts Explicitly...
You are not allowed to post comments on this tracker with your current authentication level.
bug #12865: Global Interrupts Explicitly Enabled by SIGNAL Macro
Submitter: | None | ||
Submitted: | Thu 28 Apr 2005 07:38:08 PM UTC | ||
Category: | Library | Severity: | 4 - Important |
Priority: | 9 - Immediate | Item Group: | None |
Status: | Invalid | Assigned to: | None |
Percent Complete: | 0% | Originator Email: | -email is unavailable- |
Open/Closed: | Closed | Release: | None |
Fixed Release: | None |
Jump to the original submission
Fri 29 Apr 2005 10:12:39 PM UTC, comment #6: |
Anonymous |
Fri 29 Apr 2005 10:04:24 PM UTC, comment #5: Sorry, but the Makefile is not the one that shows the problem. Can you attach your source code file that shows the problem?
|
Eric Weddington <arcanum> |
Fri 29 Apr 2005 09:33:06 PM UTC, comment #4: I have upgraded to WinAVR 20050214 and the behavior is
|
Anonymous |
Thu 28 Apr 2005 09:23:36 PM UTC, comment #3: This is known to work with ATmega128 and avr-libc 1.0.4. I've used it successfully myself.
|
Eric Weddington <arcanum> |
Thu 28 Apr 2005 09:11:07 PM UTC, comment #2: -The device that you are using
|
Anonymous |
Thu 28 Apr 2005 07:47:46 PM UTC, comment #1: Please provide:
|
Eric Weddington <arcanum> |
Thu 28 Apr 2005 07:38:08 PM UTC, original submission:
Unlike the INTERRUPT macro, the SIGNAL macro should not explicitly enable global interrupts (sei). Here is an example of the failure.
|
Anonymous |
Depends on the following items: None found
Items that depend on this one: None found
Follow 6 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2005-04-29 | arcanum | Status | None | Invalid | |
Open/Closed | Open | Closed | |||
2005-04-29 | None | Attached File | - | Added makefile, #2453 | |
2005-04-28 | arcanum | Severity | 3 - Normal | 4 - Important | |
Priority | 5 - Normal | 9 - Immediate | |||
2005-04-28 | None | Carbon-Copy | - | Added nicad2 --AT-- yahoo --DOT-- com |
Powered by Savane 3.13-caa5.
Corresponding source code
I found the problem! Though I changed the macro usage from INTERRUPT to SIGNAL within the .c file, I neglected to change it in the .h file. It might be helpful to display some warning for this case. Thanks for your help.
William