Forum Discussion
Altera_Forum
Honored Contributor
12 years agoNios 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...
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- Just use: dpr_interface = (void *)(0x80000000 + DPRAM_BUFFER_BASE); For non-mmu BSP alt_remap_uncached() should be based on that# define. There is no point having real function calls for a lot of the 'BSP' stuff. David --- Quote End --- Of course, I refuged to
dpr_interface = (tDPRInterface*) ((DPRAM_BUFFER_BASE) | 0x80000000); --- Quote Start --- This sounds like something basic is wrong. What linker error are you getting? alt_remap_uncached() is a pretty simple function in the BSP HAL/src/alt_remap_uncached.c file. --- Quote End --- I don't have the literal output at hand, but the linker-error is clearly stating, that the alt_remap_uncached function is considered invalid with the NIOS Gen2.