Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers

Help needed! thx

Altera_Forum
Honored Contributor II
2,078 Views

hello, when i run my program as NiosII hardware in nios2 ide, the following error msg appeared: 

 

Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 

Pausing target processor: OK 

Reading System ID at address 0x01203080: verified 

Initializing CPU cache (if present) 

OK 

 

Downloading 00800000 ( 0%) 

Downloading 00810000 (81%) 

Downloaded 79KB in 1.3s (60.7KB/s) 

 

Verifying 00800000 ( 0%) 

Verify failed between address 0x800000 and 0x80FFFF 

Leaving target processor paused 

 

 

I dont know what happen. at that address is SDRAM. can anyone help me? thanks!
0 Kudos
10 Replies
Altera_Forum
Honored Contributor II
1,171 Views

What RAM is at failed memory address?

0 Kudos
Altera_Forum
Honored Contributor II
1,171 Views

at that address is SDRAM

0 Kudos
Altera_Forum
Honored Contributor II
1,171 Views

Is this one of those DE2 or DE2-70 board?

0 Kudos
Altera_Forum
Honored Contributor II
1,171 Views

On DE2 Board SDRAM (8Mb).

0 Kudos
Altera_Forum
Honored Contributor II
1,171 Views

Is it a custom FPGA project? Try to run a memory test from on-chip memory and test the sdram. 

You probably have a timing problem. Check the settings in the memory controller, that your clocks are properly declared in Timequest, that your input/outputs are properly constrained, that your design meet the timing requirements and that you provide a clock with the correct phase shift to the sdram.
0 Kudos
Altera_Forum
Honored Contributor II
1,171 Views

thanks for the reply. i already got the solution. thanks!

0 Kudos
Altera_Forum
Honored Contributor II
1,171 Views

Where was the problem, cause I've got the same situation?

0 Kudos
Altera_Forum
Honored Contributor II
1,171 Views

 

--- Quote Start ---  

Where was the problem, cause I've got the same situation? 

--- Quote End ---  

 

 

I think, you should check the pin assignments of SDRAM. Were all the pins are located correctly?You should also check that some output pins of your SDRAM may be bidirectional.
0 Kudos
Altera_Forum
Honored Contributor II
1,171 Views

I double checked pin assignments, sdram controller config and still my sdram doesn't work. I can attach some screenshots. Could someone looked at it then?

0 Kudos
Altera_Forum
Honored Contributor II
1,171 Views

I found the solution. I had to use 2 clock signals from pll. One for sdram and one for fpga. Then it works.

0 Kudos
Reply