<?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>ColdFire/68K Microcontrollers and ProcessorsのトピックRe: JM and FreeRTOS</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/201002#M9268</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have gotten spoiled by the convenience of Processor Expert,&amp;nbsp;&amp;nbsp; its benefits outweigh its limitations in my experience.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used FreeRTOS on other projects using other CPUs,&amp;nbsp; the project I am working on now uses the Coldfire JM, so I would love to use FreeRTOS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I saw your work,&amp;nbsp; and may use it as a guide.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 05 Mar 2011 06:46:50 GMT</pubDate>
    <dc:creator>TurboBob</dc:creator>
    <dc:date>2011-03-05T06:46:50Z</dc:date>
    <item>
      <title>JM and FreeRTOS</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200970#M9236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does anyone have a FreeRTOS port for the JM128?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your time,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rajah&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Nov 2008 14:35:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200970#M9236</guid>
      <dc:creator>RajahMC</dc:creator>
      <dc:date>2008-11-08T14:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: JM and FreeRTOS</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200971#M9237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Rajah MC,&lt;BR /&gt;&lt;BR /&gt;V1 ports do exist... But I'm not aware of the JM128 version yet.&amp;nbsp; I expect it to be easy to do, as I'm aware of another V1 port.&amp;nbsp; The catch is probably finding a good USB stack to use in conjunction with FreeRTOS.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;What features do you need supported?&amp;nbsp; Are you using the USB on the JM128?&lt;BR /&gt;&lt;BR /&gt;-JWW&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2008 10:11:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200971#M9237</guid>
      <dc:creator>JWW</dc:creator>
      <dc:date>2008-11-11T10:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: JM and FreeRTOS</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200972#M9238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Hi JWW,&lt;BR /&gt;&lt;BR /&gt;Thanks for your response. I will need support for USB for the JM.&lt;BR /&gt;&lt;BR /&gt;I did see a &lt;A href="http://forums.freescale.com/freescale/board/message?board.id=CFCOMM&amp;amp;message.id=4132&amp;amp;query.id=16552#M4132" target="_blank"&gt;FreeRTOS port for QE&lt;/A&gt; on the forums.&lt;BR /&gt;&lt;BR /&gt;I am making changes to the QE port to make it work with the JM.&lt;BR /&gt;I am stuck with an ILLEGAL_BP when debugging and I have no&lt;BR /&gt;clue as to what is causing it. Once I have it working, I was planning&lt;BR /&gt;add support for USB.&lt;BR /&gt;&lt;BR /&gt;I was hoping someone had one working already &lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;BR /&gt;&lt;BR /&gt;Rajah&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2008 00:28:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200972#M9238</guid>
      <dc:creator>RajahMC</dc:creator>
      <dc:date>2008-11-12T00:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: JM and FreeRTOS</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200973#M9239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I believe there is a newer version (update for V1) coming out.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;I'll double check to see if there are parts (pieces of code) that can be released to improvement stability etc...&lt;BR /&gt;&lt;BR /&gt;-JWW&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Note: Latest port on web has ColdFire V2 support&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="Arial, Helvetica"&gt;&lt;B&gt;&lt;I&gt;&lt;FONT color="#ff0000"&gt;FreeRTOS.org&lt;SMALL&gt;&lt;SUP&gt;TM&lt;/SUP&gt;&lt;/SMALL&gt; V5.1.0 Now Available:&lt;/FONT&gt;&lt;/I&gt;&lt;/B&gt;&lt;BR /&gt; New ports include ColdFire V2 using CodeWarrior&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.freescale.com/www.freertos.org" rel="nofollow" target="_blank"&gt;www.freertos.org&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2008 12:01:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200973#M9239</guid>
      <dc:creator>JWW</dc:creator>
      <dc:date>2008-11-12T12:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: JM and FreeRTOS</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200974#M9240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi JWW,&lt;BR /&gt;&lt;BR /&gt;I managed to take the QE RTOS code base and modified it to work&lt;BR /&gt;with the JM demo board.&amp;nbsp; I also added two example tasks.&lt;BR /&gt;&lt;BR /&gt;I am working on adding USB now, getting a good USB stack seems&lt;BR /&gt;to the biggest issue right now. Will post code if I get it working.&lt;BR /&gt;&lt;BR /&gt;Thanks for everyones time.&lt;BR /&gt;&lt;BR /&gt;Credits go to thm59 for the QE port.&lt;BR /&gt;&lt;A href="http://forums.freescale.com/freescale/board/message?board.id=CFCOMM&amp;amp;message.id=4132&amp;amp;query.id=16552#M4132" target="test_blank"&gt;http://forums.freescale.com/freescale/board/message?board.id=CFCOMM&amp;amp;message.id=4132&amp;amp;query.id=16552#M4132&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Rajah&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.freescale.com/files/community_files/CFCOMM/5848_JMMyProgs.zip" rel="nofollow" target="_self"&gt;JMMyProgs.zip&lt;/A&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by t.dowe on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-10-21&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;01:58 AM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Dec 2008 04:56:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200974#M9240</guid>
      <dc:creator>RajahMC</dc:creator>
      <dc:date>2008-12-21T04:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: JM and FreeRTOS</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200975#M9241</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;I believe there are some errors in this port.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "dummy save" and "dummy restore" should not be used. Instead, use some "naked" attribute for system ISRs.&amp;nbsp; After the "dummy restore" instructions, registers D0 and D1 might be changed, and just after that task context is saved. That can cause errors in any very simple task.I.e., the context is modified by the system interruption!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, there is a wrong line that has been (accidentally I suppose) inserted in a system file (queue.c).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Besides in hardware.c functions, inline assembly is used, modifying directly cpu registers without saving their values before. That can lead to errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had also some problem with memcpy from &amp;lt;string.h&amp;gt; in CodeWarrior 6.2 forColdfirev1. That need to be checked out more carefully. But anyway, replacing memcpy in queue.c by a "home made" code in C can fix that problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Soon I should be posting a version that works fine for MCF51JM128&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eduardo A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 21:51:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200975#M9241</guid>
      <dc:creator>BSN</dc:creator>
      <dc:date>2009-05-05T21:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: JM and FreeRTOS</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200976#M9242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a fast solution for this, just changing the order of things in port.c timer 1 interuption can solve the problem:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Change from this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;interrupt VectorNumber_Vtpm1ch0&amp;nbsp;&amp;nbsp; vTimerISR( void )&lt;BR /&gt;{&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; asm( MOVEM.L (A7),D0-D2/A0-A1);&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; // dummy restore&lt;BR /&gt;&amp;nbsp;&amp;nbsp; asm( LEA 20(A7),A7 );&lt;BR /&gt;&amp;nbsp;&amp;nbsp; asm( UNLK A6);&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TPM1C0V += cThisTimerInc;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TPM1C0SC &amp;amp;= (~0x80);&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; /* Reset interrupt request flag */&lt;BR /&gt;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;interrupt VectorNumber_Vtpm1ch0&amp;nbsp;&amp;nbsp; vTimerISR( void )&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TPM1C0V += cThisTimerInc;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TPM1C0SC &amp;amp;= (~0x80);&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; /* Reset interrupt request flag */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; asm( MOVEM.L (A7),D0-D2/A0-A1);&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; // dummy restore&lt;BR /&gt;&amp;nbsp;&amp;nbsp; asm( LEA 20(A7),A7 );&lt;BR /&gt;&amp;nbsp;&amp;nbsp; asm( UNLK A6);&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That will do it.&lt;/P&gt;&lt;P&gt;Don't forget to take a look at your memcpy (in queue.c) if you are going to use Codewarrior 6.2 and&amp;nbsp; be careful with those hardware.c functions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eduardo&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;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 22:44:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200976#M9242</guid>
      <dc:creator>BSN</dc:creator>
      <dc:date>2009-05-05T22:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: JM and FreeRTOS</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200977#M9243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any updates on this project?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 20:42:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200977#M9243</guid>
      <dc:creator>wrljet</dc:creator>
      <dc:date>2009-05-18T20:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: JM and FreeRTOS</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200978#M9244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm sorry for not answering before...(as I had said, that I would..!)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have searched a little bit about some "naked" attribute, but Aff... it is not that easy to find such a "clear" information! So I was using the fixed version I explained before. (I have also changed that memcpy and the hardware issues...). For memcpy, I could not force the compiler to use my definition of memcpy... it was always taking the codewarrior implementation of memcpy, so I had to change in queue.c "memcpy" by "memcpy_alt". That is&amp;nbsp; clearly not the best way to do it. But it works.. If you know how to force compiler to give preference to user functions instead of his owns, let me know!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this version, two headers "hardware.h" and "usertasks.h" have been manually inserted into main.c, hardware.c and usertasks.c, because I'm using Codewarior "free", and I'm limited in number of files. I could change those for the includes, but I prefered to let it like that, so I'm sure that what I am posting here works... no mistakes. :smileyhappy:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/files/community_files/CFCOMM/6929_Port_MCF51JM128.zip" rel="nofollow" target="_self"&gt;Port_MCF51JM128.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by t.dowe on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-10-21&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;01:59 AM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2009 01:48:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200978#M9244</guid>
      <dc:creator>BSN</dc:creator>
      <dc:date>2009-05-21T01:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: JM and FreeRTOS</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200979#M9245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&amp;nbsp; I will give it a try.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2009 20:40:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200979#M9245</guid>
      <dc:creator>wrljet</dc:creator>
      <dc:date>2009-05-21T20:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: JM and FreeRTOS</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200980#M9246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eduardo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's working.&amp;nbsp; Very nice.&amp;nbsp; And I love the way you rearranged the debugger windows.&lt;/P&gt;&lt;P&gt;I didn't know you could do that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 May 2009 00:19:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200980#M9246</guid>
      <dc:creator>wrljet</dc:creator>
      <dc:date>2009-05-23T00:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: JM and FreeRTOS</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200981#M9247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are not serious about the debugger windows....&lt;/P&gt;&lt;P&gt;&amp;nbsp; It's to bad... Now that you said, I should have re-arranged that... :smileysad:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 May 2009 00:45:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200981#M9247</guid>
      <dc:creator>BSN</dc:creator>
      <dc:date>2009-05-23T00:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: JM and FreeRTOS</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200982#M9248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I knew you could adjust their relative sizes, but never thought about a layout&lt;/P&gt;&lt;P&gt;like yours.&amp;nbsp; I do like the much larger source code window.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any gut feeling how much performance overhead the task switches take?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 May 2009 00:47:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200982#M9248</guid>
      <dc:creator>wrljet</dc:creator>
      <dc:date>2009-05-23T00:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: JM and FreeRTOS</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200983#M9249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe it is not that much. I don't know right now to tell you exactely how you can do that with this IDE... But you can measure the context switch time using an oscilloscope and changing port pins values (LEDS...) when context switch occurs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 May 2009 01:11:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200983#M9249</guid>
      <dc:creator>BSN</dc:creator>
      <dc:date>2009-05-23T01:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: JM and FreeRTOS</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200984#M9250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please excuse my ignorance of this whole topic, but here's an experiment I just ran.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To your existing two userTasks, I added a 3rd task:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;void led2Task(void *pvParameters)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; (void) pvParameters;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for( ;; ) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; LED_4 = !LED_4;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; taskYIELD();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is that a valid experiment?&lt;/P&gt;&lt;P&gt;The LED toggles every 5.2us on the scope, while the other tasks continue to run normally.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 May 2009 01:57:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200984#M9250</guid>
      <dc:creator>wrljet</dc:creator>
      <dc:date>2009-05-23T01:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: JM and FreeRTOS</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200985#M9251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, of course it is valid - It is a good solution for that measurement. When you yield, the OS will check for tasks that are able to run. Beacause other tasks are all sleeping, that one is the only one able to run, with a priority higher then IDLE task.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, 5.2 us is the time it takes to switch context&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 May 2009 02:04:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200985#M9251</guid>
      <dc:creator>BSN</dc:creator>
      <dc:date>2009-05-23T02:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: JM and FreeRTOS</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200986#M9252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can this RTOS code work with Register calling convention?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 May 2009 08:31:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200986#M9252</guid>
      <dc:creator>wrljet</dc:creator>
      <dc:date>2009-05-24T08:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: JM and FreeRTOS</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200987#M9253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cannot "guarantee" you that, but I'm pretty sure YES, you can use Register ABI without any problems. That because the context of a task is totally preserved in a context switch. All the pointers (An), all the registers (Dn), SR, the stack,...&amp;nbsp; - everything is preserved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't see any reason why using Reg ABI would not work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for not answering before&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2009 20:05:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200987#M9253</guid>
      <dc:creator>BSN</dc:creator>
      <dc:date>2009-05-29T20:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: JM and FreeRTOS</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200988#M9254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Two small corrections for that file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 - Change in FreeRTOSConfig.h the processor frequency from 25000000 to 24000000&lt;/P&gt;&lt;P&gt;2 - Change in port.c, in the function&amp;nbsp; TickTimer_SetFreqH:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set TPM1C0SC = 0x10 &amp;nbsp; instead of&amp;nbsp; TPM1C0SC = 0x1C&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Doing so will put ELS bits of TPM1C0SC to zero, and let PTE2 pin free as I/O (that pin is connected to LED1).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 May 2009 21:31:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200988#M9254</guid>
      <dc:creator>BSN</dc:creator>
      <dc:date>2009-05-29T21:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: JM and FreeRTOS</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200989#M9255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eduardo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for those corrections.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had found and changed the 24 MHz myself, and I forgot to mention that to you before.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For what it's worth, I'm soon going to try the FreeRTOS on my own hardware, a few pics&lt;/P&gt;&lt;P&gt;of which are here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.wrljet.com/junk/Eisbock-unstacked-circled.jpg" target="test_blank"&gt;http://www.wrljet.com/junk/Eisbock-unstacked-circled.jpg&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.wrljet.com/junk/Eisbock-unstacked-ribbon.jpg" target="test_blank"&gt;http://www.wrljet.com/junk/Eisbock-unstacked-ribbon.jpg&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.wrljet.com/junk/Eisbock-stacked.jpg" target="test_blank"&gt;http://www.wrljet.com/junk/Eisbock-stacked.jpg&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bill&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>Fri, 29 May 2009 21:48:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/JM-and-FreeRTOS/m-p/200989#M9255</guid>
      <dc:creator>wrljet</dc:creator>
      <dc:date>2009-05-29T21:48:21Z</dc:date>
    </item>
  </channel>
</rss>

