<?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>LPC MicrocontrollersのトピックRe: Example program don't work</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Example-program-don-t-work/m-p/526571#M9201</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by manlong on Mon Jun 09 13:25:41 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to use the library stdio.h like some example program.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunaly, the example program that use this library compile well but when I&amp;nbsp; execute the program, the program go directly to HardFault_Handler. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes I already test with Semihosting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The setup is done corretly in example program. I use lpcopen_2_08b_lpcxpresso_nxp_lpcxpresso_1549.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have an explantion and a solution to permit me to execute the example program and use stdio.h in my own program.?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Man Long&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:08:20 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:08:20Z</dc:date>
    <item>
      <title>Example program don't work</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Example-program-don-t-work/m-p/526567#M9197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by manlong on Mon Jun 09 09:00:20 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a LPCXpresso1549 evaluation board OM13056 and I want to run example program.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunely all there program FreeRTOS, ADC, EEPROM, FlashIAP, freqmeas, I2C, pmu (power management unit), RTC, SPI_slave and temp don't run. When I execute the program, I go directrly to HardFault_Handler.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I do my own program, I want to use &amp;lt;stdio.h&amp;gt; to use printf and sscanf.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I use printf my program go directly to HardFault_Handler as example program.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In example program, th e function DEBUGOUT use printf and I think this will the cause of error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you know why?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have a solution to resolve the problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Man Long LAY&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:08:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Example-program-don-t-work/m-p/526567#M9197</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Example program don't work</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Example-program-don-t-work/m-p/526568#M9198</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 Mon Jun 09 09:20:03 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Interrupt problems?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fforum%2Fupdated-lpc15xx-startup-files-lpcopen-compatibility" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/forum/updated-lpc15xx-startup-files-lpcopen-compatibility&lt;/A&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:08:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Example-program-don-t-work/m-p/526568#M9198</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Example program don't work</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Example-program-don-t-work/m-p/526569#M9199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by manlong on Mon Jun 09 09:45:36 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I put the file but it's the same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I had already the file in version 140114.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The code compile correctrly it's just when I execute the program.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think it's not an interrupt problem because periph_MRT and periph_ritimer run correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think it's when I put STDIO.h with fprint, printf, sscanf,... function that the program go directly to HardFault_Handler at start up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have another idea?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Man Long&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:08:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Example-program-don-t-work/m-p/526569#M9199</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Example program don't work</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Example-program-don-t-work/m-p/526570#M9200</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 Mon Jun 09 10:35:12 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure what you are trying to do in detail&amp;nbsp; :quest: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you trying to use Semihosting or UART?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you setup your board.h correct for this purpose?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;See: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcopen-debug-inputoutput-support" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcopen-debug-inputoutput-support&lt;/A&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:08:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Example-program-don-t-work/m-p/526570#M9200</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Example program don't work</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Example-program-don-t-work/m-p/526571#M9201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by manlong on Mon Jun 09 13:25:41 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to use the library stdio.h like some example program.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunaly, the example program that use this library compile well but when I&amp;nbsp; execute the program, the program go directly to HardFault_Handler. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes I already test with Semihosting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The setup is done corretly in example program. I use lpcopen_2_08b_lpcxpresso_nxp_lpcxpresso_1549.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have an explantion and a solution to permit me to execute the example program and use stdio.h in my own program.?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Man Long&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:08:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Example-program-don-t-work/m-p/526571#M9201</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Example program don't work</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Example-program-don-t-work/m-p/526572#M9202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by manlong on Wed Jun 18 10:20:50 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;nobody have an idea about example program?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:08:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Example-program-don-t-work/m-p/526572#M9202</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Example program don't work</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Example-program-don-t-work/m-p/526573#M9203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by LabRat on Wed Jun 18 11:36:11 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;As mentioned already last week it's required to select correct library and correct board.h settings.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All examples are working here with Semihosting or UART. Probably your setup is wrong or you didn't rebuild projects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But nobody knows if you don't post / describe your settings...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:08:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Example-program-don-t-work/m-p/526573#M9203</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Example program don't work</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Example-program-don-t-work/m-p/526574#M9204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by manlong on Sun Aug 17 07:13:50 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I update the sofware LPCXpresso. I pass from&amp;nbsp; v7.2.0 of LPCXpresso 7 for Windows to (7.3.0) of LPCXpresso 7 for Windows.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I use exactly the same workspace.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In V7.2.0 I have the issue explain above and in version 7.3.0 all run correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:08:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Example-program-don-t-work/m-p/526574#M9204</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:08:22Z</dc:date>
    </item>
  </channel>
</rss>

