Weim interface with sram issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Weim interface with sram issue

1,164件の閲覧回数
syedr1
Contributor II

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?

ラベル(5)
0 件の賞賛
返信
2 返答(返信)

1,151件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信

1,091件の閲覧回数
syedr1
Contributor II

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

0 件の賞賛
返信