- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
#include <stdio.h>
int main() { printf("Hello from Nios II!\n"); return 0; } nios2-terminal: connected to hardware target using UART on /dev/com1 at 115200 b aud nios2-terminal: (Use the IDE stop button or Ctrl-C to terminate) then output something that i can not understand. i use on chip ram and romLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In this case, the standard output goes on the UART... I suppose you are using the standard example from Altera... is that right?
the terminal is simply waiting for some data that does not arrive... Just a few questions: - did you connected a serial cable from the UART of the eval. board to your host PC? - are you debugging or running your application? if yopu are debugging it, the nios II IDE stops just before the printf... so no output will arrive until you let the code run... bye PJ- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
U can use it through software handbook for referrence
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