Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Hello world not working in Nios II

Status
Not open for further replies.

lgeorge123

Full Member level 2
Joined
Jun 13, 2004
Messages
130
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Location
Hong Kong
Activity points
1,403
I have a Altera EP2C8Q208C8 FPGA and 256MB SDRAM ,50MHz Oscillator, EPC4S Hardware , in order to test the hardware Hello world in NIOS II is being tested. In Quartus 10.1, cpu , SDRAM , JTAG UART , epcs controller ansd some PIO are used. Auto assign base address and Auto assign IRQ are done, SOPC are built successfully . All IC pin connection are done by Pin Planner , and the Quartus are compiled successfully. In Nios II IDE workspace are chosen in project directory and Hello world are selected , under project name system library , stdout and others are selected jtag_uart , Program memory(text) , read only data memory and others SDRAM are used. Under project name right click mouse and select run as NIOS II hardware and let the program runs. In Console the following words are seen but without the words "Hello from Nios II!".

nios2-terminal: connected to hardware target using JTAG UART on cable
nios2-terminal: "USB-Blaster [USB-0]", device 1, instance 0
nios2-terminal: (Use the IDE stop button or Ctrl-C to terminate)

So is there something wrong with my hardware or software problems ?????
 

One advice, try with the simplest possible system first, then upgrade with more and more components:
- start with only uart and INTERNAL memory
- add sdram controller,
- ...

Working this way, it's easier to detect what components cause the trouble.

Also, when adding more and more stuff to the system, copy the project to a new directory first, so it is easier to go back if ncry.

Stefaan
 

Fully agree.

Strip down your design to the bare minimal. compile an load your FPGA design; compile and load your C-code, and run.

Afterwards, add components one by one. Try to understand what is happening inside the FPGA.

Good luck,
Luc
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top