<?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>Kinetis Microcontrollersのトピックsetting breakpoints with IAR in parallel flash</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/setting-breakpoints-with-IAR-in-parallel-flash/m-p/799103#M48591</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a rogue task writing to some parallel flash on the FlexBus. Is there a way for me to set a breakpoint when it writes to a specific address in parallel flash? I am unable to set breakpoints in code when I am running out of parallel flash so I'm not sure how to set a breakpoint. Honestly I don't think I know how to do it in flash or ram either so any help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Aug 2018 12:28:44 GMT</pubDate>
    <dc:creator>ryanlush</dc:creator>
    <dc:date>2018-08-17T12:28:44Z</dc:date>
    <item>
      <title>setting breakpoints with IAR in parallel flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/setting-breakpoints-with-IAR-in-parallel-flash/m-p/799103#M48591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a rogue task writing to some parallel flash on the FlexBus. Is there a way for me to set a breakpoint when it writes to a specific address in parallel flash? I am unable to set breakpoints in code when I am running out of parallel flash so I'm not sure how to set a breakpoint. Honestly I don't think I know how to do it in flash or ram either so any help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 12:28:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/setting-breakpoints-with-IAR-in-parallel-flash/m-p/799103#M48591</guid>
      <dc:creator>ryanlush</dc:creator>
      <dc:date>2018-08-17T12:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: setting breakpoints with IAR in parallel flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/setting-breakpoints-with-IAR-in-parallel-flash/m-p/799104#M48592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The debugger hardware in Cortex-M devices does enable data breakpoints, when an address range is accessed. And IAR supports creating data breakpoints, like the screenshot below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you are writing to external flash, you are using a driver, and the core may not see an access to that specific address in flash. Depends on how the flash is programmed/erased. In that case, your flash address is passed to the driver to do the programming. I would add a line of code in the driver to test the address, and see if it is in the range you are concerned about. Then add a code breakpoint at that line of code, so you halt whenever the app tries to write to that address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Data breakpoint.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/63079iE5EA9D49A706ABFA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Data breakpoint.jpg" alt="Data breakpoint.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 13:26:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/setting-breakpoints-with-IAR-in-parallel-flash/m-p/799104#M48592</guid>
      <dc:creator>dereksnell</dc:creator>
      <dc:date>2018-08-17T13:26:40Z</dc:date>
    </item>
  </channel>
</rss>

