<?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>LPCXpresso IDE中的主题 Re: Add watchpoint to stackpointer</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Add-watchpoint-to-stackpointer/m-p/686927#M32980</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It doesn't say that at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The document states "Since watchpoint 'watch' access to memory...". I.e. It works on memory. So this example is watching a write to address 0x10007D000. I guess they chose this address in case the stack grows that large.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Jul 2017 21:55:33 GMT</pubDate>
    <dc:creator>converse</dc:creator>
    <dc:date>2017-07-28T21:55:33Z</dc:date>
    <item>
      <title>Add watchpoint to stackpointer</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Add-watchpoint-to-stackpointer/m-p/686924#M32977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to add a watchpoint to the stackpointer to monitor the maximum level of the stack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following solution didn't work for me (LPCXpresso 8.2.2, Hardware LPC54102):&lt;BR /&gt;&lt;A href="https://community.nxp.com/thread/389027"&gt;How to use Watchpoints&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;I can attach watchpoints to variables but not to the CPU registers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Add Watch for Stack Pointer:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/1965i37CC5C01999A1E59/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Want to add Watchpoint, didn't work! - No option for "Add Watchpoint"&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/1995i42A827D2E2186C8D/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add Watchpoint works for Variables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/1967iAFE77CCAFE377859/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 14:40:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Add-watchpoint-to-stackpointer/m-p/686924#M32977</guid>
      <dc:creator>simonwyss</dc:creator>
      <dc:date>2017-07-28T14:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Add watchpoint to stackpointer</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Add-watchpoint-to-stackpointer/m-p/686925#M32978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not possible to watch registers on Cortex-M cpus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this thread may be of interest&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/428355"&gt;https://community.nxp.com/thread/428355&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 18:47:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Add-watchpoint-to-stackpointer/m-p/686925#M32978</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2017-07-28T18:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Add watchpoint to stackpointer</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Add-watchpoint-to-stackpointer/m-p/686926#M32979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;I already saw the article&amp;nbsp;&lt;A href="https://community.nxp.com/thread/428355"&gt;Monitoring Stack Size&lt;/A&gt;&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;This works for me.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;However, I was mislead by the article&amp;nbsp;&lt;A href="https://community.nxp.com/thread/389027"&gt;How to use Watchpoints&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This article documents that it should be possible to use Watchpoints on the Stackpointer on ARM CPUs !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/2770i60CB0895CF727DE4/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 21:26:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Add-watchpoint-to-stackpointer/m-p/686926#M32979</guid>
      <dc:creator>simonwyss</dc:creator>
      <dc:date>2017-07-28T21:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Add watchpoint to stackpointer</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Add-watchpoint-to-stackpointer/m-p/686927#M32980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It doesn't say that at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The document states "Since watchpoint 'watch' access to memory...". I.e. It works on memory. So this example is watching a write to address 0x10007D000. I guess they chose this address in case the stack grows that large.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 21:55:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Add-watchpoint-to-stackpointer/m-p/686927#M32980</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2017-07-28T21:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Add watchpoint to stackpointer</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Add-watchpoint-to-stackpointer/m-p/686928#M32981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your explanation.&lt;BR /&gt;Now I understand how this mechanism works!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jul 2017 10:22:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Add-watchpoint-to-stackpointer/m-p/686928#M32981</guid>
      <dc:creator>simonwyss</dc:creator>
      <dc:date>2017-07-29T10:22:24Z</dc:date>
    </item>
  </channel>
</rss>

