Altera_Forum
Honored Contributor
20 years agoFile access in Cyclone Board
Hi,
I'm a newbie for FGPAs. Currently I have a Altera Cyclone II Development Board using Quartus 5.0. I want to write a simple program using NIOS IDE to read a file and write into another file. I tried to mount my project directory to the board through Host Based File System but it didn't work because it can only be used in Debug mode. Even in Debug Mode, the code just gets stuck at fopen(). I am hoping to find if there's a easy way to do this. There are also USB interfaces (USB key) and a SD card slot. If those can be used, it's also cool. I just want to know how to use file handling in NIOS. Thanks so much