Altera_Forum
Honored Contributor
20 years agoproblems with iCACHE!
Hi!
I've been working with the nios/e , and I have a program now working and tested. It uses threads (eCos) and interrupts (three). the fact is that if ONLY change the Nios2/e to Nios/s, thus having instruction cache, it hangs. I've initialized the instruction cache, as it indicates in the SW development guide, and I think I don't have to do anything else, because my program is static, doesn't change. The only thing that I don't control is the fact that the program is kept in flash until it executes, and then it copies itself to RAM. It is done automatically by a self-copier, so I don't know if it's flushing the instruction cache (if it's needed) or what. any idea about what can be happening? I thought the iCACHE shouldn't give so many problems, isn't it? aLeX