Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - NIOS II Application startup issues

 
Thread Tools Search this Thread
Old 01-23-2007, 07:54 PM   #1
Default NIOS II Application startup issues


Hello,

I am having a very strange problem with NIOS II not running a specific
application.


We are using DDR memory running at 100MHz on a Cyclone II FPGA. The
memory was setup in SOPC builder.
The clock looks good going to memory on the PCB. We have tested memory
and we have seen an issue but yet we can see out to 128Megs (on all
boards)

The application downloads to DDR and verifies.
The application seems to start to run but then stops at the same
address (I believe).

We can get the application to run some what reliably on one board but
not the other 6 boards we have.
One board would run the application some of the time. It seems that it
stops working when I add something new to the FPGA design.

We have written a smaller application and it works everytime out of DDR
memory.

Our first run of boards never had this problem. We saw something at
the beginning when we were bringing up the second boards and
application wouldn't run. The way we corrected this was start a new
project then bring everything in again. After that we never saw any
problems until we started putting more in the FPGA.

I have looked at hardware, how Nios was setup, what is in Nios, the
clocks, the PLLs, how Quartus connects to the pins, etc.
I am not sure what to look at now.
Has anyone had a problem like this before and how was it fixed? Does
anyone have any other ideas?
We are currently running Quartus 6.1.

Thanks for any help.

Rob



Rob
  Reply With Quote
Old 01-23-2007, 08:36 PM   #2
Mike Treseler
 
Posts: n/a
Default Re: NIOS II Application startup issues
Rob wrote:

> I am having a very strange problem with NIOS II not running a specific
> application.
> We are using DDR memory running at 100MHz on a Cyclone II FPGA. The
> memory was setup in SOPC builder.
> The clock looks good going to memory on the PCB. We have tested memory
> and we have seen an issue but yet we can see out to 128Megs (on all
> boards)


Deal with the issue.
Every bit of the RAM has to work.
Run full walking ones then zeros tests
on all the address and data lines.
Put a scope on the memory and check for ringing and noise.


-- Mike Treseler


Mike Treseler
  Reply With Quote
Old 01-23-2007, 09:57 PM   #3
KJ
 
Posts: n/a
Default Re: NIOS II Application startup issues

"Rob" <> wrote in message
news: oups.com...
> Hello,
>
> I am having a very strange problem with NIOS II not running a specific
> application.
>
>
> We are using DDR memory running at 100MHz on a Cyclone II FPGA. The
> memory was setup in SOPC builder.
> The clock looks good going to memory on the PCB. We have tested memory
> and we have seen an issue but yet we can see out to 128Megs (on all
> boards)


Your symptoms seem to indicate a timing problem or signal integrity issue or
possibly a supply voltage issue (in that order would be my guess knowing
nothing else about your particular design). Verify that the actual PCB
delays on the board and the ddr part timings for the actual device match
what is in the DDR Controller settings using the MegaWizard and that you can
successfully run through the ddr timing verification TCL script that is (or
at least was) an output of SOPC Builder when you do the generate. That
script is supposed to verify that the ddr timing on the final routed FPGA
design is correct. Other things to look for are just the basic things
like....
- signal quality (are the nets properly termiated?)
- Supply voltages (any dips?)

If you haven't done so lately, peruse the ddr controller handbook again for
something that you may have overlooked in the design process.

As Mike suggested in his post, getting a simple memory test to walk 0 and 1
across the entire memory is an important test that absolutely must run
without fail before even bothering to use the memory for any application.

Kevin Jennings




KJ
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
EPIC viral issues puncypanda General Help Related Topics 1 09-10-2009 02:59 AM
standalone .net application jass Software 1 04-02-2009 03:11 AM
How to open Web Application pages (ASPX) in Windows application. arameshmca Software 1 02-07-2008 03:18 AM
Server Error in '/Forms' Application. AxleWack General Help Related Topics 0 10-11-2007 01:47 PM
ASP.NET with User Interface Process Application Block robinp Software 0 03-05-2007 10:01 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46