<?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>MQX Software SolutionsのトピックRe: MQX Tools best way to post mortem dying task?</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Tools-best-way-to-post-mortem-dying-task/m-p/259548#M7682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That was a great help; thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Apr 2013 19:04:40 GMT</pubDate>
    <dc:creator>Cdn_aye</dc:creator>
    <dc:date>2013-04-11T19:04:40Z</dc:date>
    <item>
      <title>MQX Tools best way to post mortem dying task?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Tools-best-way-to-post-mortem-dying-task/m-p/259546#M7680</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;In the past I have used TAD to look at the memory pools, stack and so forth. The plugin is installed and working. This yields some information but I am getting a stoppage at some point in a task, and I can't determine why. Is there a recommended way to check this, perhaps using the MQX Tools? I have never used MQX Tools before so any advice would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I understand this, I just enable Kernal logging in the user_config.h file and rebuild the mqx libraries. Is this correct or is there more to this, or would you suggest another method?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2013 06:36:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Tools-best-way-to-post-mortem-dying-task/m-p/259546#M7680</guid>
      <dc:creator>Cdn_aye</dc:creator>
      <dc:date>2013-04-10T06:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: MQX Tools best way to post mortem dying task?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Tools-best-way-to-post-mortem-dying-task/m-p/259547#M7681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;A good starting point would be the FSL_MQX_PerTool_getting_started.pdf in C:\Freescale\Freescale_MQX_4_0\doc\tools\cw folder assuming you are using CW10.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2013 18:33:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Tools-best-way-to-post-mortem-dying-task/m-p/259547#M7681</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2013-04-11T18:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: MQX Tools best way to post mortem dying task?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Tools-best-way-to-post-mortem-dying-task/m-p/259548#M7682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That was a great help; thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2013 19:04:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Tools-best-way-to-post-mortem-dying-task/m-p/259548#M7682</guid>
      <dc:creator>Cdn_aye</dc:creator>
      <dc:date>2013-04-11T19:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: MQX Tools best way to post mortem dying task?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Tools-best-way-to-post-mortem-dying-task/m-p/259549#M7683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did as outlined in the manual wrt the bsp and can see this is exactly what I need. But there is a missing component. How to set up the my app to use/qcquire the data; this is not automatic?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a partial example and a reference to some fields that should be used in the refer manual. But I have not found any complete examples of how to use the fields or even where doc is for the performance fields in the structure. From what I can see in the screen capture in the refer manual, I need to add some MQX _klog_** calls, but which ones are not given. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you point me to an example please, or do I create a temp example using the wizard and extract the code from there?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2013 20:58:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Tools-best-way-to-post-mortem-dying-task/m-p/259549#M7683</guid>
      <dc:creator>Cdn_aye</dc:creator>
      <dc:date>2013-04-11T20:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: MQX Tools best way to post mortem dying task?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Tools-best-way-to-post-mortem-dying-task/m-p/259550#M7684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;The best place to start messing with the KLOG is in the MQX4.0/mqx/examples/klog .&lt;/P&gt;&lt;P&gt;It is very simplistic but demonstrates the things should be working.&lt;/P&gt;&lt;P&gt;I then cut-n-pasted the view lines of code (don't forget the #includes too) into a gpio example.&lt;/P&gt;&lt;P&gt;I'm not expert with KLOG (yet...) but it seems that it is a one time buffer so you need to turn it on and off around the area of code you want to evaluate.&amp;nbsp; It kind of is a high level task trace (note I didn't say function....so it doesn't show the stack trace of a printf() call).&amp;nbsp; Honestly I'm not certain it is the tool to help with your issue.&lt;/P&gt;&lt;P&gt;I think you need more of a real instruction trace tool that lets you turn on and off where you want to trace and be able to post process it.&lt;/P&gt;&lt;P&gt;I'll play some more with this tool and report successes and failures.&lt;/P&gt;&lt;P&gt;For fun Erich Styger has good stuff on trace amoungst other topics on a blog:&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/?s=trace" title="http://mcuoneclipse.com/?s=trace"&gt; trace | Search Results | MCU on Eclipse&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 21:38:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-Tools-best-way-to-post-mortem-dying-task/m-p/259550#M7684</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2013-04-12T21:38:49Z</dc:date>
    </item>
  </channel>
</rss>

