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.

EMIFA writing Problem on OMAPL1xx

Hello everyone!

I'm working on OMAP L137 evm, now i'v got confused by writing data to EMIFA from Linux.

When I use emulator to link the board from DSP side, under CCS v3.3 platform, the EMIFA writing is correct.(A CPLD is linked to CE4).

While from Linux side the writing process is wrong and strange. 

For instance, when I write a single 0x1234 to 0x64000000(the begin address of EMIFA CE4):(I use iowrite32() in kernel space)

the data was the same in block and only the high 16bits were the same with writing data's low 16bits.(changed to other test data, the conclusion is the same. when I write 00:)

In the sameway I wrote to EMIFB (from 0xC1000000), the results were correct:

Now I want to know how to write to EMIFA(CE3 or CE4) correctly?