Forum Discussion
Altera_Forum
Honored Contributor
16 years agofail to create output file - simple io problem
Any idea what is wrong with the code below? The code failed to create the sample.txt file. Runtime error. #include <stdio.h> #include <string.h> #include <stdlib.h> #include <unistd.h> ...
Altera_Forum
Honored Contributor
16 years agoI managed to store my file (.txt) using the zip filesystem and then read from it. Apart from that, I also need to write to the file.
My question is: 1. How to store a .txt file in flash after writing to it? I am not sure if my understanding on the file operations of nios ii is correct. Thanks for the help.