Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

Nios II Gen2 core error

I just migrated my nios II to Nios II Gen2 core. I got a error as below. i tried to set instruction and data cache size to none. still give same error.

/HAL/src/alt_remap_uncached.c:52: warning: alt_remap_uncached() is not available because Nios II Gen2 cores with data caches don't support mixing cacheable and uncacheable data on the same line.

11 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Mixed mappings didn't work before either.

    If you search the forum you'll find that the caller had to ensure the buffer was cache line aligned, invalidate any cache lines, and to ensure that the cached address wasn't accessed.

    Exactly the same restrictions apply with the nios2.