<?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: CW PA: How is target initialization manages during performace analysis in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CW-PA-How-is-target-initialization-manages-during-performace/m-p/377077#M2122</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 assume you want to profile a specific application. The way to do this is to start the application in&lt;/P&gt;&lt;P&gt;debug (and you specify the target initialization file in the debug configuration). After download, the code&lt;/P&gt;&lt;P&gt;will be stopped at main(). In this moment start you profile configuration and then resume the target.&lt;/P&gt;&lt;P&gt;If you just run your profile configuration without starting an application first, you can do it, I just tried on&lt;/P&gt;&lt;P&gt;my 2080 setup, but you will not get valid data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Catalin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Nov 2014 13:57:30 GMT</pubDate>
    <dc:creator>catalindemergia</dc:creator>
    <dc:date>2014-11-04T13:57:30Z</dc:date>
    <item>
      <title>CW PA: How is target initialization manages during performace analysis</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CW-PA-How-is-target-initialization-manages-during-performace/m-p/377076#M2121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when I prepare for a performace analysis I have to setup a proper Analyses Profile.&lt;/P&gt;&lt;P&gt;What I am wondering about.&lt;/P&gt;&lt;P&gt;In the Connection Tab I just specify the jtag debuggers connection (CodeWarrior TAP with Ethernet IP in my case), but no further target settings, like target initialization.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does the Profiling Session sit on top of an actual Debug Session? So that it takes/uses the current Debug Session's Connection and Target settings?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually I want to make sure that my target initialization for cache enable an dynamic branch predication ist applied during performance analyses.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use CW for PA 10.4 with an T2080RDB target.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Alois&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2014 11:53:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CW-PA-How-is-target-initialization-manages-during-performace/m-p/377076#M2121</guid>
      <dc:creator>aloishahn</dc:creator>
      <dc:date>2014-11-04T11:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: CW PA: How is target initialization manages during performace analysis</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CW-PA-How-is-target-initialization-manages-during-performace/m-p/377077#M2122</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 assume you want to profile a specific application. The way to do this is to start the application in&lt;/P&gt;&lt;P&gt;debug (and you specify the target initialization file in the debug configuration). After download, the code&lt;/P&gt;&lt;P&gt;will be stopped at main(). In this moment start you profile configuration and then resume the target.&lt;/P&gt;&lt;P&gt;If you just run your profile configuration without starting an application first, you can do it, I just tried on&lt;/P&gt;&lt;P&gt;my 2080 setup, but you will not get valid data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Catalin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2014 13:57:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CW-PA-How-is-target-initialization-manages-during-performace/m-p/377077#M2122</guid>
      <dc:creator>catalindemergia</dc:creator>
      <dc:date>2014-11-04T13:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: CW PA: How is target initialization manages during performace analysis</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CW-PA-How-is-target-initialization-manages-during-performace/m-p/377078#M2123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cataline,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now I tried simple bareboard example, as generated by the wizard (t2080rdb, 32bit, C Code).&lt;/P&gt;&lt;P&gt;The example works fine in the debugger.&lt;/P&gt;&lt;P&gt;At main() I run a profiling session, with same CPU profiling (Branch miss Ratio, Interrupt Count, Data Cache Operations).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I receive all zero results all the time.&lt;/P&gt;&lt;P&gt;Even when adding loops with memory access and cache enabled, still all profiling registers are zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you any advice or some kind of working example to compare with?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Alois&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is my profiling setup&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="T2080_Profiling_Setup.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/46690i1170A129F1D6C8E5/image-size/large?v=v2&amp;amp;px=999" role="button" title="T2080_Profiling_Setup.png" alt="T2080_Profiling_Setup.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2014 15:31:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CW-PA-How-is-target-initialization-manages-during-performace/m-p/377078#M2123</guid>
      <dc:creator>aloishahn</dc:creator>
      <dc:date>2014-11-04T15:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Re: CW PA: How is target initialization manages during performace analysis</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CW-PA-How-is-target-initialization-manages-during-performace/m-p/377079#M2124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please take a look on the attached examples. Let us know if you need more information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2014 15:45:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CW-PA-How-is-target-initialization-manages-during-performace/m-p/377079#M2124</guid>
      <dc:creator>addiyi</dc:creator>
      <dc:date>2014-11-04T15:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Re: CW PA: How is target initialization manages during performace analysis</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CW-PA-How-is-target-initialization-manages-during-performace/m-p/377080#M2125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adrian,&lt;/P&gt;&lt;P&gt;thank you for the examples, they are very usefull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My starting questions/issue has been solved in the meantime as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was due to a misunderstanding from my side, about how the profiling sessions would start a debugging session.&lt;/P&gt;&lt;P&gt;Actually the profiling sessions does not care for starting/running the application code. It requires a target which is in run state already.&lt;/P&gt;&lt;P&gt;So in that context the question about target initialization for profiling does not make sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alois&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 09:49:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CW-PA-How-is-target-initialization-manages-during-performace/m-p/377080#M2125</guid>
      <dc:creator>aloishahn</dc:creator>
      <dc:date>2014-11-05T09:49:09Z</dc:date>
    </item>
  </channel>
</rss>

