<?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 MC1322x + SMAC + FreeRTOS + Eclipse + GNU in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC1322x-SMAC-FreeRTOS-Eclipse-GNU/m-p/159534#M9497</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a link to a project that ports FreeRTOS to the MC1322x.&amp;nbsp; I started with a Generic App SMAC application and doctored it to fit a scheme more appropriate for mulitple boards and multiple IDE types.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.gadgetworks.com%2F%3Fq%3Dnode%2F3" rel="nofollow" target="_blank"&gt;http://www.gadgetworks.com/?q=node/3&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This archive contains two projects: an IAR project that runs, builds and debugs, and an Eclipse IDE project that almost builds.&amp;nbsp; More info on this Eclipse effort through the link - tho'&amp;nbsp; this is not an IAR integration of Eclipse, but rather a use of the GNU-ARM toolchain.&amp;nbsp; This will expand our dev and debug platform choices to include FreeBSD, Linux, and MacOS X.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 08 Mar 2009 01:59:34 GMT</pubDate>
    <dc:creator>jeffw</dc:creator>
    <dc:date>2009-03-08T01:59:34Z</dc:date>
    <item>
      <title>MC1322x + SMAC + FreeRTOS + Eclipse + GNU</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC1322x-SMAC-FreeRTOS-Eclipse-GNU/m-p/159534#M9497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a link to a project that ports FreeRTOS to the MC1322x.&amp;nbsp; I started with a Generic App SMAC application and doctored it to fit a scheme more appropriate for mulitple boards and multiple IDE types.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.gadgetworks.com%2F%3Fq%3Dnode%2F3" rel="nofollow" target="_blank"&gt;http://www.gadgetworks.com/?q=node/3&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This archive contains two projects: an IAR project that runs, builds and debugs, and an Eclipse IDE project that almost builds.&amp;nbsp; More info on this Eclipse effort through the link - tho'&amp;nbsp; this is not an IAR integration of Eclipse, but rather a use of the GNU-ARM toolchain.&amp;nbsp; This will expand our dev and debug platform choices to include FreeBSD, Linux, and MacOS X.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Mar 2009 01:59:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC1322x-SMAC-FreeRTOS-Eclipse-GNU/m-p/159534#M9497</guid>
      <dc:creator>jeffw</dc:creator>
      <dc:date>2009-03-08T01:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: MC1322x + SMAC + FreeRTOS + Eclipse + GNU</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC1322x-SMAC-FreeRTOS-Eclipse-GNU/m-p/159535#M9498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi, I tried this project, loaded into SRB, and it doesn't work. Any "tips" for using it?.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2009 22:56:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC1322x-SMAC-FreeRTOS-Eclipse-GNU/m-p/159535#M9498</guid>
      <dc:creator>esk021</dc:creator>
      <dc:date>2009-10-14T22:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: MC1322x + SMAC + FreeRTOS + Eclipse + GNU</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC1322x-SMAC-FreeRTOS-Eclipse-GNU/m-p/159536#M9499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As an alternative, you might give this project a try:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;A href="http://mc1322x.devl.org" rel="nofollow" target="_self"&gt;http://mc1322x.devl.org&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2009 07:22:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC1322x-SMAC-FreeRTOS-Eclipse-GNU/m-p/159536#M9499</guid>
      <dc:creator>redbee</dc:creator>
      <dc:date>2009-10-20T07:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: MC1322x + SMAC + FreeRTOS + Eclipse + GNU</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC1322x-SMAC-FreeRTOS-Eclipse-GNU/m-p/159537#M9500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeff,&lt;/P&gt;&lt;P&gt;I have tried your port, and it works OK for the led flash demo, but when i tried to make tasks delay it crashed. After a bit of debugging, I discovered your fixed up IRQ stack routine was being executed in the SWI handler, which wwas not being handled by the ROM IRQ handler. Either you need to do both by ROM, or run the non fixed context switch on the SWI routine. I did this and it worked fine. I tried another approach that might be easier to maintain and understand - for the IRQ handler I wrote this simple code in portasm.s79:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;vIrqHandler:&lt;BR /&gt;&amp;nbsp;PUSH&amp;nbsp;{R0}&lt;BR /&gt;&amp;nbsp;LDR&amp;nbsp;R0, vIrqTimerPtr&amp;nbsp;;get pointer to Timer Status_Control&lt;BR /&gt;&amp;nbsp;LDRH&amp;nbsp;R0, [R0, #+0]&amp;nbsp;&amp;nbsp;;read Status_Control&lt;BR /&gt;&amp;nbsp;TST&amp;nbsp;R0, #0x8000&amp;nbsp;&amp;nbsp;;see if TCF set&lt;BR /&gt;&amp;nbsp;POP&amp;nbsp;{R0}&amp;nbsp;&amp;nbsp;&amp;nbsp;;finished with temp register&lt;BR /&gt;&amp;nbsp;BEQ &amp;nbsp;IrqHandler&amp;nbsp;&amp;nbsp;;process non RTOS Timer Interrupt&lt;/P&gt;&lt;P&gt;#if configUSE_PREEMPTION == 1&lt;BR /&gt;&amp;nbsp;B&amp;nbsp;vPortPreemptiveTickEntry&lt;BR /&gt;#else&lt;BR /&gt;&amp;nbsp;B&amp;nbsp;vPortNonPreemptiveTick&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;vIrqTimerPtr:&lt;BR /&gt;&amp;nbsp;DC32&amp;nbsp;0x8000700e + (0 * 0x20)&amp;nbsp;;pointer to timer SCTRL register #0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This simple code check our RTOS timer first, if expired process as per standard FreeRTOS ports, otherwise just runs the ROM IRQ handler for the other interrupts. This has the advantage of reduced latency and leaves the bulk of port.C as per LPC2000 demo. It is also independant of ROM versions too. This method would also work well for UCOS-II etc etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dean.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2010 12:24:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC1322x-SMAC-FreeRTOS-Eclipse-GNU/m-p/159537#M9500</guid>
      <dc:creator>sharning</dc:creator>
      <dc:date>2010-02-10T12:24:42Z</dc:date>
    </item>
  </channel>
</rss>

