Getting Segmentation Fault when tried to access the memory or register using memtool

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

Getting Segmentation Fault when tried to access the memory or register using memtool

748件の閲覧回数
pavithrapadmana
Contributor I

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

ラベル(4)
0 件の賞賛
1 返信

682件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

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

0 件の賞賛