Manjunath Chandrashekar

Clarification for MCF5282LITE EVB include files and ISR

Discussion created by Manjunath Chandrashekar on Apr 25, 2006
Latest reply on Apr 27, 2006 by Michael Norman
Hello Trevor,
Thank you for the information and i need few more clarifications from you,
i am currently using MCF5282LITE EVB board and unable to find the necessary
include files from Freescale(as stated by you).
 
I configured the ICR and IMR as suggested by you and
I am calling the below function in my application
setup_handler(64 + 13);//For UART0 
 
but the interrupt is not getting invoked, i don't know what's wrong with my code.
 
 
void setup_handler(unsigned short vec_index)
{
 unsigned long **autovector = (unsigned long **)0x20000000;  // The Vector Base Address 
 *(autovector + vec_index)  = (unsigned long *) &SCI1_tx_ISR; 
}
 
Actually i am using vector.s, int_handlers.c files for handling interrupts,
 
 
 
can you guide me how to go about it,
if i get those include files to be used, it would be helpful.
 
Regards,
Chandrashekar

Outcomes