Thanks a lot Slacker!
This is what I found:
void alt_sys_init( void )
{
ALTERA_AVALON_JTAG_UART_INIT( JTAG_UART, jtag_uart );
ALTERA_AVALON_UART_INIT( UART, uart );
ALTERA_AVALON_CFI_FLASH_INIT( CFI_FLASH, cfi_flash );
}
So ALTERA_AVALON_UART_INIT( UART, uart ); is being called, I guess the function is defined in: "altera_avalon_uart.h" or am I completely wrong?
I did a quick search on my harddrive for altera_avalon_uart.h and this file is located in Quartus and not the Nios directory. Do the functions get its parameters from the system.h ?
Anyhow the questions above are quite unimportant. If I get it right, should I now try to locate the altera_avalon_uart.h and change the HAL-interrupt that I previously was interrupting with?
My goal is to have a program that gets information through UART on interrupt and stores the data from the UART in a vector.
Hope im not too confusing ;)
Over and out,
mr_embedded