<?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: Free RTOS on LPC4337 M0 Core</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Free-RTOS-on-LPC4337-M0-Core/m-p/590187#M22033</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Alex on Fri Feb 08 01:15:11 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Bernhard,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got it working. Thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:15:42 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:15:42Z</dc:date>
    <item>
      <title>Free RTOS on LPC4337 M0 Core</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Free-RTOS-on-LPC4337-M0-Core/m-p/590183#M22029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Alex on Thu Feb 07 01:38:41 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'm trying to make FreeRTOS run on the M0 core of an LPC4337.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I used the ARM Cortex M0 generic port of FreeRTOS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Because the M0 core does not have a Systick Timer I used timer 3 as Systick. The problem is, that when the first task has to be started I get a Hardfault Exception when performing the assembler instruction svc 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas why this happens?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the function where it happens:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;vPortStartFirstTask:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cpsie i /* Globally enable interrupts. */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;svc 0 /* System call to start first task. */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;nop&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:15:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Free-RTOS-on-LPC4337-M0-Core/m-p/590183#M22029</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Free RTOS on LPC4337 M0 Core</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Free-RTOS-on-LPC4337-M0-Core/m-p/590184#M22030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by DF9DQ on Thu Feb 07 05:58:36 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Alex,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you have a look at LPCOpen?&lt;/SPAN&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%2Fproject%2Flpcopen-platform-nxp-lpc-microcontrollers" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/project/lpcopen-platform-nxp-lpc-microcontrollers&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It has FreeRTOS ports running on the M4 and M0 core of the LPC43xx, and may save you some time debugging the issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rolf&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:15:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Free-RTOS-on-LPC4337-M0-Core/m-p/590184#M22030</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Free RTOS on LPC4337 M0 Core</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Free-RTOS-on-LPC4337-M0-Core/m-p/590185#M22031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Alex on Thu Feb 07 07:10:01 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Rolf,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did not know that this exists. Seems to be a good starting point for RTOS implementation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does it really support FreeRTOS on the M0 core? All I read so far is that the M0 port is not finished yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:15:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Free-RTOS-on-LPC4337-M0-Core/m-p/590185#M22031</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Free RTOS on LPC4337 M0 Core</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Free-RTOS-on-LPC4337-M0-Core/m-p/590186#M22032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bavarian on Thu Feb 07 11:01:39 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello Alex,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it seems to be finished. It's running fine on both cores at the same time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Go to this project: \lpcopen\applications\lpc18xx_43xx\examples\dualcore_43xx\blinky_freertos&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to generate the right board library before you compile the dualcore_blinky_freertos project: hope you have the KEIL MCB4357 board&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- compile lib_lpc_boards_18xx_43xx for both cores&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- compile dualcore_blinky_freertos for the M0 and flash it&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- compile dualcore_blinky_freertos for the M4 and flash it&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- reset&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- look at the UART port, jumper it for UART3&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then you can strip down the M4 project if you don't need an OS there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bernhard.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:15:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Free-RTOS-on-LPC4337-M0-Core/m-p/590186#M22032</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Free RTOS on LPC4337 M0 Core</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Free-RTOS-on-LPC4337-M0-Core/m-p/590187#M22033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Alex on Fri Feb 08 01:15:11 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Bernhard,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got it working. Thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:15:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Free-RTOS-on-LPC4337-M0-Core/m-p/590187#M22033</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:15:42Z</dc:date>
    </item>
  </channel>
</rss>

