<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Getting Segmentation Fault when tried to access the memory or register using memtool in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Getting-Segmentation-Fault-when-tried-to-access-the-memory-or/m-p/1002872#M148670</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using imx6qdl board. I using memtoolto read the value in the register and memory.&lt;/P&gt;&lt;P&gt;By putting the command memtool . , it listed out the register/memory available in the target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1st Scenario:&lt;/P&gt;&lt;P&gt;I put the following command,&lt;/P&gt;&lt;P&gt;memtool -32 0x020BC000 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Output:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reading 0x01 count starting at address 0x020BC000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt;&amp;gt;&amp;gt; Iam not getting the value in that register&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2nd scenario&lt;/P&gt;&lt;P&gt;memtool -32 GPIO1. 1&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;SOC: im6q&lt;/P&gt;&lt;P&gt;GPIO1 Address:0x209C000&lt;/P&gt;&lt;P&gt;Segmentation Fault&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried all the register which listed down, getting segmentation fault , not able to read the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly guide me how to read the value in the register /memory .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 08 Feb 2020 11:39:11 GMT</pubDate>
    <dc:creator>pavithrapadmana</dc:creator>
    <dc:date>2020-02-08T11:39:11Z</dc:date>
    <item>
      <title>Getting Segmentation Fault when tried to access the memory or register using memtool</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Getting-Segmentation-Fault-when-tried-to-access-the-memory-or/m-p/1002872#M148670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using imx6qdl board. I using memtoolto read the value in the register and memory.&lt;/P&gt;&lt;P&gt;By putting the command memtool . , it listed out the register/memory available in the target.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1st Scenario:&lt;/P&gt;&lt;P&gt;I put the following command,&lt;/P&gt;&lt;P&gt;memtool -32 0x020BC000 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Output:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reading 0x01 count starting at address 0x020BC000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt;&amp;gt;&amp;gt; Iam not getting the value in that register&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2nd scenario&lt;/P&gt;&lt;P&gt;memtool -32 GPIO1. 1&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;SOC: im6q&lt;/P&gt;&lt;P&gt;GPIO1 Address:0x209C000&lt;/P&gt;&lt;P&gt;Segmentation Fault&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried all the register which listed down, getting segmentation fault , not able to read the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly guide me how to read the value in the register /memory .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Feb 2020 11:39:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Getting-Segmentation-Fault-when-tried-to-access-the-memory-or/m-p/1002872#M148670</guid>
      <dc:creator>pavithrapadmana</dc:creator>
      <dc:date>2020-02-08T11:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Segmentation Fault when tried to access the memory or register using memtool</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Getting-Segmentation-Fault-when-tried-to-access-the-memory-or/m-p/1002873#M148671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavithra&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can look at&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/390743"&gt;How to include memtool in the core-image-base ?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or try nxp linux from source.codeaurora.org/external/imx/linux-imx&amp;nbsp; repository&lt;BR /&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_4.19.35_1.1.0" title="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_4.19.35_1.1.0"&gt;linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/imx-test/tree/?h=imx_4.19.35_1.1.0" title="https://source.codeaurora.org/external/imx/imx-test/tree/?h=imx_4.19.35_1.1.0"&gt;imx-test - i.MX Driver Test Application Software&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2020 04:08:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Getting-Segmentation-Fault-when-tried-to-access-the-memory-or/m-p/1002873#M148671</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-02-10T04:08:41Z</dc:date>
    </item>
  </channel>
</rss>

