<?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: PE example project fo TWR-K60 linker file wrong? in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/PE-example-project-fo-TWR-K60-linker-file-wrong/m-p/268655#M1735</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;What you need to do is to switch to the appropriate Generator configuration (..._Internal_flash). The configurations are visile in the Component view and should be pre-set to select appropriate CPU component (notice that there are two - one is for set-up for code in RAM, the other for code in FLASH).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I imported the PWM project, it seems that it's incorrectly set, because when you change the configuration, it does not switch the CPU, which is the component that actually produces the .LCF file. (There is a typo in the configuration name, there is MK60FN1M0.... instead MKDN60.....)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The workaround is to select the CPU manually (you can also see the picture below):&lt;/P&gt;&lt;P&gt;- Invoke pop-up menu for the second CPU component&lt;/P&gt;&lt;P&gt;- Select "Component enabled" option.&lt;/P&gt;&lt;P&gt;- Re-generate the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="enable_cpu.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119598i67A18B3869E3F5B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="enable_cpu.png" alt="enable_cpu.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Petr Hradsky&lt;/P&gt;&lt;P&gt;Processor Expert Support Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jul 2013 07:50:46 GMT</pubDate>
    <dc:creator>Petr_H</dc:creator>
    <dc:date>2013-07-15T07:50:46Z</dc:date>
    <item>
      <title>PE example project fo TWR-K60 linker file wrong?</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PE-example-project-fo-TWR-K60-linker-file-wrong/m-p/268652#M1732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This file seems worng:&lt;/P&gt;&lt;P&gt;C:\Freescale\CW MCU v10.4\MCU\CodeWarrior_Examples\Processor_Expert\Kinetis\TWR-K60N512\PWM\Project_Settings\Linker_Files&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0099ff; font-size: 10pt; font-family: 'Courier New';"&gt;MEMORY&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;&amp;nbsp; interrupts&amp;nbsp; (RX) : &lt;/SPAN&gt;&lt;STRONG style="color: #006699; font-size: 10pt; font-family: 'Courier New';"&gt;ORIGIN&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; = 0x1FFF0000, &lt;/SPAN&gt;&lt;STRONG style="color: #006699; font-size: 10pt; font-family: 'Courier New';"&gt;LENGTH&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; = 0x000001E0&amp;nbsp; &lt;EM&gt;&lt;STRONG&gt;==&amp;gt;should be 0x00000000&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;&amp;nbsp; code&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX) : &lt;/SPAN&gt;&lt;STRONG style="color: #006699; font-size: 10pt; font-family: 'Courier New';"&gt;ORIGIN&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; = 0x1FFF01E0, &lt;/SPAN&gt;&lt;STRONG style="color: #006699; font-size: 10pt; font-family: 'Courier New';"&gt;LENGTH&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; = 0x00015220&amp;nbsp; &lt;EM&gt;&lt;STRONG&gt;==&amp;gt;should be 0x00000410 &lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;&amp;nbsp; data&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RW) : &lt;/SPAN&gt;&lt;STRONG style="color: #006699; font-size: 10pt; font-family: 'Courier New';"&gt;ORIGIN&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; = 0x20005400, &lt;/SPAN&gt;&lt;STRONG style="color: #006699; font-size: 10pt; font-family: 'Courier New';"&gt;LENGTH&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; = 0x0000AC00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;&amp;nbsp; cfmprotrom&amp;nbsp; (RX) : &lt;/SPAN&gt;&lt;STRONG style="color: #006699; font-size: 10pt; font-family: 'Courier New';"&gt;ORIGIN&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; = 0x00000400, &lt;/SPAN&gt;&lt;STRONG style="color: #006699; font-size: 10pt; font-family: 'Courier New';"&gt;LENGTH&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; = 0x00000010&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because the code is not in FLASH, so the programming is not working after recycle the power. Am I right?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 07:29:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PE-example-project-fo-TWR-K60-linker-file-wrong/m-p/268652#M1732</guid>
      <dc:creator>rabbit</dc:creator>
      <dc:date>2013-07-12T07:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: PE example project fo TWR-K60 linker file wrong?</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PE-example-project-fo-TWR-K60-linker-file-wrong/m-p/268653#M1733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, this demo is running in RAM. If you would like it running in Flash, you may re-configure the 'Generate linker file' -&amp;gt; 'ROM/RAM Areas' options in CPU component, which are under Build Options Tab in CPU component Inspector.&amp;nbsp; PE will re-generate link file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 10:16:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PE-example-project-fo-TWR-K60-linker-file-wrong/m-p/268653#M1733</guid>
      <dc:creator>TICS_Fiona</dc:creator>
      <dc:date>2013-07-12T10:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: PE example project fo TWR-K60 linker file wrong?</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PE-example-project-fo-TWR-K60-linker-file-wrong/m-p/268654#M1734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I try other project in this directory, it will regenerate link file if I change the build settings, for example if I change the setting for &lt;STRONG&gt;SDHC&lt;/STRONG&gt; project:&lt;/P&gt;&lt;P&gt;SDHC:MK60DN512Z_INTERNAL_FLASH&amp;nbsp; ==&amp;gt; SDHC:MK60DN512Z_INTERNAL_RAM &lt;/P&gt;&lt;P&gt;The file at "&lt;STRONG&gt;C:\Freescale\CW MCU v10.4\MCU\CodeWarrior_Examples\Processor_Expert\Kinetis\TWR-K60N512\SDHC\Project_Settings\Linker_Files\ProcessorExpert.lcf&lt;/STRONG&gt;" will change accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for &lt;STRONG&gt;PWM&lt;/STRONG&gt; project, the linker file "&lt;STRONG&gt;C:\Freescale\CW MCU v10.4\MCU\CodeWarrior_Examples\ Processor_Expert\Kinetis\TWR-K60N512\PWM\Project_Settings\Linker_Files\ProcessorExpert.lcf&lt;/STRONG&gt;" will not being changed when I change the build settings,&lt;/P&gt;&lt;P&gt; SDHC:MK60DN512Z_INTERNAL_RAM ==&amp;gt; SDHC:MK60DN512Z_INTERNAL_FLASH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this same for your CW10.4?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 00:24:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PE-example-project-fo-TWR-K60-linker-file-wrong/m-p/268654#M1734</guid>
      <dc:creator>rabbit</dc:creator>
      <dc:date>2013-07-15T00:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: PE example project fo TWR-K60 linker file wrong?</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PE-example-project-fo-TWR-K60-linker-file-wrong/m-p/268655#M1735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;What you need to do is to switch to the appropriate Generator configuration (..._Internal_flash). The configurations are visile in the Component view and should be pre-set to select appropriate CPU component (notice that there are two - one is for set-up for code in RAM, the other for code in FLASH).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I imported the PWM project, it seems that it's incorrectly set, because when you change the configuration, it does not switch the CPU, which is the component that actually produces the .LCF file. (There is a typo in the configuration name, there is MK60FN1M0.... instead MKDN60.....)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The workaround is to select the CPU manually (you can also see the picture below):&lt;/P&gt;&lt;P&gt;- Invoke pop-up menu for the second CPU component&lt;/P&gt;&lt;P&gt;- Select "Component enabled" option.&lt;/P&gt;&lt;P&gt;- Re-generate the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="enable_cpu.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119598i67A18B3869E3F5B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="enable_cpu.png" alt="enable_cpu.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Petr Hradsky&lt;/P&gt;&lt;P&gt;Processor Expert Support Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 07:50:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PE-example-project-fo-TWR-K60-linker-file-wrong/m-p/268655#M1735</guid>
      <dc:creator>Petr_H</dc:creator>
      <dc:date>2013-07-15T07:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: PE example project fo TWR-K60 linker file wrong?</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PE-example-project-fo-TWR-K60-linker-file-wrong/m-p/268656#M1736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Petr,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following your instruction, I can change the .lcf&amp;nbsp; file when I change between RAM and FLASH, the PWM.afx.xMAP file seems correct,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I set it to FLASH, it works during debug mode, but when I recycle the power it doesn't work at all.&lt;/P&gt;&lt;P&gt;The attached files are the files in my PC, please check whether it is the same in your PC?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 04:23:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PE-example-project-fo-TWR-K60-linker-file-wrong/m-p/268656#M1736</guid>
      <dc:creator>rabbit</dc:creator>
      <dc:date>2013-07-17T04:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: PE example project fo TWR-K60 linker file wrong?</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PE-example-project-fo-TWR-K60-linker-file-wrong/m-p/268657#M1737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have imported your project and it seems set to RAM.&lt;/P&gt;&lt;P&gt;Please check if your project looks as on this picture:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="int_flash.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/39895i1801BC3A2FA40F04/image-size/large?v=v2&amp;amp;px=999" role="button" title="int_flash.png" alt="int_flash.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Does it match?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not, select the Generator configuration using command "Select active configuration":&lt;/P&gt;&lt;P&gt;(This is the normal way how the targets should be switched in PEx as it ensures that it changes CPU settings and also switches CodeWarrior build configuration):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="select config.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/39896iAE478F4C5BEA4871/image-size/large?v=v2&amp;amp;px=999" role="button" title="select config.png" alt="select config.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then try to clean and build the project again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Petr Hradsky&lt;/P&gt;&lt;P&gt;Processor Expert Support Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 09:25:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PE-example-project-fo-TWR-K60-linker-file-wrong/m-p/268657#M1737</guid>
      <dc:creator>Petr_H</dc:creator>
      <dc:date>2013-07-17T09:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: PE example project fo TWR-K60 linker file wrong?</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PE-example-project-fo-TWR-K60-linker-file-wrong/m-p/268658#M1738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Petr,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;I check the settings, all correct as you indicated.&lt;/P&gt;&lt;P&gt;I check the ProcessorExperter.lcf and PWM.afx.xMAP file, it is in the FLASH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works for my DEBUGGER, but it still not working after I recycle the power.&lt;/P&gt;&lt;P&gt;I can't work out the reason, but I find the function "printf(&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #2a00ff; font-size: 10pt;"&gt;"*** \n\r"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;);&lt;/SPAN&gt;&lt;/SPAN&gt;" print message to console&lt;/P&gt;&lt;P&gt;during debugging,&amp;nbsp; for other examples the print message&amp;nbsp; goes to Uart3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something wrong with this project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2013 00:50:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PE-example-project-fo-TWR-K60-linker-file-wrong/m-p/268658#M1738</guid>
      <dc:creator>rabbit</dc:creator>
      <dc:date>2013-07-18T00:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: PE example project fo TWR-K60 linker file wrong?</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PE-example-project-fo-TWR-K60-linker-file-wrong/m-p/268659#M1739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then it might be somehow related to debug connection. Can you completely disconnect the debug connection? Or at least quit CodeWarrior and then switch off/on the power.&lt;/P&gt;&lt;P&gt;On Kinetis L I have experienced that the application doesn't run standalone when the CodeWarrior is running. The debugger somehow blocks cpu from running eve though it's not active in the IDE. After closing CW the application was running after power on normally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Petr Hradsky&lt;/P&gt;&lt;P&gt;Processor Expert Support Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 12:00:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PE-example-project-fo-TWR-K60-linker-file-wrong/m-p/268659#M1739</guid>
      <dc:creator>Petr_H</dc:creator>
      <dc:date>2013-07-19T12:00:15Z</dc:date>
    </item>
  </channel>
</rss>

