<?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>CodeWarrior Development ToolsのトピックRe: How to Run/Debug ProcessorExpert example?</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-Run-Debug-ProcessorExpert-example/m-p/268164#M370</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Markus:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am glad my explanation helped. I think there are no processor expert examples ready for your board, but maybe you can take those existing for the TWR-K60N512 and do the next:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Create new project with PE support.&lt;/P&gt;&lt;P&gt;- Copy the components to your new project.&lt;/P&gt;&lt;P&gt;- Copy the application source files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give a check to the next tutorial by Erich:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2013/03/31/copy-of-processor-expert-components/" title="http://mcuoneclipse.com/2013/03/31/copy-of-processor-expert-components/"&gt;Copy of Processor Expert Components | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;Jorge Gonzalez&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Mar 2014 17:24:54 GMT</pubDate>
    <dc:creator>Jorge_Gonzalez</dc:creator>
    <dc:date>2014-03-04T17:24:54Z</dc:date>
    <item>
      <title>How to Run/Debug ProcessorExpert example?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-Run-Debug-ProcessorExpert-example/m-p/268159#M365</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;I'm trying to evaluate ProcessorExpert, but debugging my code always stops at PE_DEBUGHALT(); in cpu.c when clicking "run" and nothing seems to be executed. This is the case also with the example (see below) that came with CodeWarrior - execution stops at PE_DEBUGHAL(); and no LEDs are activated/nothing is sent over the serial interface.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One line above in the code it says&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* This code can be changed using the CPU component property "Build Options / Unhandled int code" */&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried this by commenting the corresponding code, but execution stopped at the "}" in the following line then...&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using&lt;/P&gt;&lt;P&gt;- TWR-K60D100M tower system with TWR-SER&lt;/P&gt;&lt;P&gt;- CodeWarrior for MCU, Version 10.5, Build Id 130916&lt;/P&gt;&lt;P&gt;- ProcessorExpert example from \CW MCU v10.5\MCU\CodeWarrior_Examples\Processor_Expert\Kinetis\TWR-K60N512\TSI&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anybody got an idea? Maybe again a problem with the example being incompatible with the CW version?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greetings from Vienna,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Markus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 14:42:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-Run-Debug-ProcessorExpert-example/m-p/268159#M365</guid>
      <dc:creator>markusbraitner</dc:creator>
      <dc:date>2014-02-28T14:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to Run/Debug ProcessorExpert example?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-Run-Debug-ProcessorExpert-example/m-p/268160#M366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suggest that you use 'own handler for every' in the build settings (see/search for this in &lt;A href="http://mcuoneclipse.com/2012/02/20/oh-my-an-interrupt/" title="http://mcuoneclipse.com/2012/02/20/oh-my-an-interrupt/"&gt;http://mcuoneclipse.com/2012/02/20/oh-my-an-interrupt/&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;That way you know which interrupt is firing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 14:47:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-Run-Debug-ProcessorExpert-example/m-p/268160#M366</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2014-02-28T14:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to Run/Debug ProcessorExpert example?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-Run-Debug-ProcessorExpert-example/m-p/268161#M367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your extremely fast answer! I'll immediately try your suggestion!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Markus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 14:53:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-Run-Debug-ProcessorExpert-example/m-p/268161#M367</guid>
      <dc:creator>markusbraitner</dc:creator>
      <dc:date>2014-02-28T14:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to Run/Debug ProcessorExpert example?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-Run-Debug-ProcessorExpert-example/m-p/268162#M368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Markus:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason is simple: in most cases the code developed for TWR-K60N512 will not be compatible with TWR-K60D100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These 2 boards have different K60 silicon revisions (refer to application note AN4445). So for example, in the TSI project, you will find inside of the "&lt;STRONG&gt;PE_low_level_init()"&lt;/STRONG&gt; function, a line of code writing to SIM_SOPT6. This register no longer exists in revision 2.x of K60 100 MHz silicon, and therefore execution enters a hard fault exception. Try debugging step-by-step and you will confirm this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sample code available for TWR-K60D100 is in the package called "KINETIS512_V2_SC" under &lt;EM&gt;Snippets, Boot Code, Headers, Monitors, etc..&lt;/EM&gt;, in the next link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=K60_100&amp;amp;nodeId=01624698C9DE2DDDAF&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab" title="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=K60_100&amp;amp;nodeId=01624698C9DE2DDDAF&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;K60_100: Kinetis K60 Ethernet Crypto 100 MHz MCUs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the package there is a TSI example code, although it was not made with processor expert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;Jorge Gonzalez&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Mar 2014 03:20:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-Run-Debug-ProcessorExpert-example/m-p/268162#M368</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2014-03-01T03:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to Run/Debug ProcessorExpert example?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-Run-Debug-ProcessorExpert-example/m-p/268163#M369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorge,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your answer - this explains something, of course... Thanks for the helpful reference to AN4445!&lt;/P&gt;&lt;P&gt;I had already found out that the program gets stuck in an ISR due to an hardware fault interrupt caused in PE_low_level_init(), but I had not yet found the line causing the problem. Now it is clear to me why it couldn't work - thank you!&lt;/P&gt;&lt;P&gt;So is there another processor expert example available for my board?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings from Vienna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Markus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 09:10:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-Run-Debug-ProcessorExpert-example/m-p/268163#M369</guid>
      <dc:creator>markusbraitner</dc:creator>
      <dc:date>2014-03-03T09:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to Run/Debug ProcessorExpert example?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-Run-Debug-ProcessorExpert-example/m-p/268164#M370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Markus:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am glad my explanation helped. I think there are no processor expert examples ready for your board, but maybe you can take those existing for the TWR-K60N512 and do the next:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Create new project with PE support.&lt;/P&gt;&lt;P&gt;- Copy the components to your new project.&lt;/P&gt;&lt;P&gt;- Copy the application source files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give a check to the next tutorial by Erich:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2013/03/31/copy-of-processor-expert-components/" title="http://mcuoneclipse.com/2013/03/31/copy-of-processor-expert-components/"&gt;Copy of Processor Expert Components | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;Jorge Gonzalez&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 17:24:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-Run-Debug-ProcessorExpert-example/m-p/268164#M370</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2014-03-04T17:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to Run/Debug ProcessorExpert example?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-Run-Debug-ProcessorExpert-example/m-p/268165#M371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorge,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the hints and the link to Erich's tutorial! With some other tutorial from Erich, I have managed to create a new project with PE from the scratch. Thanks again for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Markus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 07:05:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-Run-Debug-ProcessorExpert-example/m-p/268165#M371</guid>
      <dc:creator>markusbraitner</dc:creator>
      <dc:date>2014-03-05T07:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to Run/Debug ProcessorExpert example?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-Run-Debug-ProcessorExpert-example/m-p/268166#M372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just wanted to say thank you for your excellent tutorials on your blog - they helped me a great deal to get started with PE! Thank you very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings from Austria,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Markus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 07:19:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/How-to-Run-Debug-ProcessorExpert-example/m-p/268166#M372</guid>
      <dc:creator>markusbraitner</dc:creator>
      <dc:date>2014-03-05T07:19:04Z</dc:date>
    </item>
  </channel>
</rss>

