<?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 Code Generator FAILURE in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/PE-Code-Generator-FAILURE/m-p/240791#M1325</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just got it. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Mar 2014 22:12:38 GMT</pubDate>
    <dc:creator>williamely</dc:creator>
    <dc:date>2014-03-18T22:12:38Z</dc:date>
    <item>
      <title>PE Code Generator FAILURE</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PE-Code-Generator-FAILURE/m-p/240778#M1312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I developed my K60DN512VLL10-based custom board with CodeWarrior 10.4 and MQX 4.0.2. This board has been properly working for two months.&lt;/P&gt;&lt;P&gt;Now I need more flash memory to make a firmware upgrade on my application, so I decided to mount a K64FN1M0VLL12 cpu on my board.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Porting my application firmware on the new cpu involves to use CodeWarrior 10.5 and to clone MQX libraries (PSP, BSP, ...) from the TWR-K64F120M demo system.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I installed Code Warrior 10.5 along with the needed updates for 120MHz cpu (com.freescale.mcu10_5.PEX_update.v1_0_0.zip and com.freescale.mcu10_5.Kinetis_K24_K63_K64_120MHz.win.sp.v1.0.2.zip) and the MQX 4.0.2 libraries for K64F120M.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My original BSP library for the K60 cpu was built using Processor Expert LDD components, but the the BSP for TWR-K64F120M does not include a PE project file. So I cloned the TWR-K64F120M BSP library for my custom board, then I added my original PE project file. I modified the PE project file disabling the original K60DN512VLL10 processor component and adding a new K64FN1M0VLL12 processor component. I adjusted all my LDD component in the PE project file to the new cpu and finally I launched the PE Code Generator.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The generation process always ends reporting two errors:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Generator: FAILURE: Unexpected status of script: Drivers\Common\Static_SetConst.prg, please contact Freescale support.&amp;nbsp; &lt;/LI&gt;&lt;LI&gt;Generator: FAILURE: Unexpected status of script: Drivers\Kinetis\Static_KinetisK_Cpu_Config_h.prg, please contact Freescale support.&amp;nbsp; &lt;/LI&gt;&lt;/OL&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please help me to fix that issue?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attached my PE project file.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-339004"&gt;ProcessorExpert.pe.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 16:56:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PE-Code-Generator-FAILURE/m-p/240778#M1312</guid>
      <dc:creator>Vagni</dc:creator>
      <dc:date>2014-02-17T16:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: PE Code Generator FAILURE</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PE-Code-Generator-FAILURE/m-p/240779#M1313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have reproduce it. We will fix it for next release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In mean time you can use the following workaround:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Initialize fast trim value to no in CPU component. and the following rows into Events.h&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;#define STARTUP_CLOCK_INTERNAL_FAST_TRIM_ADDRESS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0x03FEU&amp;nbsp;&amp;nbsp; /* Address of non-volatile memory containing fast oscillator trim value */&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;#define STARTUP_CLOCK_INTERNAL_FAST_FINE_TRIM_ADDRESS&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0x03FEU&amp;nbsp;&amp;nbsp; /* Address of non-volatile memory containing fast oscillator fine trim value */&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are sorry for inconvenience.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Vojtech Filip&lt;/P&gt;&lt;P&gt;Processor Expert Support Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 13:40:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PE-Code-Generator-FAILURE/m-p/240779#M1313</guid>
      <dc:creator>vfilip</dc:creator>
      <dc:date>2014-02-18T13:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Re: PE Code Generator FAILURE</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PE-Code-Generator-FAILURE/m-p/240780#M1314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Vojtech Filip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used your workaround and got PE code generated.&lt;/P&gt;&lt;P&gt;But now I have some errors compiling my BSP source files:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The Vectors_Config.h include file is not found. This issue causes other compiler errors in the Vectors.c source file.&lt;/LI&gt;&lt;LI&gt;MCG_C5_PLLCLKEN0_MASK macro results undefined in the CPU_Init.c source file. But that macro is defined in MK64F12.h, which is included in CPU_Init.c. &lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I see the PE code generation process creates four empty folders in the Generated_Code folder (IO_Map, PDD, Peripherals and System).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attach my BSP - PSP project and source file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please help me to get a successful compilation?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 17:17:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PE-Code-Generator-FAILURE/m-p/240780#M1314</guid>
      <dc:creator>Vagni</dc:creator>
      <dc:date>2014-02-18T17:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: PE Code Generator FAILURE</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PE-Code-Generator-FAILURE/m-p/240781#M1315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as workaround is necessary to &lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;mark the Vectors.c file as Excluded from build.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;Fix of this issue will be published within CW V10.6&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Vojtech Filip&lt;/P&gt;&lt;P&gt;Processor Expert Support Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2014 13:06:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PE-Code-Generator-FAILURE/m-p/240781#M1315</guid>
      <dc:creator>vfilip</dc:creator>
      <dc:date>2014-02-24T13:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Re: PE Code Generator FAILURE</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PE-Code-Generator-FAILURE/m-p/240782#M1316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Vojtech Filip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excluding Vector.c from build fixes some compiler's errors, but not all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think compiler's errors are due to the file MK64F12.h. There are two different versions of this file: one is in the &lt;EM&gt;&amp;lt;MQX_4_0&amp;gt;\mqx\source\psp\cortex_m\cpu&lt;/EM&gt; folder and the other is in &lt;EM&gt;&amp;lt;CW_MCU_10_5&amp;gt;\MCU\ProcessorExpert\lib\Kinetis\iofiles&lt;/EM&gt; folder.&lt;/P&gt;&lt;P&gt;All the MQX BSP code refers to the first one, while all the PEx generated code refers to the second one. So I cannot get my BSP code all successfully compiled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I fix this issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 10:42:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PE-Code-Generator-FAILURE/m-p/240782#M1316</guid>
      <dc:creator>Vagni</dc:creator>
      <dc:date>2014-02-25T10:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: PE Code Generator FAILURE</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PE-Code-Generator-FAILURE/m-p/240783#M1317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Alessandro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please use the same IOmap file, i.e. update the MK64F12.h in &lt;EM&gt;&amp;lt;MQX_4_0&amp;gt;\mqx\source\psp\cortex_m\cpu&lt;/EM&gt; folder by the newer one that comes with the PEX update and then rebuild all MQX libs. As there could be some inconsistencies between old and new IOmap macros/strucs, please solve MQX build issues case by case when rebuilding MQX libs (renaming of some macros that addresses correct names of K64F peripheral registers like MCG_C5_PLLCLKEN_MASK -&amp;gt; MCG_C5_PLLCLKEN0_MASK). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI, there will be a new MQX 4.1.0 installer released soon (in a couple of days) as well as the new version of the MQX 4.1.0 standalone installer for the TWR-K64F120M which will come with the PEX support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Michal Princ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 13:04:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PE-Code-Generator-FAILURE/m-p/240783#M1317</guid>
      <dc:creator>MichalP</dc:creator>
      <dc:date>2014-02-28T13:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: PE Code Generator FAILURE</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PE-Code-Generator-FAILURE/m-p/240784#M1318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just got my K64 tower kit this morning so should I wait for MQX 4.1?&lt;/P&gt;&lt;P&gt;If it will be out next week then I think that would be best.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea when CW 10.6 will be out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 19:55:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PE-Code-Generator-FAILURE/m-p/240784#M1318</guid>
      <dc:creator>williamely</dc:creator>
      <dc:date>2014-02-28T19:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Re: PE Code Generator FAILURE</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PE-Code-Generator-FAILURE/m-p/240785#M1319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In case this is helpful:&lt;/P&gt;&lt;P&gt;there is an example project (attached) with Eclipse/Keppler for the K64F with FreeRTOS, see &lt;A class="jive-link-external-small" href="http://mcuoneclipse.com/2014/03/02/first-steps-with-the-freescale-twr-k64f120m/"&gt;First Steps with the Freescale TWR-K64F120M | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Mar 2014 10:59:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PE-Code-Generator-FAILURE/m-p/240785#M1319</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2014-03-02T10:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: PE Code Generator FAILURE</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PE-Code-Generator-FAILURE/m-p/240786#M1320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MQX 4.1.0 is already available on the FSL web. This release however does not contain support for the K64F devices. There will be the another standalone release for TWR-K64F120M based on MQX 4.1.0 code available next week (PEX support included).&lt;BR /&gt;As for the CW10.6 I do not know the release date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;MichalP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 14:14:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PE-Code-Generator-FAILURE/m-p/240786#M1320</guid>
      <dc:creator>MichalP</dc:creator>
      <dc:date>2014-03-03T14:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: PE Code Generator FAILURE</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PE-Code-Generator-FAILURE/m-p/240787#M1321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the update Michal. I saw that 4.1 was released just after posting. I will work on something else until the K64 version is ready.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 17:08:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PE-Code-Generator-FAILURE/m-p/240787#M1321</guid>
      <dc:creator>williamely</dc:creator>
      <dc:date>2014-03-03T17:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: PE Code Generator FAILURE</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PE-Code-Generator-FAILURE/m-p/240788#M1322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Erich. Awesome site. I've been toying with the idea of going down the Eclipse route since I read your blog about it a month or so back. Maybe I'll give it a shot next weekend.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2014 17:12:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PE-Code-Generator-FAILURE/m-p/240788#M1322</guid>
      <dc:creator>williamely</dc:creator>
      <dc:date>2014-03-03T17:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: PE Code Generator FAILURE</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PE-Code-Generator-FAILURE/m-p/240789#M1323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Michal, any update on the K64 release date?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 19:06:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PE-Code-Generator-FAILURE/m-p/240789#M1323</guid>
      <dc:creator>williamely</dc:creator>
      <dc:date>2014-03-17T19:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: PE Code Generator FAILURE</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PE-Code-Generator-FAILURE/m-p/240790#M1324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello William,&lt;/P&gt;&lt;P&gt;as far as I know the standalone 4.1.0 installer for TWR-K64F120M is ready for placing to the FSL web. You can expect to be there in couple of days, probably by the end of this week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MichalP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 08:15:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PE-Code-Generator-FAILURE/m-p/240790#M1324</guid>
      <dc:creator>MichalP</dc:creator>
      <dc:date>2014-03-18T08:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: PE Code Generator FAILURE</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PE-Code-Generator-FAILURE/m-p/240791#M1325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just got it. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 22:12:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PE-Code-Generator-FAILURE/m-p/240791#M1325</guid>
      <dc:creator>williamely</dc:creator>
      <dc:date>2014-03-18T22:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: PE Code Generator FAILURE</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/PE-Code-Generator-FAILURE/m-p/240792#M1326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vojtech, &lt;/P&gt;&lt;P&gt;I have experienced the same issue with Processor Expert on a FRDM K64F Board and CW 10.5. After attempting to generate code with PE I got the issue that Vectors_config.h was not found. I tried your workaround of marking Vectors.c to not be built, but now my Processor Expert CPU_Init.c code can not compile when I try to compile my project because it uses one of the vector data types from Vectors.c. Now I can no longer compile my application with "undefined reference to '__vect_table' errors.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 20:42:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/PE-Code-Generator-FAILURE/m-p/240792#M1326</guid>
      <dc:creator>ironsean</dc:creator>
      <dc:date>2014-11-03T20:42:34Z</dc:date>
    </item>
  </channel>
</rss>

