Forum Discussion
Altera_Forum
Honored Contributor
20 years agoproblems with Flash by redboot on eCos with NIOS2
Hello, I tryed to make reboot working for StratixII Board with NIOSII Processor. Redboot permanently failed on detecting the flash device correctly. As it turns out, the flash detection ro...
Altera_Forum
Honored Contributor
20 years agoHi Marek,
> Does anyone knows a solution to tell the compiler to automatically convert volatile > pointer memory instructions to correct ldio/stio instructions? There is none :-( -- the volatile keyword has nothing to do with cache. It _may_ however, affect optimizations with respect to memory access (cache or no-cache). > Any solutions? The quick 'n dirty is to use cache bypass (set bit 31 of the address). The "purist" way is a rewrite. Unfortunately, you may find a rewrite is like peeling an onion -- it seems like there's always another module that needs a re-write. Regards, --Scott