<?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 Optimization problems in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Optimization-problems/m-p/531411#M2485</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by IanJames on Wed Jun 26 02:15:03 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a small project that I have written to test the Watchdog Reset (see earlier post).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have noticed that if I compile the code (for Release) with optimization None (-O0) then the processor fails to Reset after a Power Cycle if however I compile for size (-Os) then the processor resets correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have two ways of detecting whether the processor reset i) bytes are transmitted of the UART and ii) I toggle an IO pin in the SysTickhandle every millisecond.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If anything I would have expected problems with optimization ON not OFF!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Processor is LPC1224&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas anyone?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ian James&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 01:36:03 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T01:36:03Z</dc:date>
    <item>
      <title>Optimization problems</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Optimization-problems/m-p/531411#M2485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by IanJames on Wed Jun 26 02:15:03 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a small project that I have written to test the Watchdog Reset (see earlier post).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have noticed that if I compile the code (for Release) with optimization None (-O0) then the processor fails to Reset after a Power Cycle if however I compile for size (-Os) then the processor resets correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have two ways of detecting whether the processor reset i) bytes are transmitted of the UART and ii) I toggle an IO pin in the SysTickhandle every millisecond.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If anything I would have expected problems with optimization ON not OFF!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Processor is LPC1224&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas anyone?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ian James&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:36:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Optimization-problems/m-p/531411#M2485</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: Optimization problems</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Optimization-problems/m-p/531412#M2486</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 Wed Jun 26 07:30:15 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe the slower execution speed of you code when compiled for -O0 (= no optimisation) means that you are no longer meeting the restrictions for feeding the watchdog?&lt;/SPAN&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 01:36:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Optimization-problems/m-p/531412#M2486</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:36:04Z</dc:date>
    </item>
  </channel>
</rss>

