This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux: GPMC timings mystery

Guru 20755 points
Other Parts Discussed in Thread: DM3730

Tool/software: Linux

Hello,

I am using GPMC with several TI's chips and different OS.

As, I understand GPMC configuration is basically configuration of timing on the bus.

We encounter a project in which we use the exact same configuration GPMC (sam values in configuration register config1-config7), with 2 different OS (oprating system),

yet we had to insert delay in software read or write, otherwise the read/write failed or even totally hang. 

for example in write:

In one project it happened in linux/vxworks .

And in another project with , although I am using same configuration in u-boot and uc/os, I still need to insert delays in the read/write.

for (i = 0; i < in_length; i++)
{

OUT_REGS(NAND_DATA_LOCATION, src_buffer[i]);
 delay(10); //<<------- adding delay
}

Is there any explanations for this ?

Is it because of using different compilers ?

Is it some other configuration difference (clock) ?

Thank you.

Ran