FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP

Ddr2 hp

Altera_Forum
Honored Contributor II
1,126 Views

my sopc system includes A nios , a pio, an onchip memory ,and a ddr2 hp . 

I want to use the ddr2 chip as my NIOSII program's running space.so,in IDE,i set the program memory (.text ) to the ddr2. 

but when i debug(the program is a simple test program),the IDE tell me : 

download is success.but verify is error.(the error address is my ddr2's address)! 

otherwise , i use a ddr2 chip : SAMSUNG K4T41163QG-HCF7. 

i don't know what's happened in ny system. there is something wrong in my DDR2 HP setting , SOPC timing clouser,or somewhere? 

somebody can tell me how to use the DDR2 hp? 

thanks a lot!
0 Kudos
6 Replies
Altera_Forum
Honored Contributor II
376 Views

i test my system many times . the local_init_done_from_DDR2 is asserted. but ,when i download my nios program ,the IDE console gives me the error message: 

Downloading 00000000 ( 0%) 

Downloading 04028020 (97%) 

Downloaded 18KB in 0.8s (22.5KB/s) 

Verifying 00000000 ( 0%) 

Verify failed between address 0x0 and 0x450B 

Leaving target processor paused
0 Kudos
Altera_Forum
Honored Contributor II
376 Views

address:0x0000000 is my ddr2's address.

0 Kudos
Altera_Forum
Honored Contributor II
376 Views

It seems there is a communication problem to your ram. 

Have you analyzed the timing in your system? 

Are you using Classic or Timequest timing analyzer? 

 

You can add Onchip-RAM to your system, and run the memtest-template from it to check your RAM hardware.
0 Kudos
Altera_Forum
Honored Contributor II
376 Views

parva 

hai, 

i need a documentation regarding the pin details(function of every pin) of ddr_sdram controller. 

please help
0 Kudos
Altera_Forum
Honored Contributor II
376 Views

hai ,i want to use ddr sdram hp.first of all i want to know how to access this.for this purpose ,is simulator is enough?

0 Kudos
Altera_Forum
Honored Contributor II
376 Views

Hi, 

Did you solve the problem what you have mentioned above? 

We are also facing the similar problem. We changed the micron to samsung device, the NIOS hello world program stopped working at DDR address. 

 

What was the issue, How did you solve this problem. Please reply.
0 Kudos
Reply