Forum Discussion
Altera_Forum
Honored Contributor
17 years agoRAM error?
Hello champs, I am running two applications. And each one of them calls the other. It all seems fine until on the 13th loop or so it does this. I'm sorry if the code post is too long, but I gue...
Altera_Forum
Honored Contributor
17 years agoI suppose you need to rethink the general structure of the project and use either a single (i.e. threaded) program or use two programs that keep running (daemons) and communicate by stuff like pipes or shared memory.
Starting programs in the current (nommu) toolchain costs a lot of CPU time and memory. The upcoming MMU-enabled ggc4 toolchain might support XIP and allow for fast program start and much less memory overhead. But even then, I feel that starting programs in a very fast cycle is not a good idea. -Michael