devmem2 bus error on VF50

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

devmem2 bus error on VF50

ソリューションへジャンプ
4,046件の閲覧回数
tomaszciesla
Contributor I

hi is there a memtool for VFxxx F like for iMX?

https://community.nxp.com/t5/i-MX-Processors/devmem-return-bus-error/td-p/1033596

We want to access directly registers for tests. devmem2 works only with some of them:

root@col-vf50:~# devmem2 0x400481dc
/dev/mem opened.
Memory mapped at address 0x76f4a000.
Read at address 0x400481DC (0x76f4a1dc): 0x000022ED

root@col-vf50:~# devmem2 0x400d0024
/dev/mem opened.
Memory mapped at address 0x76f2f000.
Bus error

ラベル(1)
0 件の賞賛
1 解決策
3,966件の閲覧回数
tomaszciesla
Contributor I

error occurs when there's no clock enabled for the subsystem:

   devmem2 0x4006b064 w 0x0000000f

unlocks read of Ethernet registers

   root@col-vf50:~# devmem2 0x400d0024
   /dev/mem opened.
   Memory mapped at address 0x76f93000.
   Read at address 0x400D0024 (0x76f93024): 0xF0000000

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
4,011件の閲覧回数
jamesbone
NXP TechSupport
NXP TechSupport
0 件の賞賛
3,967件の閲覧回数
tomaszciesla
Contributor I

error occurs when there's no clock enabled for the subsystem:

   devmem2 0x4006b064 w 0x0000000f

unlocks read of Ethernet registers

   root@col-vf50:~# devmem2 0x400d0024
   /dev/mem opened.
   Memory mapped at address 0x76f93000.
   Read at address 0x400D0024 (0x76f93024): 0xF0000000

0 件の賞賛