- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear all,
Good day, I hope you are doing well. I am trying to add an SRAM controller to my project, but I received the following error in Nios II Eclipse:
INFO: Tcl message: "STDIO character device is jtag_uart_0" INFO: Tcl message: "System timer device is sys_timer" SEVERE: CPU "nios2_gen2_0" has no memories connected to its Avalon host(s) WARNING: Tcl script "bsp-set-defaults.tcl " error: CPU "nios2_gen2_0" has no memories connected to its Avalon host(s) SEVERE: [Error] altera_hal_linkerx_generator: Required linker section mappings do not exist: "[.entry, .exceptions, .rodata, .rwdata, .text, .bss, .heap, .stack]" SEVERE: [Error] altera_hal_linkerx_generator: Required linker section mappings do not exist: "[.entry, .exceptions, .rodata, .rwdata, .text, .bss, .heap, .stack]" SEVERE: nios2-bsp-create-settings failed. nios2-bsp: nios2-bsp-create-settings.exe failed nios2-bsp hal . ../../led.sopcinfo --cpu-name nios2_gen2_0 failed
Please note that I have followed the steps below:
- IP catalog -> University program -> memory -> SRAM controller.
SRAM: sram_avalon_sram_slave is connected to nios_cpu: data_master and instruction_master .
nios_cpu -> reset_vector_memory and Exception_vector_memory is to sram.avalon_sram_slave.
The base address from SRAM is 0x0000_0000.
I have created the top entity module in verilog and all pins are connected.
The generated SOPCINFO file for the nios_cpu module has the the above info :
<assignment> <name>embeddedsw.configuration.exceptionSlave</name> <value>sram.avalon_sram_slave</value> </assignment> <assignment> <name>embeddedsw.configuration.resetOffset</name> <value>0</value> </assignment> <assignment> <name>embeddedsw.configuration.resetSlave</name> <value>sram.avalon_sram_slave</value> </assignment>
Note:
Board Altera DE2-115.
Quartus version 22.1.
No errors if i try other projects without SRAM.
I would appreciate any advice on this issue.
Thank you.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How have you set up the BSP, especially the linker script that defines the memories to use for the processor?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
There is a previous user that meet the same error and was solve by installing a wsl in the windows system.
Have you done that already?
If not you could follow the steps below on the installation.
Regards
Jingyang, Teh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Any update on this case?
Regards
Jingyang, Teh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Since there are no feedback for this thread, I shall set this thread to close pending. Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.
If you happened to close this thread you might receive a survey. If you think you would rank your support experience less than 4 out of 10, please allow me to correct it before closing or if the problem can’t be corrected, please let me know the cause so that I may improve your future service experience.
Regards
Jingyang, Teh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I'm getting the same error when I'm using onchip_memory_2.0.
I just installed wsl, but it doesn' work.
When I open Eclipse this error is shown:
INFO: Finished loading drivers from ensemble report.
INFO: Tcl message: "STDIO character device is jtag_uart_0"
INFO: Tcl message: "No system timer device"
INFO: Tcl message: "Default instruction linker sections mapped to onchip_memory2_0"
INFO: Tcl message: "Default data linker sections mapped to "
SEVERE: Section ".rodata" has no memory region mapping.
WARNING: Tcl script "bsp-set-defaults.tcl " error: Section ".rodata" has no memory region mapping.
SEVERE: [Error] altera_hal_linkerx_generator: Required linker section mappings do not exist: "[.rodata, .rwdata, .bss, .heap, .stack]"
SEVERE: [Error] altera_hal_linkerx_generator: Required linker section mappings do not exist: "[.rodata, .rwdata, .bss, .heap, .stack]"
SEVERE: nios2-bsp-create-settings failed.
nios2-bsp: nios2-bsp-create-settings failed
nios2-bsp hal . ../../nios_test.sopcinfo --cpu-name nios2_gen2_0 failed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page