From: SourceForge.net <no...@so...> - 2008-07-07 12:27:49
|
Bugs item #2012448, was opened at 2008-07-07 13:27 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=520074&aid=2012448&group_id=68108 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Andrey Shved (comerer) Assigned to: Nobody/Anonymous (nobody) Summary: ATmega6450 USART Interrupts Initial Comment: Hello! Please correct the ATmega6450 interrupt vectors. They are described in the datasheet as following: 14 0x001A USART, RX USART, Rx Complete 15 0x001C USART, UDRE USART Data Register Empty 16 0x001E USART, TX USART, Tx Complete But in the iom6450.h and iom3250.h they appears to be: /* USART, Rx Complete */ #define USART_RX_vect _VECTOR(13) #define SIG_UART_RECV _VECTOR(13) /* USART Data register Empty */ #define USART_UDRE_vect _VECTOR(14) #define SIG_UART_DATA _VECTOR(14) /* USART0, Tx Complete */ #define USART0_TX_vect _VECTOR(15) #define SIG_UART_TRANS _VECTOR(15) And in the iom645.h and iom325.h: /* USART0, Rx Complete */ #define USART0_RX_vect _VECTOR(13) #define SIG_UART_RECV _VECTOR(13) /* USART0 Data register Empty */ #define USART0_UDRE_vect _VECTOR(14) #define SIG_UART_DATA _VECTOR(14) /* USART0, Tx Complete */ #define USART0_TX_vect _VECTOR(15) #define SIG_UART_TRANS _VECTOR(15) As far as I understand they should be as following: /* USART, Rx Complete */ #define USART_RX_vect _VECTOR(13) #define SIG_UART_RECV _VECTOR(13) /* USART Data register Empty */ #define USART_UDRE_vect _VECTOR(14) #define SIG_UART_DATA _VECTOR(14) /* USART, Tx Complete */ #define USART_TX_vect _VECTOR(15) #define SIG_UART_TRANS _VECTOR(15) Thank you! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=520074&aid=2012448&group_id=68108 |