Forum Discussion
Altera_Forum
Honored Contributor
21 years ago --- Quote Start --- originally posted by wombat@Mar 31 2005, 05:49 AM these are the steps you need to take. please tell me if you need more details regarding any of them:
1) switch on your computer.
2) start up the ide.
3) create a new project, based on hello_world
4) switch the ide to the c/c++ projects view.
5) position your mouse over the project you just created, which is probably called hello_world_0 or something like that.
6) press the right hand mouse button.
7) from the menu which will appear select the item called "system library properties". a dialog box should appear titled "system library".
8) one of the fields in this dialog box is called "stdout". the dropdown next to this field lists all the hardware devices which can be used as stdout. choose the jtag uart or uart.
9) double click on the file "hello_world.c" in the projects view.
10) edit your file to include the text "printf("this text goes to stdout\n"); - printf always writes to stdout.
11) right clock on your project again and choose "run as hardware". --- Quote End --- 1) 2) 4) I didn't understand fully! What do you mean? IDE? Switch to PC? Thanks