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_flash/dump.txt", "w"); if (Fp == NULL) >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Nios II software developer's handbook shows, there is not concept of current directory. I should use mounted device and specific file system. Don't quite understand the "Read-Only Zip Filing system" for the flash memory. (Chapter 12 of Nios II Software Developer's Handbook) Simple and straight question. Is it possible to output something from FPGA to a .txt file on PC filing system? Please help!!!