<?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>i.MX ProcessorsのトピックRe: imx6 hardware breakpoints</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6-hardware-breakpoints/m-p/559909#M86885</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the support. This document isn't related to my issue. I can use debugging tools for my configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I almost figured out with my issue. Kernel works in secure mode and HW BP doesn't work&amp;nbsp;because I don't have SPIDEN authentication signal. Then I have two options: use debug version of the&amp;nbsp;kernel in non-secure mode or figure out how to enable this signal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Sep 2016 14:06:09 GMT</pubDate>
    <dc:creator>iloskutov</dc:creator>
    <dc:date>2016-09-02T14:06:09Z</dc:date>
    <item>
      <title>imx6 hardware breakpoints</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-hardware-breakpoints/m-p/559907#M86883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to implement gdb-stubs for some kernel. And I can't make hardware breakpoint work on iMX6 hardware. I implement exception handlers and set up ARM debug module with next steps:&lt;/P&gt;&lt;P&gt;- check that debug module in normal power state and registers can be accessed;&lt;/P&gt;&lt;P&gt;- check that OS Lock not enabled;&lt;/P&gt;&lt;P&gt;- reset registers&amp;nbsp;DBGVCR, DBGBCRx,&amp;nbsp;&lt;SPAN&gt;DBGWCRx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- enable monitor mode;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When I set up hardware breakpoints using registers&amp;nbsp;&lt;SPAN&gt;DBGBCRx,&amp;nbsp;&lt;SPAN&gt;DBGBVRx&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;they&amp;nbsp;don't work. I checked this gdb-stub code on qemu and it works.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I found only a few&amp;nbsp;&lt;SPAN&gt;iMX-specific options:&lt;/SPAN&gt;&amp;nbsp;CPU debug clocks in CCM module (enabled) and register IOMUXC_GPR10 (debug enabled)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do I miss something in the&amp;nbsp;iMX-specific configuration of debug module?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 13:00:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-hardware-breakpoints/m-p/559907#M86883</guid>
      <dc:creator>iloskutov</dc:creator>
      <dc:date>2016-08-25T13:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 hardware breakpoints</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-hardware-breakpoints/m-p/559908#M86884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ivan,&lt;/P&gt;&lt;P&gt;As an option, you could refer to application note &lt;A href="http://www.nxp.com/files/32bit/doc/app_note/AN4553.pdf"&gt;AN4553 “Using Open Source Debugging Tools for Linux on i.MX Processors”&lt;/A&gt;, which provides information that could be useful regarding debugging on i.MX6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be useful for you.&lt;BR /&gt;Best regards!&lt;BR /&gt;/Carlos&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>Thu, 01 Sep 2016 15:13:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-hardware-breakpoints/m-p/559908#M86884</guid>
      <dc:creator>CarlosCasillas</dc:creator>
      <dc:date>2016-09-01T15:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 hardware breakpoints</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-hardware-breakpoints/m-p/559909#M86885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the support. This document isn't related to my issue. I can use debugging tools for my configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I almost figured out with my issue. Kernel works in secure mode and HW BP doesn't work&amp;nbsp;because I don't have SPIDEN authentication signal. Then I have two options: use debug version of the&amp;nbsp;kernel in non-secure mode or figure out how to enable this signal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 14:06:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-hardware-breakpoints/m-p/559909#M86885</guid>
      <dc:creator>iloskutov</dc:creator>
      <dc:date>2016-09-02T14:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 hardware breakpoints</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-hardware-breakpoints/m-p/559910#M86886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ivan,&lt;/P&gt;&lt;P&gt;In this case, you could take a look at the link below:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/316917"&gt;https://community.nxp.com/thread/316917&lt;/A&gt;&lt;/P&gt;&lt;P&gt;FYI, the new link of the mentioned application note is the following:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/files/32bit/doc/app_note/AN4686.pdf"&gt;http://www.nxp.com/files/32bit/doc/app_note/AN4686.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be useful for you.&lt;BR /&gt;Best regards!&lt;BR /&gt;/Carlos&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, 05 Sep 2016 22:49:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-hardware-breakpoints/m-p/559910#M86886</guid>
      <dc:creator>CarlosCasillas</dc:creator>
      <dc:date>2016-09-05T22:49:18Z</dc:date>
    </item>
  </channel>
</rss>

