<?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 Re: ASM_LABEL(no_one_to_run) in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/ASM-LABEL-no-one-to-run/m-p/351167#M11373</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call &lt;U&gt;task&lt;/U&gt;block, your task can’t be wake up again, it have give up control anytime.&lt;/P&gt;&lt;P&gt;&lt;U&gt;time&lt;/U&gt;delay will make your task add into ready queue again after timeout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dawei You（尤大为）&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Oct 2014 23:45:07 GMT</pubDate>
    <dc:creator>daweiyou</dc:creator>
    <dc:date>2014-10-27T23:45:07Z</dc:date>
    <item>
      <title>ASM_LABEL(no_one_to_run)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/ASM-LABEL-no-one-to-run/m-p/351164#M11370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am running the hello world example on a TWR-K60N512 ( the device number: PK60N512VMD100&amp;nbsp; Date Code 0M33Z)&lt;/P&gt;&lt;P&gt;With IAR, I just rebuilt the lib. (twr_k60n512) and ran the example with a bit of modification.&lt;/P&gt;&lt;P&gt;In the task loop I have the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(;;){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("\r Hello World %d",counter++); &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _time_delay(1000);&lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _task_block();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;Using the _time_delay(), I sometimes got to ASM_LABEL(no_one_to_run) and it stay there.&amp;nbsp; Sometimes it goes here after a couple of stop and go using the IAR debug.&lt;/P&gt;&lt;P&gt;Replace _time_delay() with _task_block(), I could see the mqx idle task runing.&lt;/P&gt;&lt;P&gt;My question:&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Am I using the right bsp package for my board?&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Is there any person having the same problem? if so please help with a fix (I had not seen this problem in previous mqx version)&lt;/P&gt;&lt;P&gt;3.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Should idle task runing during _time_delay ? (I have only one task, and I did have #define MQX_USE_IDLE_TASK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 )&lt;/P&gt;&lt;P&gt;4.&amp;nbsp;&amp;nbsp;&amp;nbsp; Why would the idle task run with _tack_block() but not with _time_delay()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put in another task I call lazyboy with the lower priority and have it do not thing( for the task loop I have for(;;); ) ; and I do not see the problem no matter how many time I try the stop and go)&lt;/P&gt;&lt;P&gt;4.&amp;nbsp;&amp;nbsp;&amp;nbsp; Is this the way to work around this problem?&lt;/P&gt;&lt;P&gt;Please Advice:smileysilly:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2014 22:25:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/ASM-LABEL-no-one-to-run/m-p/351164#M11370</guid>
      <dc:creator>Mit_3000GT_VR4</dc:creator>
      <dc:date>2014-10-24T22:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: ASM_LABEL(no_one_to_run)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/ASM-LABEL-no-one-to-run/m-p/351165#M11371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tongle:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0M33Z is really V1.0 part, so twr_k60n512 is correct bsp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no_one_to_run normally occurs when OS crash, idle task will run while your task give up control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So try not change anything, just run original project to see what happened.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dawei You（尤大为）&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 15:10:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/ASM-LABEL-no-one-to-run/m-p/351165#M11371</guid>
      <dc:creator>daweiyou</dc:creator>
      <dc:date>2014-10-27T15:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: ASM_LABEL(no_one_to_run)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/ASM-LABEL-no-one-to-run/m-p/351166#M11372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dawei,&lt;/P&gt;&lt;P&gt;First, thanks for the response.&lt;/P&gt;&lt;P&gt;Second, thank you for confirm my package selection.&amp;nbsp; I had my application run with previous mqx version before but had to give up because of the flash size.&lt;/P&gt;&lt;P&gt;Third, yes I knew the OS crash.&lt;/P&gt;&lt;P&gt;Fourth, yes I knew the idle task will run when my task give up control. (so you implied that calling _task_block() my task give up the control but not _time_delay()?)&lt;/P&gt;&lt;P&gt;Question:&lt;/P&gt;&lt;P&gt;Please inform me the different between calling _task_block and _time_delay regarding giving up control or not?&lt;/P&gt;&lt;P&gt;Your answer does not answer my question, maybe you misunderstood.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 19:59:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/ASM-LABEL-no-one-to-run/m-p/351166#M11372</guid>
      <dc:creator>Mit_3000GT_VR4</dc:creator>
      <dc:date>2014-10-27T19:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: ASM_LABEL(no_one_to_run)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/ASM-LABEL-no-one-to-run/m-p/351167#M11373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call &lt;U&gt;task&lt;/U&gt;block, your task can’t be wake up again, it have give up control anytime.&lt;/P&gt;&lt;P&gt;&lt;U&gt;time&lt;/U&gt;delay will make your task add into ready queue again after timeout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dawei You（尤大为）&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 23:45:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/ASM-LABEL-no-one-to-run/m-p/351167#M11373</guid>
      <dc:creator>daweiyou</dc:creator>
      <dc:date>2014-10-27T23:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: ASM_LABEL(no_one_to_run)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/ASM-LABEL-no-one-to-run/m-p/351168#M11374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dawei,&lt;/P&gt;&lt;P&gt;That is what I thought. But don't you think neither of them should make the OS crash?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 22:18:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/ASM-LABEL-no-one-to-run/m-p/351168#M11374</guid>
      <dc:creator>Mit_3000GT_VR4</dc:creator>
      <dc:date>2014-10-28T22:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: ASM_LABEL(no_one_to_run)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/ASM-LABEL-no-one-to-run/m-p/351169#M11375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;More over, why idle task ran when call _task_block() and not _time_delay()?&lt;/P&gt;&lt;P&gt;The only task, by calling _time_delay(), it is not ready to run again until timeout, where is the idle_task?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 22:23:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/ASM-LABEL-no-one-to-run/m-p/351169#M11375</guid>
      <dc:creator>Mit_3000GT_VR4</dc:creator>
      <dc:date>2014-10-28T22:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: ASM_LABEL(no_one_to_run)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/ASM-LABEL-no-one-to-run/m-p/351170#M11376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I couldn’t say what’s the root cause.&lt;/P&gt;&lt;P&gt;The time_delay function register timeout notification, which is based on system tick,&lt;/P&gt;&lt;P&gt;So if no clear situation, it’s better to build original BSP and application to try, keep original code is clean.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dawei You（尤大为）&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 15:29:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/ASM-LABEL-no-one-to-run/m-p/351170#M11376</guid>
      <dc:creator>daweiyou</dc:creator>
      <dc:date>2014-10-29T15:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: ASM_LABEL(no_one_to_run)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/ASM-LABEL-no-one-to-run/m-p/351171#M11377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I build the bsp as is, no modification.&amp;nbsp; It is only the example that I changed. I don't think, mqx is written for printing one line of "Hello world" one time.&lt;/P&gt;&lt;P&gt;Thanks for being honest, you don't know what the cause is.&lt;/P&gt;&lt;P&gt;Your information is text book accurate, but does not help.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 17:19:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/ASM-LABEL-no-one-to-run/m-p/351171#M11377</guid>
      <dc:creator>Mit_3000GT_VR4</dc:creator>
      <dc:date>2014-10-29T17:19:29Z</dc:date>
    </item>
  </channel>
</rss>

