Altera_Forum
Honored Contributor
21 years agoHOL filesystem does not seem to work.
Hi
I have tried to follow the exsample in the tutorial how to use a HOL filesystem(the one where you include your filesystem as a ZIP file). my code: # include <stdio.h> int main() { printf("Hello from Nios II!\n"); FILE *fileHandle = fopen("/mnt/rozipfs/MTABootloader", "r"); if(fileHandle != NULL) { printf("File is found in FS\n"); } else { printf("There was no file by that name\n"); fileHandle = fopen("/mnt/rozipfs/MTABootloader.srec", "r"); if(fileHandle != NULL) { printf(" 2: File has been found in FS\n"); } else { printf(" 2: There was no file by that name\n"); } } return 0; } Hope you can help. Regards Michael Ebbesen