Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Honored Contributor I
3,063 Views

NiosII, No ELF file path has been selected

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
Highlighted
Honored Contributor I
126 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.
0 Kudos
Highlighted
Honored Contributor I
126 Views

0 Kudos
Highlighted
Honored Contributor I
126 Views

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

0 Kudos
Highlighted
Honored Contributor I
126 Views

0 Kudos
Highlighted
Honored Contributor I
126 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
0 Kudos
Highlighted
Honored Contributor I
126 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...
0 Kudos
Highlighted
Honored Contributor I
126 Views

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

0 Kudos
Highlighted
Honored Contributor I
126 Views

so it is solved with a new SW-Project?

0 Kudos
Highlighted
Honored Contributor I
126 Views

New NiosII application and BSP from template.

0 Kudos