Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
899 Views

nios appl programs

Hi 

 

Iam trying to control the UART , PIO(led's and seven seg disp) ,etc through c-application programs in the nios IDE. I have included the "excalibur.h" include file which contains inf about memory map of the peripherals , default functions ,etc. Now when iam trying to send any character using the function "nr_uart_txchar(int c, np_uart *)" it's showing an error as "undefined reference to nr_uart_txchar()" .This is the problem even with other functions like: "nr_delay()", "nr_uart_rxchar()",etc. None of the default functions are getting executed. But iam able to use the data structures like np_pio_data,etc and iam also able to set the direction and also interrupt priorities,etc .The problem comes only with the functions. 

 

 

Can someone help me out of this problem??????
0 Kudos
2 Replies
Highlighted
Valued Contributor III
7 Views

Re: nios appl programs

Your problem is that old Nios software does not work with the IDE. You have two choices: 

 

1. Migrate your software to the new interface - recommended 

2. There is a legacy mode included which does things the same way as Nios 1, however the same way means no IDE 

 

This is all explaine in application note an350.pdf
0 Kudos
Highlighted
Valued Contributor III
7 Views

Re: nios appl programs

Thank You the problem is solved

0 Kudos