- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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??????Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank You the problem is solved
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page