<?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>Kinetis Microcontrollers中的主题 Re: RTOS Schedule</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1449288#M62985</link>
    <description>&lt;P&gt;HI Daniel,&lt;/P&gt;&lt;P&gt;It does not work for me.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Christie&lt;/P&gt;</description>
    <pubDate>Tue, 26 Apr 2022 14:32:01 GMT</pubDate>
    <dc:creator>a8Chcx</dc:creator>
    <dc:date>2022-04-26T14:32:01Z</dc:date>
    <item>
      <title>RTOS Schedule</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1447923#M62948</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using MCUXpresso 11.5.0 with SDK 2.11.0 On FRDM-K66 board.&lt;/P&gt;&lt;P&gt;It works fine with single task, I can create, run, delete, and etc...&lt;/P&gt;&lt;P&gt;But, when I create the second one, the first one stop working, like not schedule...&lt;/P&gt;&lt;P&gt;Then, I try "freertos_mutex.c), and it does not work either...&lt;/P&gt;&lt;P&gt;Can anybody tell me how to fix this problem?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Christie&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2022 15:41:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1447923#M62948</guid>
      <dc:creator>a8Chcx</dc:creator>
      <dc:date>2022-04-22T15:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: RTOS Schedule</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1447995#M62950</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;Can you please show me how are you creating your tasks and how your tasks are defined?&lt;/P&gt;
&lt;P&gt;Or if I could get a copy of your project to take a deeper look it would be great.&lt;/P&gt;
&lt;P&gt;Regards, Daniel.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2022 19:55:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1447995#M62950</guid>
      <dc:creator>DanielRuvalcaba</dc:creator>
      <dc:date>2022-04-22T19:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: RTOS Schedule</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1448003#M62951</link>
      <description>&lt;P&gt;HI Daniel,&lt;/P&gt;&lt;P&gt;I try the sample code and works fine.&lt;/P&gt;&lt;P&gt;Then, I change to my code and behavior is wrong.&lt;/P&gt;&lt;P&gt;1) If I use the different priority, it will only print it for higher priority task.&lt;/P&gt;&lt;P&gt;2) If I just print the message on two tasks with same priority, it print the message for one, not two...&lt;/P&gt;&lt;P&gt;Only way to print the message properly is to use mutex with same priority on both tasks.&lt;/P&gt;&lt;P&gt;I use a lot in bare-metal environment and using PRINTF for my debug. I have to use MbedTLS for https server and client, looks like I have to use Free RTOS instead of bare-metal environment. I have the following questions:&lt;/P&gt;&lt;P&gt;1) What is the best way to debug the my application in RTOS?&lt;/P&gt;&lt;P&gt;2) I have one task to read https server page by using https client, it will take around 1 or 2s. Can you tell me how set up the task?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Christie&lt;/P&gt;&lt;P&gt;Questions:&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2022 20:59:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1448003#M62951</guid>
      <dc:creator>a8Chcx</dc:creator>
      <dc:date>2022-04-22T20:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: RTOS Schedule</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1448038#M62952</link>
      <description>&lt;P&gt;You have to make sure that every task should return some time (vTaskDelay() or the like) so other tasks have a chance to get CPU time.&lt;/P&gt;&lt;P&gt;As for debugging: see &lt;A href="https://mcuoneclipse.com/2017/03/18/better-freertos-debugging-in-eclipse/" target="_blank"&gt;https://mcuoneclipse.com/2017/03/18/better-freertos-debugging-in-eclipse/&lt;/A&gt; or consider using the SEGGER SystemView (&lt;A href="https://mcuoneclipse.com/2015/11/16/segger-systemview-realtime-analysis-and-visualization-for-freertos/" target="_blank"&gt;https://mcuoneclipse.com/2015/11/16/segger-systemview-realtime-analysis-and-visualization-for-freertos/&lt;/A&gt; ) as it provides a graphical view when tasks (and why) are running.&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Sat, 23 Apr 2022 06:35:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1448038#M62952</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2022-04-23T06:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: RTOS Schedule</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1448548#M62956</link>
      <description>&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;P&gt;After adding VtaskDelay, it works fine...&lt;/P&gt;&lt;P&gt;Then, I tried to debug my application, I click RTOS on IDE, the windows are popped up, but no real-time display, like task name, heapsize, and etc...I am using P&amp;amp;E mutilink USB tool to flash...&lt;/P&gt;&lt;P&gt;1) Can you tell me how to set up debugging?&lt;/P&gt;&lt;P&gt;2) My bear-metal application works fine, can I just create one task, then put bare-metal in it? All functions in bare-metal should work?&lt;/P&gt;&lt;P&gt;3) How many tasks should I create? Any rule?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Christie&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 12:52:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1448548#M62956</guid>
      <dc:creator>a8Chcx</dc:creator>
      <dc:date>2022-04-25T12:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: RTOS Schedule</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1448591#M62958</link>
      <description>&lt;P&gt;1) Keep in mind that the views are stop-mode views: you have to suspend/halt/pause the target to see the data.&lt;/P&gt;&lt;P&gt;2) That all depends what your application is doing. In general 'yes, but....'&lt;/P&gt;&lt;P&gt;3) There are no rules. Keep in mind that there is always the IDLE task created by the RTOS, plus depending on your setting the timer service task (see for example &lt;A href="https://mcuoneclipse.com/2018/05/27/tutorial-understanding-and-using-freertos-software-timers/" target="_blank"&gt;https://mcuoneclipse.com/2018/05/27/tutorial-understanding-and-using-freertos-software-timers/&lt;/A&gt; ). Usually a system has around 3-6 tasks running, again depending on the application.&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 14:02:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1448591#M62958</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2022-04-25T14:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: RTOS Schedule</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1448601#M62959</link>
      <description>&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;When I suspend the application, it says RTOS is not detected.&lt;/P&gt;&lt;P&gt;Do I need to change any setting?&lt;/P&gt;&lt;P&gt;The project I am using is https server demo project from SDK...&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Christie&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 14:16:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1448601#M62959</guid>
      <dc:creator>a8Chcx</dc:creator>
      <dc:date>2022-04-25T14:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: RTOS Schedule</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1448605#M62960</link>
      <description>&lt;P&gt;have you enabled/integrated the freertos_tasks_c_additions.h file?&lt;/P&gt;&lt;P&gt;If not, the debugger expects that data to be present in the application, see &lt;A href="https://mcuoneclipse.com/2017/03/18/better-freertos-debugging-in-eclipse/" target="_blank"&gt;https://mcuoneclipse.com/2017/03/18/better-freertos-debugging-in-eclipse/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 14:19:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1448605#M62960</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2022-04-25T14:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: RTOS Schedule</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1448619#M62961</link>
      <description>&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;I tried mutex sample and it displays the message if I suspend app...&lt;/P&gt;&lt;P&gt;But, the other one(sample from https server) can't display anything. My app keeps running, not suspend.&lt;/P&gt;&lt;P&gt;Please tell me if I need to set up something?&lt;/P&gt;&lt;P&gt;Another question: There is any way to see the running messages?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Christie&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 14:32:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1448619#M62961</guid>
      <dc:creator>a8Chcx</dc:creator>
      <dc:date>2022-04-25T14:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: RTOS Schedule</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1448620#M62962</link>
      <description>&lt;P&gt;I really don't know what you mean with 'message'? Have you followed my article above and checked all the points already?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 14:35:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1448620#M62962</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2022-04-25T14:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: RTOS Schedule</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1448624#M62963</link>
      <description>&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;What I mean is if I can see the running task, heap size and etc.. when app is running?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"freertos_tasks_c_additions.h" file is included in both projects and I follow your web...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;One is working, the other one is not...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can be related to heap.x because I saw one is using heap_4.c and other one is using heap_3.c?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Christie&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 14:49:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1448624#M62963</guid>
      <dc:creator>a8Chcx</dc:creator>
      <dc:date>2022-04-25T14:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: RTOS Schedule</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1448630#M62964</link>
      <description>&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;I have the same problem as following link:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/MCUXpresso-SDK/FreeRTOS-Task-Aware-Debug-issue-for-lwip-httpssrv-mbedTLS/m-p/1320806#M3293" target="_blank"&gt;https://community.nxp.com/t5/MCUXpresso-SDK/FreeRTOS-Task-Aware-Debug-issue-for-lwip-httpssrv-mbedTLS/m-p/1320806#M3293&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you tell how to fix it finally?&lt;/P&gt;&lt;P&gt;I tried to use heap_3.c in mutex sample and works fine as well...&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Christie&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 15:22:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1448630#M62964</guid>
      <dc:creator>a8Chcx</dc:creator>
      <dc:date>2022-04-25T15:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: RTOS Schedule</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1448665#M62966</link>
      <description>&lt;P&gt;you won't be able to see heap information if you are using a wrapper to malloc() and the likes, because they do not have the information needed. But you will see all the other information.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 17:19:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1448665#M62966</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2022-04-25T17:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: RTOS Schedule</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1448671#M62967</link>
      <description>&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Have you solve the issue in the following link. Looks like I have the same problem, no data displayed...&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/MCUXpresso-SDK/FreeRTOS-Task-Aware-Debug-issue-for-lwip-httpssrv-mbedTLS/m-p/1320806#M3293" target="_blank"&gt;https://community.nxp.com/t5/MCUXpresso-SDK/FreeRTOS-Task-Aware-Debug-issue-for-lwip-httpssrv-mbedTLS/m-p/1320806#M3293&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Christie&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 17:55:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1448671#M62967</guid>
      <dc:creator>a8Chcx</dc:creator>
      <dc:date>2022-04-25T17:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: RTOS Schedule</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1448740#M62971</link>
      <description>&lt;P&gt;Hello Christie&lt;/P&gt;
&lt;P&gt;Can you please take a look to following thread? It looks like someone had a similar problem and they’ve found a solution.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-RT/FreeRTOS-Run-Time-Statistics-Not-Working/m-p/1341402" target="_blank"&gt;https://community.nxp.com/t5/i-MX-RT/FreeRTOS-Run-Time-Statistics-Not-Working/m-p/1341402&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps, Daniel.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 21:02:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1448740#M62971</guid>
      <dc:creator>DanielRuvalcaba</dc:creator>
      <dc:date>2022-04-25T21:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: RTOS Schedule</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1449288#M62985</link>
      <description>&lt;P&gt;HI Daniel,&lt;/P&gt;&lt;P&gt;It does not work for me.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Christie&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 14:32:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/RTOS-Schedule/m-p/1449288#M62985</guid>
      <dc:creator>a8Chcx</dc:creator>
      <dc:date>2022-04-26T14:32:01Z</dc:date>
    </item>
  </channel>
</rss>

