[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [bug #29964] Possible Incorrect Interrupt Vector Addresse
From: |
Jose Torres |
Subject: |
[avr-libc-dev] [bug #29964] Possible Incorrect Interrupt Vector Addresses for mega168 |
Date: |
Wed, 26 May 2010 04:36:08 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 |
Follow-up Comment #2, bug #29964 (project avr-libc):
Hi Joerg,
For the mega88 the following are a sampling of interrupt vector addresses:
0x000 rjmp RESET ; Reset Handler
0x001 rjmp EXT_INT0 ; IRQ0 Handler
0x002 rjmp EXT_INT1 ; IRQ1 Handler
0x003 rjmp PCINT0 ; PCINT0 Handler
0x004 rjmp PCINT1 ; PCINT1 Handler
0x005 rjmp PCINT2 ; PCINT2 Handler
0x006 rjmp WDT ; Watchdog Timer Handler
0x007 rjmp TIM2_COMPA ; Timer2 Compare A Handler
0X008 rjmp TIM2_COMPB ; Timer2 Compare B Handler
This is in line with what iomx8.h states.
I am unsure how _VECTOR() computes the addresses but they just don't seem to
line up for the mega168.
Are the addresses properly computed because of the following?
#if defined (__AVR_ATmega168__)
# define _VECTORS_SIZE 104
#else
# define _VECTORS_SIZE 52
#endif
#endif /* _AVR_IOM8_H_ */
Regards,
Jose
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?29964>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/