4834.aaa.zipDeer TI, thank you for read.
This is a question for AM3894 DDR2 write and read problem when it happen in almost same time.
We hope someone has answer or helpful information to solve this critical issue. It is emergency for us.
First, we have designed system to capturing 14bit( = 16bit with padding 2bits) WORD pixels from special sensor that it connected with LVDS cable.
Spartan3(FPGA) has programmed capturing sensor signal into FIFO and it stores in internal buffer by toggling EDMA transfer.
When it start to capture, FIFO and AM3894 EDMA directly stores image data into DDR2 memory (0xC0000000 ~ ) and while doing store, embedded linux application reads stored data thru cmem driver for send data via TCP/IP socket.
Second, problem occurs when it works on GbE connection, about 1 to 2 seconds passed reading data crashes. Actually written data was crashed.
We suppose to it crash when write and read in same time.
When it connected as 100Mbps TX, crashing data is less occurs than GbE.
And absolutely, finishing write without read action then read them, there’s no problem.
Here is our block diagram.
We uses PSP 4.0.0.12 and customized own DMA driver based your source.
Cmem also used last version of yours , and adjusted virtual memory size.
So, we want to know how it be solved by using what kind of solution like interleaving for DDR2 write & read.
We attaches our memory setting source code in uboot. (plz refer to aaa.zip file)
Regards, Raphael Kim.