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.
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.