<?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 MQX Task scheduling with timer task and MQX Watchdog. in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Task-scheduling-with-timer-task-and-MQX-Watchdog/m-p/739283#M17694</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Regarding the Timer component and it's preemption with other Task's.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have several tasks "ready"&amp;nbsp;with almost the same priority and with sliced timer. I also have a timer component (_timer_create_component) modified to also be sliced timer. For all&amp;nbsp;the task's I have a MQX&amp;nbsp;SW Watchdog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the task's behave as expected with the "time sliced".&amp;nbsp;When&amp;nbsp;I introduce a indefinite loop in one of the task's, the other task's are allowed to execute and feed the&amp;nbsp;SW&amp;nbsp;Dog and eventually the corrupted task will timeout and call the MQX watchdog callback (as expected).&amp;nbsp;But when introducing&amp;nbsp;a indefinite loop in timer callback of the "timer component" the other task's will execute a few times and then the HW watchdog will eventually kick in. I don't get the SW MQX watchdog callback from the "Timer Task" (timer component).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I debug Task scheduling with Keil? Is there a run-time debug "window" for the task swapping like with freemaster? And&amp;nbsp;what have I misunderstood with the timer task and it not being timer sliced?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I'm using&amp;nbsp;K60&amp;nbsp;CPU w keil and ulinkpro w trace support)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Apr 2018 06:48:55 GMT</pubDate>
    <dc:creator>mrandreas</dc:creator>
    <dc:date>2018-04-17T06:48:55Z</dc:date>
    <item>
      <title>MQX Task scheduling with timer task and MQX Watchdog.</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Task-scheduling-with-timer-task-and-MQX-Watchdog/m-p/739283#M17694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Regarding the Timer component and it's preemption with other Task's.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have several tasks "ready"&amp;nbsp;with almost the same priority and with sliced timer. I also have a timer component (_timer_create_component) modified to also be sliced timer. For all&amp;nbsp;the task's I have a MQX&amp;nbsp;SW Watchdog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the task's behave as expected with the "time sliced".&amp;nbsp;When&amp;nbsp;I introduce a indefinite loop in one of the task's, the other task's are allowed to execute and feed the&amp;nbsp;SW&amp;nbsp;Dog and eventually the corrupted task will timeout and call the MQX watchdog callback (as expected).&amp;nbsp;But when introducing&amp;nbsp;a indefinite loop in timer callback of the "timer component" the other task's will execute a few times and then the HW watchdog will eventually kick in. I don't get the SW MQX watchdog callback from the "Timer Task" (timer component).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I debug Task scheduling with Keil? Is there a run-time debug "window" for the task swapping like with freemaster? And&amp;nbsp;what have I misunderstood with the timer task and it not being timer sliced?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I'm using&amp;nbsp;K60&amp;nbsp;CPU w keil and ulinkpro w trace support)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 06:48:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Task-scheduling-with-timer-task-and-MQX-Watchdog/m-p/739283#M17694</guid>
      <dc:creator>mrandreas</dc:creator>
      <dc:date>2018-04-17T06:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: MQX Task scheduling with timer task and MQX Watchdog.</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Task-scheduling-with-timer-task-and-MQX-Watchdog/m-p/739284#M17695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mrandreas:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I know, keil uses simple debugger (which do not support multi task debugging )&amp;nbsp; and adding multi task switching&amp;nbsp; to TAD without debugger support presents very difficult task. So I recommend to change to some proper debugger which supports multi task debugging, like CW, IAR,KDS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 07:56:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Task-scheduling-with-timer-task-and-MQX-Watchdog/m-p/739284#M17695</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2018-05-29T07:56:25Z</dc:date>
    </item>
  </channel>
</rss>

