Forum Discussion
Altera_Forum
Honored Contributor
11 years agoSorry to necro this old thread, but since my issues relate to both the BeMicro CV and the examples in this thread, I figured this would be the best place to post my issues.
I ordered a BeMicro CV about a month ago, and have been having no end of problems getting the DDR3 memory to work reliably with a Nios processor. I took Dave's code first, and tested the entire RAM area (with a little Tcl code) and everything works. I also designed a rudimentary VGA driver and powered it with a Nios CPU without any problems. But, for some reason, when the Nios CPU mates to the DDR3 UniPHY controller, the machine goes haywire. I've used Lemieux's example, plus made 3 or 4 separate designs of my own (worried that I might have screwed something up). It works fine for a few write/read test combinations, then the output stream become gobbledygook. Or it will just spontaneously halt. Or get stuck in a reset loop. I think the program memory is getting overwritten, but it still happens if the program memory is stored in a ROM (inside the Cyclone). I think I have defective hardware, but it's so strange that both the RAM and the chip seem to work perfectly, but they fail to work together. So I'm at my wits end. Thanks in advance for any input.