9789 views|7 replies

99

Posts

0

Resources
The OP
 

DDR3 initialization failed [Copy link]

 After initializing ddr, local_cal_fail is high. I found that the pll clock is not locked and pll_lock is always low. I used a function signal generator to generate a stable clock and connected it. The clock is locked, but the initialization still fails. I used signaltop to introduce ddr signal debugging and found that mem_rst_n has no signal. However, there is a signal in the official simulation. As shown in the figure, the yellow signal is pulled low and then set high before the initialization is successful. This signal is output by the ddr controller in the FPGA to ddr3. At present, it seems to be a problem with the controller. But there are really limited things that can be changed. Apart from the clock and reset, what else can I change? ? ? ? ? I can't see anything that can be changed in the IP parameters. Even if I change it, it shouldn't affect the reset. I feel hopeless: Sad: I saw on the Internet that the reset delay is 1000clk. I wonder, I use periodic reset, so there shouldn't be any problem.

360截图20181017114805304.jpg (233.08 KB, downloads: 0)

ddr仿真

ddr仿真
This post is from Altera SoC

Latest reply

Hello, may I ask how you finally solved the problem of mem_rst_n always having no signal? I have been working on it for a long time and it has been stuck here. I hope you can give me some advice when you see it. Thank you very much.  Details Published on 2019-4-3 10:11
 
 

169

Posts

1

Resources
2
 
Are you using a hard core or a soft core? I have encountered this problem before. I used a hard core. At that time, I changed some parameters in the DDR3 IP, which allowed me to adjust it. You can also try to change it. This problem is usually caused by poor PCB wiring.
This post is from Altera SoC
Personal signature

流媒体后视镜fpga方案    

 
 
 

4

Posts

0

Resources
3
 
I also encountered this problem. However, when I mounted the DDR3-UNIPHY on the NIOS II system with the same parameters, the read and write tests were all OK, but the bare CORE logic call in the FPGA failed to initialize. In addition, there was another set of the same DDR3 on the ARM A9 side, which was also OK.
This post is from Altera SoC
 
 
 

4

Posts

0

Resources
4
 
If it is not solved, you can try it with NIOS II in QSYS to confirm whether it is a circuit problem or an instantiation problem. If it is solved, can you share the problem?
This post is from Altera SoC
 
 
 

3

Posts

0

Resources
5
 
Hi, is the problem solved? I am facing the same problem as you.
This post is from Altera SoC
 
 
 

3

Posts

0

Resources
6
 
Hello, can I add your QQ? My problem has not been solved yet. My QQ is 570327113
This post is from Altera SoC
 
 
 

3

Posts

0

Resources
7
 
Hello, may I ask how you finally solved the problem of mem_rst_n always having no signal? I have been working on it for a long time and it has been stuck here. I hope you can give me some advice when you see it. Thank you very much.
This post is from Altera SoC
 
 
 

99

Posts

0

Resources
8
 
No solution, no work done.
This post is from Altera SoC
 
 
 

Guess Your Favourite
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list