<?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 problem occurs when i integrated my code with Coldfire_Lite project in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/problem-occurs-when-i-integrated-my-code-with-Coldfire-Lite/m-p/206924#M9860</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;i am using mcf52235EVB board and keeping the Coldfire_Lite V30.0 as base and i tried to intergrate my code. i need to use TCP communcation with other system and i need to communicate with LCD using UART.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;By keeping Coldfire_Lite_TCP_server as target i created a task to handle the LCD module. in the task entry i am initialized the UART2 and in the infinet loop calling the LCD function.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;After executing the first command the control goes the uart2_isr() routine and not executing the other function if control goes to the next function also it not displaying in LCD.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;when i implemanted separately in the new project it's working fine. only interrupt is genterated when&amp;nbsp;soft buuton is &amp;nbsp;pressed&amp;nbsp;in LCD.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Does any setting show be done for Coldfire_Lite project.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;could you please help me.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Dec 2008 22:09:50 GMT</pubDate>
    <dc:creator>paddy</dc:creator>
    <dc:date>2008-12-02T22:09:50Z</dc:date>
    <item>
      <title>problem occurs when i integrated my code with Coldfire_Lite project</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/problem-occurs-when-i-integrated-my-code-with-Coldfire-Lite/m-p/206924#M9860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;i am using mcf52235EVB board and keeping the Coldfire_Lite V30.0 as base and i tried to intergrate my code. i need to use TCP communcation with other system and i need to communicate with LCD using UART.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;By keeping Coldfire_Lite_TCP_server as target i created a task to handle the LCD module. in the task entry i am initialized the UART2 and in the infinet loop calling the LCD function.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;After executing the first command the control goes the uart2_isr() routine and not executing the other function if control goes to the next function also it not displaying in LCD.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;when i implemanted separately in the new project it's working fine. only interrupt is genterated when&amp;nbsp;soft buuton is &amp;nbsp;pressed&amp;nbsp;in LCD.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Does any setting show be done for Coldfire_Lite project.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;could you please help me.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2008 22:09:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/problem-occurs-when-i-integrated-my-code-with-Coldfire-Lite/m-p/206924#M9860</guid>
      <dc:creator>paddy</dc:creator>
      <dc:date>2008-12-02T22:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: problem occurs when i integrated my code with Coldfire_Lite project</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/problem-occurs-when-i-integrated-my-code-with-Coldfire-Lite/m-p/206925#M9861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;In your new task's infinite loop, are you remembering to call tk_yield(), or some other similar function?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;-- Rich&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 05:50:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/problem-occurs-when-i-integrated-my-code-with-Coldfire-Lite/m-p/206925#M9861</guid>
      <dc:creator>RichTestardi</dc:creator>
      <dc:date>2008-12-03T05:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: problem occurs when i integrated my code with Coldfire_Lite project</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/problem-occurs-when-i-integrated-my-code-with-Coldfire-Lite/m-p/206926#M9862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Rich,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am calling tk_yield() in the infinte loop. i have tried without using tk_yield() function also, but it show the same problem not displaying any button in the LCD but it clearing the screen.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;when i debug step by step it's working fine, it is displaying the button in the LCD.But when i run the program it only clearing the screen.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 13:32:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/problem-occurs-when-i-integrated-my-code-with-Coldfire-Lite/m-p/206926#M9862</guid>
      <dc:creator>paddy</dc:creator>
      <dc:date>2008-12-03T13:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: problem occurs when i integrated my code with Coldfire_Lite project</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/problem-occurs-when-i-integrated-my-code-with-Coldfire-Lite/m-p/206927#M9863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;HI Paddy,&lt;BR /&gt;&lt;BR /&gt;The Yield function in an OS will make a high priority task give way to the ones with lower priority. It prevents the other threads/taks from starvation.&lt;BR /&gt;&lt;BR /&gt;So What I understand from your post is - you are calling Yield from infinite loop. Are you placing the yield function after doing all the things in your whle(1)&lt;BR /&gt;&lt;BR /&gt;Like:&lt;BR /&gt;&amp;nbsp;while(1)&lt;BR /&gt;{&lt;BR /&gt;-----DO Tasks----&lt;BR /&gt;Yield();&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Try doing a task sleep instead. I understand that there are other tasks which have to be suchronised with this one. Are you using any mutex/semaphore to ensure that you are reading the data after it is written??&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 16:29:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/problem-occurs-when-i-integrated-my-code-with-Coldfire-Lite/m-p/206927#M9863</guid>
      <dc:creator>tkvenki</dc:creator>
      <dc:date>2008-12-03T16:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: problem occurs when i integrated my code with Coldfire_Lite project</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/problem-occurs-when-i-integrated-my-code-with-Coldfire-Lite/m-p/206928#M9864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Rich,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The control stays in the ISR routine when i run the program, i have attached the ISR routine for your refernce.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Kindly suggest me.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 22:37:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/problem-occurs-when-i-integrated-my-code-with-Coldfire-Lite/m-p/206928#M9864</guid>
      <dc:creator>paddy</dc:creator>
      <dc:date>2008-12-03T22:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: problem occurs when i integrated my code with Coldfire_Lite project</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/problem-occurs-when-i-integrated-my-code-with-Coldfire-Lite/m-p/206929#M9865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm not sure what "ProcessLCDData();" does, but I assume it returns promptly and does not call *any* task switching functions.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;When you say that the control stays in the ISR, what is the stack trace at the time?&amp;nbsp; Where is the ISR looping, or did you accidentally call a task switching function from the ISR&amp;nbsp;and some other task has now "taken over" the ISR stack?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;-- Rich&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 23:22:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/problem-occurs-when-i-integrated-my-code-with-Coldfire-Lite/m-p/206929#M9865</guid>
      <dc:creator>RichTestardi</dc:creator>
      <dc:date>2008-12-03T23:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: problem occurs when i integrated my code with Coldfire_Lite project</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/problem-occurs-when-i-integrated-my-code-with-Coldfire-Lite/m-p/206930#M9866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Rich,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The LCD will send back the character, based upon the carriage return ProcessLCDData() is&amp;nbsp;called. I am using two soft buttons in LCD when it pressed it will send buuton id to handle this operation the above function is used.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;i am not calling any task switching from ISR,when i do&amp;nbsp;F11 the control goes from ISR to task.c tk_block() function&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 23:39:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/problem-occurs-when-i-integrated-my-code-with-Coldfire-Lite/m-p/206930#M9866</guid>
      <dc:creator>paddy</dc:creator>
      <dc:date>2008-12-03T23:39:11Z</dc:date>
    </item>
  </channel>
</rss>

