Forum Discussion
Altera_Forum
Honored Contributor
20 years agoNios fopen
Hi all, I was trying to use (fopen) & (fclose) to dump data to PC in Nios IDE. The file was never created. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> FILE *Fp; Fp = fopen("/dev/ext_...
Altera_Forum
Honored Contributor
20 years agoIt's included with the standard software examples shipped with the distribution. It started shipping in 5.0, as part of the ro_zipfs software example, and is a stand alone example in 5.1.
So, look in: <nios2_install_dir>/examples/software/host_filesystem or <nios2_install_dir>/examples/software/zip_filesystem Looking at the code should be enough for you, as it's pretty straightforward. Cheers, - slacker