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 agoYou cannot handle interrupt in user space. So you might have to do it in kernel space, like using a driver or syscall.
Beside, you should add return value check in your program and test it again before doing anything else. - Hippo