Forum Discussion
Altera_Forum
Honored Contributor
21 years agoAbout host file system
I used the altera host file system to open a file .mp3,, is this a legal operation or not? if it is legal then why [[FILE *hostfile =fopen ("/mnt/host/song.mp3","rb");]] return NULL!! can any...
Altera_Forum
Honored Contributor
15 years agoYes ,it works only in debug mode.
Some codes as following: fread(buffer,1, 1, fp_bin); //read IOWR(MEMORY_BASE,0,buffer[0]); //write