Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

Nios II Building Error

I got this error when building a Nios II project. Please help me fix it. :)


alt_sys_init.c:(.text+0x8): warning: Error: Interrupt not connected for JTAG_UART. You have selected the interrupt driven version of the ALTERA Avalon JTAG UART driver, but the interrupt is not connected for this device. You can select a polled mode driver by checking the 'small driver' option in the HAL configuration window, or by using the -DALTERA_AVALON_JTAG_UART_SMALL preprocessor flag.
alt_sys_init.c:(.text+0x8): undefined reference to `__alt_invalid'
collect2: ld returned 1 exit status
make: ***  Error 1

21 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    If the software crashes when you test the memory, double check the BSP settings. You must be sure that no part of the software (text, data, bss, stack, heap) are in the memory you are testing, or the software will crash.