Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

UART basic help needed

Altera_Forum
Honored Contributor II
885 Views

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
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
234 Views

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?
0 Kudos
Reply