04-28-2011 08:00 AM
I ran into a problem last night, which took my night; thought this would be useful for some one in future. So posting it here for somebody who run into similar problem.
I was a merging my 64bit NPI module which was developed in a simple EDK project[PPC, MPMC(DDR2), etc]. The PPC software was derived from simple example project of SDK. Everything was working fine in my project. The data is populated over PPC440MC0 interface by PPC software.
But all starting going bad when I merged this peripheral with our legacy code which had similar EDK project but lots of other peripherals too. The PPC software for this came from legacy(ISE11.x) SDK examples based one, and was customized a lot for the application. The problem is that NPI read always returned zero, though all other signaling was perfect. Though I was able to write/verify the same memory location directly from PPC440MC0 interface.
04-28-2011 08:01 AM
04-28-2011 08:01 AM
04-28-2011 11:48 PM
Hi,
This exact problem has caught me many times over. One call to XCache_EnableDCache() can really wreck your week :).
Glad you got it solved.