Forum Discussion
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by ahmedazzam@Jun 17 2005, 01:32 PM 1)how does the nios actually opens the file on the pc(i mean does [fopen] works in this case or what?)
2) will this need an operating system or i can do without it? --- Quote End --- Yes, nios uses fopen. You fopen a mount-point that you defined in the Host file system setup (right click your system library, go to properties --> Software Components --> Altera Host Based File System to set it all up). No OS is required. ...this is a bit obscure but there is an example application. Look at the zip file system example design in Nios II 5.0. In addition to reading the flash file system, it reads and writes a file using the host file system. This should get you on your feet with this feature.