How to read memory content

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

How to read memory content

1,206件の閲覧回数
btarnowski
Contributor III

Specification: IMX8MM, Linux 5.10

How can I get value from specific address in the memory?
I would like to read peripherals register.
Writing to registers would be helpful for my development as well.

0 件の賞賛
返信
1 返信

1,201件の閲覧回数
AldoG
NXP TechSupport
NXP TechSupport

Hello,

You may try using memtool, it is a tool for reading and writing registers in user space, similar to linux devmem.

Just make sure that the module register that are you planning to access using memtool have the clock enabled otherwise it will hang.

https://community.nxp.com/t5/i-MX-Processors/Memtool-access-of-0x020F-address-space-hangs/m-p/398481...

Best regards,
Aldo.

0 件の賞賛
返信