Forum Discussion

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

UART basic help needed

Hi guys,

I have implemented my second UART into a NIOS II core, the first one i assign as the STD in and out in the BSP editor (no probs there!), and I am using this one I communicate to my PC using printf and that works fine. However once I have added the new UART to the core, generated all relevant files etc and created my BSP and Application, i get errors in the drivers src section of the BSP, namely the init.c file and the read.c file are reporting symbol 'system_bus_width' could not be resolved and another 15 similar in total. Any ideas?

I have included the following files:

altera_avalon_uart_regs.h

altera_avalon_uart.h

Any help would be appreciated!

D

1 Reply

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

    Ok, I have got rid of most of the erros by changing all references to UART to UART1 in things like IORD_UART_ etc etc,

    but it stills leaves me with three errors relating to EWOULDBLOCK, ???

    Any ideas folks?