WARNING: Tcl error: "ERROR: 'altera_vic_driver': Linker section '.text' located in a not writeable memory device (onchip_flash_0_data). Please change it to a writeable memory device."
Hi ,
I am booting from ON -chip flash memory using options 1a from below options given booting process manual :
"In the Nios II Processor parameter editor, set the reset vector memory and exception vector memory based on the boot options below:
Boot Option : Reset vector memory: Exception vector memory Option 1a Altera On-chip Flash OCRAM/ External RAM Option 1b Altera On-chip Flash Altera On-chip Flash Option 2 Altera On-chip Flash OCRAM/ External RAM
"
But whenever I am adding Vectored interrupt controller in my designs then i am gettting an error in NIOS BSP editor and I am not able to generate BSP and it showing me error as
WARNING: Tcl error: "ERROR: 'altera_vic_driver': Linker section '.text' located in a not writeable memory device (onchip_flash_0_data). Please change it to writeable memory device."
As I am putting ".text" section in ON-chip flash and loading from there , so this error is coming as mentioned in above lines. And if i am changing to ON-chip memory the code size is not fitting in ON-chip memory.The .bss and .rwdata, .rodata is getting overflowed.
I am not getting how to resolve this issue or what settings i need to do in BSP so that i can generate BSP with VIC