<?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中的主题 flag while debugging</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/flag-while-debugging/m-p/577625#M23293</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ronkrem on Thu Jun 13 23:52:54 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;[SIZE=2]I am using LPCXpresso v4.2.3 [Build 292] [30/05/2012] on a LPC11U35/401. Is there a variable or something similar my program can access that indicates it is being supervised by the xpresso debugger? I need to exclude some code if the debugger is in control, but not otherwise.[/SIZE]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[SIZE=2]Many thanks.[/SIZE]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:38:26 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:38:26Z</dc:date>
    <item>
      <title>flag while debugging</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/flag-while-debugging/m-p/577625#M23293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ronkrem on Thu Jun 13 23:52:54 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;[SIZE=2]I am using LPCXpresso v4.2.3 [Build 292] [30/05/2012] on a LPC11U35/401. Is there a variable or something similar my program can access that indicates it is being supervised by the xpresso debugger? I need to exclude some code if the debugger is in control, but not otherwise.[/SIZE]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[SIZE=2]Many thanks.[/SIZE]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:38:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/flag-while-debugging/m-p/577625#M23293</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: flag while debugging</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/flag-while-debugging/m-p/577626#M23294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Fri Jun 14 00:26:03 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you explain in more detail exactly what sort of code you are trying to exclude?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This earlier thread may provide some useful background information for you too....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://knowledgebase.nxp.com/showthread.php?t=1921&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:38:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/flag-while-debugging/m-p/577626#M23294</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: flag while debugging</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/flag-while-debugging/m-p/577627#M23295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ronkrem on Fri Jun 14 06:06:34 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an LCD display that is only reset by power up. There is no programmable reset line. The LCD initialisation code can only run once after the PCB is powered up. Running it again destroys the initialisation. Thus I power up the board, the already loaded code runs, I start the LPC-Link debugger from LPCXpresso and so the LCD initialisation code runs again, corrupting the display. Note that the LPC-Link is always connected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What I was hoping for was something the running code could test so it could tell if it was being monitored by the debugger or not, and consequently skip the init code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a workaround where I put a switch on one of the board's IO lines, put a while loop just after the GPIOInit call, and hold this set while powering up the board and starting the debugger. Once it is ready to I release the switch and press the debugger's run button. This prevents the processor from running the code on power up. Arkward as you can understand.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards, Ron&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:38:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/flag-while-debugging/m-p/577627#M23295</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: flag while debugging</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/flag-while-debugging/m-p/577628#M23296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Fri Jun 14 17:49:06 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: ronkrem&lt;/STRONG&gt;&lt;BR /&gt;I have an LCD display that is only reset by power up. &lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What about reading SYSRSTSTAT?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:38:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/flag-while-debugging/m-p/577628#M23296</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: flag while debugging</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/flag-while-debugging/m-p/577629#M23297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ronkrem on Fri Jun 21 00:21:04 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, I could check SYSRST. Many thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:38:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/flag-while-debugging/m-p/577629#M23297</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:38:29Z</dc:date>
    </item>
  </channel>
</rss>

