Forum Discussion
Altera_Forum
Honored Contributor
14 years agoread a text file
Hi. I'm wondering if is possible to read contents from a text file in a NIOS2 software, either downloading that file to a SDRAM, or reading it from the hard disk via JTAG. is that possible...
Altera_Forum
Honored Contributor
14 years agoAnother alternative is to use host file system (HostFS). You have to run the debugger for it to work. It allows you to read/write/modify files located on your host machine from your application code running on Nios II. Search for "host file system" on altera.com or alterawiki.com (I forget where it lives now) to learn more.