Forum Discussion
Altera_Forum
Honored Contributor
14 years agoNios II - Data cache problem
Hi all, I'm using a Cyclone III DSP Kit (DK-DSP-3C120N) and uClinux. Some days ago I realized a working design which includes a Nios II processor characterized by only an instruction cache. Wi...
Altera_Forum
Honored Contributor
14 years agoHi dsl,
I wrote a char driver to manage communications with my peripheral. I've followed your previous advice, but with no success, I can't find flushda instruction. I found in linux/include/asm-nios2/cacheflush.h some functions and I tried to use flush_cache_all() within my driver at the end of the write function but it blocks when my user program calls write() for the first time.