Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16597 Discussions

NIOS II Eclipse gets stuck in the crt0.S file

shIC
Beginner
1,837 Views

Hi,

I have built a very basic QSYS Project with the following components:

  1. NIOS II CPU
  2. 512 Bytes on-chip Memory connected to Data master
  3. 512 Bytes on-chip Memory connected to Instruction master
  4. System ID peripheral
  5. JTAG UART
  6. Interval Timer.

 

In the NIOS II Eclipse, I built the BSP and Application for "hello world". When I run the application, I see the following message in the console and the application stays stuck at this point.

 

Reading symbols from */*_nios.elf...done.

_start () at HAL/src/crt0.S:272

272 movui r2, NIOS2_DCACHE_SIZE -> this happens to be the Assembler code at address 0x0000000.

 

Could someone explain to me what the processor is looking for at this point and also how I could proceed forward?

 

Thanks in advance!

 

 

 

0 Kudos
1 Reply
Ahmed_H_Intel1
Employee
993 Views

Please follow this video and see what you are missing out?

https://www.youtube.com/watch?v=1a_cD6FBROA

 

BTW you can try one of the golden_top designs to start your design, It will help you to get an application ready without issues in seconds.

 

Reply