- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi friends:
I come up with a problem on DE2 board.In the SOPC builder,I set the clock of both SDRAM and CPU 50Mhz,when I download the software in Nios,it said "Verify failed between address 0x800000 and 0x8062B3,Leaving target processor paused",then I change the clock of CPU to 100Mhz,and the problem was solved,do you know why this happened?Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi.
I'm not sure but, check the SDRAM controller code, also you need to delay the SDRAM clock -3ns.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, I have been battling with the SDRAM problem for some time, but I cannot find a solution. I have tried to use 100MHz and 50MHz clock, both with and without the delay and I still get the verified failed error. Could there be anything else that I am missing? Thanks a lot for help, because this is driving me crazy!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- --- Quote End --- I think your pin connection or timing are setting a wrong value. Please checking the SDRAM timing in SOPC builder and check pin connection on your TOP file. Maybe you can compare with the example of DE2_70_NET project.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I guess u need to add pll to counter the skew and other timing issues between the sdram controller clock and the clock provided to the sdram chip..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you post the procedure you are following. That might help us track down the problem faster.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm having exactly the same problem as swordflyer - with Quartus 9.0
I hope there is some insight here somewhere.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks - I ended up adding a second clock to the PLL, going straight through,
as suggested by the tutorial. That worked. Interesting though that a few years ago you did not need to send the CPU clock through the PLL. Now if I can get the Terasic ISP1362 (USB) IP to work with Quartus 9.0/9.1.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've a very similar problem, and I cannot communicate with the sdram,
(nor to download the program into it of course) However the problem is limited to the usage of the Nios in the version standard or fast, while when i use the "e" version everything works properly. I found this unusual behavior both on DE1 and on DE2 board. I'm using Quartus 9.1 ad the sdram clock is controlled by a -3ns PLL. Someone has been able to communicate with the SDRAM using NiosII/s or NiosII/f ?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
when I added the through-clock signal to the PLL we were able to get it working
(and I've always used the f version of the cpu). I'm not sure what your situation is.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm stack with this sdram controller:/ Did everything what I found in this forum and still it doesn't work:/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This my configuration sdram controller for nios.
http://aix.vot.pl/nios/cpu.jpg http://aix.vot.pl/nios/nios.jpg http://aix.vot.pl/nios/sdram1.jpg http://aix.vot.pl/nios/sdram2.jpg- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found the solution. I had to use 2 clock signals from pll. One for sdram and one for fpga. Then it works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
this problem is generic for using sdram~!
I think a phase shift between SDRAM Controller's clock and SDRAM Chip's clock! I setup phaseshift is -3000(dg)!- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page