I am using imx6qdl board. I using memtoolto read the value in the register and memory.
By putting the command memtool . , it listed out the register/memory available in the target.
1st Scenario:
I put the following command,
memtool -32 0x020BC000 1
Output:
Reading 0x01 count starting at address 0x020BC000
->>> Iam not getting the value in that register
2nd scenario
memtool -32 GPIO1. 1
Output:
SOC: im6q
GPIO1 Address:0x209C000
Segmentation Fault
I have tried all the register which listed down, getting segmentation fault , not able to read the value.
Kindly guide me how to read the value in the register /memory .
Thanks
Hi Pavithra
one can look at
How to include memtool in the core-image-base ?
or try nxp linux from source.codeaurora.org/external/imx/linux-imx repository
linux-imx - i.MX Linux kernel
imx-test - i.MX Driver Test Application Software
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------