Forum Discussion
Altera_Forum
Honored Contributor
16 years agoCannot write on-chip memory with fread.
I use DE2-70 to develop my project. My uClinux is running in SDRAM, and I want to copy a file to on-chip memory, but there is only 0 in on-chip memory, the fread() function didn't work. can a...
Altera_Forum
Honored Contributor
16 years agoBut I can use fwrite() to move data from on-chip mem to a file directly.
Why fread() can't copy a file to on-chip mem? I tried kernel function like read(), failed too.