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?