Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

Ddr2 hp

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!

6 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    parva

    hai,

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

    please help
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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?

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.