Forum Discussion
Altera_Forum
Honored Contributor
20 years agohow to use hostfs in IDE
how to use the hostfs(file system) that altera provided .
i want to read data from file in my computer when it evoke the alt_hostfs_open() function and execute where (__asm__ volidata) ,it can not continue. who can use it? thanks4 Replies
- Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by mjl-0708@May 16 2006, 10:27 PM how to use the hostfs(file system) that altera provided .i want to read data from file in my computer
when it evoke the alt_hostfs_open() function and execute where
(__asm__ volidata) ,it can not continue.
who can use it?
thanks
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15413)
--- quote end ---
--- Quote End --- the hostfs is added as software component mount:/mnt/host but i can't open file when using fp=fopen(/mnt/host/test","r") fp always returns 0 why?
- Altera_Forum
Honored Contributor
Why don't you try the host filing system example, shipped with the 5.1 kit? It seem to work, just fine, here, and contains useful comments about how/why it works...
Best Regards, - slacker - Altera_Forum
Honored Contributor
thank you
i try - Altera_Forum
Honored Contributor
Hi
I record a tutorial on how to mount text file using NIOS II Processor and hostfs feature which enables us to mount files (such as text file) and perform read and write operation on that file http://youtu.be/kbicxwtfbiy (http://youtu.be/kbicxwtfbiy)