Hello Laser,
AVR Mega series processors have interrupt entry table
and entries in the table will have to be proper for
the interrupt service routine to work. All unused
entries are filled with the reset address by GCC. This
is the problem in your case. Please check.
Nayani P
--- laser lei <address@hidden> wrote:
Dear All,
I am an new engineer in GCC_AVR.
I now use the WIN_AVR.I write a simple program,
only init I/O and UART receive(Interrupt).But when
the interrupt come,it first enter main entry,like
reset,then run to SEI,enter UART receive interrupt
I don't know why it happen.
Hope your help!
Laser
__________________________________________________
¸Ï¿ì×¢²áÑÅ»¢³¬´óÈÝÁ¿Ãâ·ÑÓÊÏä?
http://cn.mail.yahoo.com>
_______________________________________________
AVR-GCC-list mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
__________________________________
Discover Yahoo!
Get on-the-go sports scores, stock quotes, news and more. Check it out!
http://discover.yahoo.com/mobile.html
_______________________________________________
AVR-GCC-list mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list