- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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? thanksLink Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- 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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you
i try- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page