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

NiosII, No ELF file path has been selected

Altera_Forum
Honored Contributor II
3,926 Views

Hello everyone , 

 

I written a PID controller in NiosII, hello_world_small,yesterday, and everyting was OK. 

I change some codes just now, and I get message : 

 

Errors(3 items) 

address 0xbfdc of PID1.elf section,'bss' is not withinregion'onchip_memory' 

address 0xbdfc of PID1.elf section ,'onchip_memory' is not within region'onchip_memory' 

make:***[PID1.elf]Error 1 

 

 

And I check the Run configurations,the message is : 

 

No ELF file path has been selected. 

 

What's going on?:( How to generate the ELF file?:confused:
0 Kudos
9 Replies
Altera_Forum
Honored Contributor II
989 Views

Could you please give a Screenshot of your QSYS-System and from the configuration of the NIOS inside the QSYS-System? 

I think there could be the Problem. 

If not, please send a Screenshot of the BSP-Editor (Linker-Script-Tab). 

 

If your Project is error free, then an elf-File will be created and could be seen under Run Configurations.
Altera_Forum
Honored Contributor II
989 Views
Altera_Forum
Honored Contributor II
989 Views

Can you pleas also attach the configuration of the NIOS to see the reset and exception vectors?

Altera_Forum
Honored Contributor II
989 Views
Altera_Forum
Honored Contributor II
989 Views

I was failed to upload the screenshot. 

 

Reset Vector 

Reset vector memory: onchip_memory.s1 

Reset vector offset: 0x00000000 

Reset vector: 0x00004000 

 

Exception Vector 

Exception vector memory: onchip_memory.s1 

Exception vector offset: 0x00000020 

Exception vector: 0x00004020
Altera_Forum
Honored Contributor II
989 Views

Seems to be everything okay. 

Could you please try make a completely new SW-Project. Sometimes the NIOS EDS is hanging on some old settings...
Altera_Forum
Honored Contributor II
989 Views

It seems that the only solution is to make a new project

Altera_Forum
Honored Contributor II
989 Views

so it is solved with a new SW-Project?

Altera_Forum
Honored Contributor II
989 Views

New NiosII application and BSP from template.

Reply