Forum Discussion
Altera_Forum
Honored Contributor
21 years agoHow write a file to harddisk by nios IDE
I want to write some data to my PC harddisk or save a file to hard disk by NiosII£¬so I write a test program in IDE, but the "test" file cannot be found. my test program # include "stdio.h" ...
Altera_Forum
Honored Contributor
21 years agopal,
If you're using >=5.0, then take a look at the zipfs example. It's got some hostfs filesystem stuff. That might be what you're looking for. Other than that, you could also just dump data out your jtag_uart or uart and use 'nios2-terminal' to capture this data, on the PC, like so: nios2-terminal > <filename> Cheers, - slacker