<?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: FreeRTOS sample uses different code to Code Red examples - LPC1343</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/FreeRTOS-sample-uses-different-code-to-Code-Red-examples-LPC1343/m-p/525423#M8059</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mathseng on Tue Aug 13 03:56:29 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Takashi.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Like others, I have the LPCXpresso LPC1347, and wanted working code to ensure that I had a good base to carry on from.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A member of our team has the LPC1343 board, and had no problems with the sample, and I was frustrated that the Simple Demo (along with other more complex projects), did not work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My approach was to determine what was done for this really simple port to work, get concrete actions/processes, then abstract from that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My result is that I have now a working LPC1347 version of the Simple Demo, and am now experimenting with the operation of FreeRTOS to make a base for our application. I also have a much better understanding of the chip and the IDE process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For those who would like my version, which they can compare with the IDE base code and the LPC1343 demo code, attached is FreeRTOS-simple-demo-for-LPCXpresso-LPC1347.zip - this complies with the documentation "FR-191-AN-RB-003i2-[A simple FreeRTOS demo for the LPCXpresso].pdf"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bill.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 16:57:07 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T16:57:07Z</dc:date>
    <item>
      <title>FreeRTOS sample uses different code to Code Red examples - LPC1343</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/FreeRTOS-sample-uses-different-code-to-Code-Red-examples-LPC1343/m-p/525421#M8057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mathseng on Sat Aug 10 05:12:36 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Trying to find the relevant changes in the FreeRTOS Simple Demo for LPC1343, so that you can create a version for the LPC1347 or some other uC?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The startup code used in the sample does not correlate simply with the code in the LPCXpresso IDE LPCXpresso_5.2.6_2137, making difficult the matching for changes.&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.freertos.org%2FInteractive_Frames%2FOpen_Frames.html%3Fhttp%3A%2F%2Finteractive.freertos.org%2Fentries%2F315768-Very-simple-LPCXpresso-LPC1768-LPC1343-demo-using-LPCXpresso-IDE" rel="nofollow" target="_blank"&gt;http://www.freertos.org/Interactive_Frames/Open_Frames.html?http://interactive.freertos.org/entries/315768-Very-simple-LPCXpresso-LPC1768-LPC1343-demo-using-LPCXpresso-IDE&lt;/A&gt;&lt;SPAN&gt; contains the sample FreeRTOS project, where the startup code cr_startup_lpc13.c is different to the code supplied in LPCXpresso and RedSuite5-Windows.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;A copy of the LPC1343 code which appears to be the base for the code in the sample project can be found at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2FPSU-UROV%2FControl" rel="nofollow" target="_blank"&gt;https://github.com/PSU-UROV/Control&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The code is copyrighted as "Copyright (c) 2009-10 Code Red Technologies Ltd."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Comparing these two files show the following differences:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;+ Add the following lines at the end of the section "// Forward declaration of the specific IRQ handlers"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;extern void xPortSysTickHandler(void);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;extern void xPortPendSVHandler(void);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;extern void vPortSVCHandler( void );&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;+ Modify the Vector Table starting with line "void (* const g_pfnVectors[])(void) = {", by changing the 3 vectors to be:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vPortSVCHandler,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // SVCall handler&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;xPortPendSVHandler,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // The PendSV handler&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;xPortSysTickHandler,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // The SysTick handler&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:57:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/FreeRTOS-sample-uses-different-code-to-Code-Red-examples-LPC1343/m-p/525421#M8057</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: FreeRTOS sample uses different code to Code Red examples - LPC1343</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/FreeRTOS-sample-uses-different-code-to-Code-Red-examples-LPC1343/m-p/525422#M8058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tmune on Mon Aug 12 23:32:32 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You may look at lpcopen v1.03 examples. It includes nxp_xpresso_1347_freertos_blinky as one of the examples. I have not tried it yet but some other examples are compiled and run ok.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Takashi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:57:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/FreeRTOS-sample-uses-different-code-to-Code-Red-examples-LPC1343/m-p/525422#M8058</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: FreeRTOS sample uses different code to Code Red examples - LPC1343</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/FreeRTOS-sample-uses-different-code-to-Code-Red-examples-LPC1343/m-p/525423#M8059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mathseng on Tue Aug 13 03:56:29 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Takashi.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Like others, I have the LPCXpresso LPC1347, and wanted working code to ensure that I had a good base to carry on from.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A member of our team has the LPC1343 board, and had no problems with the sample, and I was frustrated that the Simple Demo (along with other more complex projects), did not work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My approach was to determine what was done for this really simple port to work, get concrete actions/processes, then abstract from that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My result is that I have now a working LPC1347 version of the Simple Demo, and am now experimenting with the operation of FreeRTOS to make a base for our application. I also have a much better understanding of the chip and the IDE process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For those who would like my version, which they can compare with the IDE base code and the LPC1343 demo code, attached is FreeRTOS-simple-demo-for-LPCXpresso-LPC1347.zip - this complies with the documentation "FR-191-AN-RB-003i2-[A simple FreeRTOS demo for the LPCXpresso].pdf"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bill.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:57:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/FreeRTOS-sample-uses-different-code-to-Code-Red-examples-LPC1343/m-p/525423#M8059</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T16:57:07Z</dc:date>
    </item>
  </channel>
</rss>

