Forum Discussion
Altera_Forum
Honored Contributor
16 years agoActive Host File System from NIOS II ECLIPSE
Hi, I need help with reading/writing files, from the NIOS II target with a PC file. My IDE is ECLIPSE, so: I don't have the project->properties->Associated system Library->System Library ...
Altera_Forum
Honored Contributor
16 years agoHi, jberman!
To read your files from ext. Flash memory for NIOS II 9.1: BSP Editor -> Software packages -> activate altera_ro_zipfs. -ro_zipfs_base - base of your Flash memory. I haven't found how to create "zip file" with my original files to load it to Flash memory . Write this "zip file" to Flash using Flash Programmer. And use fp = fopen ("/mnt/rozipfs/file1.txt", "r"); and so on If you know how to create "zip file", to load it to Flash memory, share with me. Manual doesn't tell it clearly. altera.com/literature/hb/nios2/n2sw_nii52012.pdf