Hi ,
Iam working in SRAM through EIM interface in i.MX53 processor.when i read the value from devmem2 command,
I get 0xFFFFFFFF but when i write values to it like 0xAAAA5555 and then read it shows as 0xAAAAAAAAA
debian@arm:~$ sudo ./devmem2 0xF0000000 w 0xAAAA5555
/dev/mem opened.
Memory mapped at address 0xb6f15000.
Value at address 0xF0000000 (0xb6f15000): 0x10101010
Written 0xAAAA5555; readback 0xAAAAAAAA
If I read the next value , it gives the previous value .For Example, if i read value for 0xF0000004, 0xF0000008 etc it shows value of F0000000 as 0xAAAAAAAA
debian@arm:~$ sudo ./devmem2 0xf0000004
/dev/mem opened.
Memory mapped at address 0xb6fc0000.
Value at address 0xF0000004 (0xb6fc0004): 0xAAAAAAAA
debian@arm:~$
debian@arm:~$
debian@arm:~$
debian@arm:~$ sudo ./devmem2 0xf0000008
/dev/mem opened.
Memory mapped at address 0xb6f39000.
Value at address 0xF0000008 (0xb6f39008): 0xAAAAAAAA
debian@arm:~$
Please suggest how to proceed
How to set clock for EIM?
Hello,
One can check weim signals with oscilloscope using
sect.4.6.7.5 General WEIM Timing-Asynchronous Mode i.MX51 Datasheet
http://www.nxp.com/docs/en/data-sheet/IMX51CEC.pdf
for weim asynchronous access settings one can look at i.MX53 OBDS (..drivers/weimnor)
example, it has similar weim module
Lab and Test Software (2)
On-Board Diagnostic Suit for the i.MX53 Quick Start Board
http://www.nxp.com/products/automotive-products/energy-power-management/pmics/power-management-for-i...
Regards
Hi
Thanks for the reply.
WE, CE2, RW pins works as expected when we read and write the data.
One more issue, If data is written to particular location ..Same data is written to remaining locations also.
Any suggestions would be helpful