Forum Discussion
Altera_Forum
Honored Contributor
16 years agoProblem about the NIOS II IDE c code
I don't know, dose anyone have the same problem with me?? MY problem is this... I want to printf the data from my NIOS II IDE to the *.txt file I try to use the "fopen" like this... --------...
Altera_Forum
Honored Contributor
16 years ago --- Quote Start --- Choose a writable mount point (user folder), folder must exist, and run your Application
FILE *fpl;
fpl=fopen("qq.txt","w");
fprintf(fpl,"111 %d\n",velocity);
fclose(fpl);
File qq.txt should reside there. --- Quote End --- Thank you. I have to try this code, but it seill doesn't work. May I ask some question, Should I have to set up anything in NIOS II or file?? MY verisonal is NIOS II 9.0v, and I try that code directly. I write in my c file of NIOS II, But it doesn't work. and I try to Build the *.txt file first. It sill doesn't work . Could you help me other advice. Thanks