Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

BSP Editor Problem

Altera_Forum
Honored Contributor II
1,904 Views

I am trying to program my bootstrap code into on-chip memory and I am having serious problem with BSP editor. 

 

 

1. In Quartus I am setting cpu to: 

 

reset vector memory onchip-memory offset 0x00 

 

exception vector memory onchip-memory offset 0x20 

 

2. Generate SOPC 

 

3. Going to NIOS II - Eclipse platform and open BSP editor. 

 

4. BSP editor displays a message: 

 

[Error] altera_linkerx_generator: The section mapping ".entry" mapped device "cfi_flash" is not the same as the SOPC Design specified device "onchip_memory" 

 

 

 

How can I change in BSP Editor linker script to map ".entry" to "onchip_memory"? 

 

Thanks!
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
754 Views

If the following doesn't work... 

 

nios2-bsp-generate-files --settings=<settings file> --bsp-dir=<target bsp files directory>...you might have to generate a new BSP. You could also manually edit the settings.bsp file (XML format), but you'd have to know what you were doing. 

 

I've seen cases where some of the linker-related XML content in settings.bsp doesn't get properly updated when nios2-bsp-generate is run or causes it to crash. 

 

Good Luck! 

 

-slacker
0 Kudos
Reply