<?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 Startup_Code trouble with kinetis &amp; PE in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Startup-Code-trouble-with-kinetis-PE/m-p/245123#M6388</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the instructions that show how to set up processor expert for a CW10.3 project with the K20 family, it states that I must remove files "kinetis_sysinit.c" and "kinetis_sysinit.h" because they will interfere with PE.&amp;nbsp; I could not find those files in Project Settings&amp;gt;Startup_Code like the document stated I would.&amp;nbsp; I'm wondering why they aren't there to delete. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I'm running into problems with initialization and my startup.c file.&amp;nbsp; These are the errors as follows...&lt;/P&gt;&lt;P&gt;Description Resource Path Location Type&lt;/P&gt;&lt;P&gt; Undefined : "__DATA_RAM" startup.c /NewMemProject/Sources/common line 103 C/C++ Problem&lt;/P&gt;&lt;P&gt;Undefined : "__DATA_END" startup.c /NewMemProject/Sources/common line 103 C/C++ Problem&lt;/P&gt;&lt;P&gt;Undefined : "__DATA_ROM" startup.c /NewMemProject/Sources/common line 103 C/C++ Problem&lt;/P&gt;&lt;P&gt;Undefined : "__VECTOR_RAM" startup.c /NewMemProject/Sources/common line 103 C/C++ Problem&lt;/P&gt;&lt;P&gt;Undefined : "__VECTOR_TABLE" startup.c /NewMemProject/Sources/common line 103 C/C++ Problem&lt;/P&gt;&lt;P&gt;Link failed. NewMemProject&amp;nbsp;&amp;nbsp;&amp;nbsp; C/C++ Problem&lt;/P&gt;&lt;P&gt;mingw32-make: *** [NewMemProject.afx] Error 1 NewMemProject&amp;nbsp;&amp;nbsp;&amp;nbsp; C/C++ Problem&lt;/P&gt;&lt;P&gt;Undefined : "___BOOT_STACK_ADDRESS" NewMemProject&amp;nbsp; line 0, external location: C:\Users\Liz.Anderson\Desktop\Freescale Tower\DemoCodeK20D72M\KINETIS_72MHz_SRC\build\cw\NewMemProject\MK20DX256_INTERNAL_FLASH\cw_crt0_s.obj C/C++ Problem&lt;/P&gt;&lt;P&gt;Undefined : "__BOOT_STACK_ADDRESS" NewMemProject&amp;nbsp; line 0, external location: C:\Users\Liz.Anderson\Desktop\Freescale Tower\DemoCodeK20D72M\KINETIS_72MHz_SRC\build\cw\NewMemProject\MK20DX256_INTERNAL_FLASH\vectors_c.obj C/C++ Problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the startup.c code where the first half of the errors are is as follows:&lt;STRONG style=": ; color: #7f0055; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #7f0055; font-size: 10pt;"&gt;void&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #7f0055; font-size: 10pt;"&gt;common_startup(void){&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;#if(defined(CW)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #7f0055; font-size: 10pt;"&gt;extern&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: 10pt;"&gt;char&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; __START_BSS[];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #7f0055; font-size: 10pt;"&gt;extern&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: 10pt;"&gt;char&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; __END_BSS[];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #7f0055; font-size: 10pt;"&gt;extern&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #005032; font-size: 10pt;"&gt;uint32&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; __DATA_ROM[];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #7f0055; font-size: 10pt;"&gt;extern&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #005032; font-size: 10pt;"&gt;uint32&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; __DATA_RAM[];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #7f0055; font-size: 10pt;"&gt;extern&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: 10pt;"&gt;char&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; __DATA_END[];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;#endif&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;How much of their code do I have to modify to make this work?&amp;nbsp; I'm just trying to make UART work and hopefully make sure I can work with the memory of the chip.&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;SPAN class="mce_paste_marker"&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Liz&lt;/SPAN&gt;&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>Fri, 01 Feb 2013 13:54:51 GMT</pubDate>
    <dc:creator>lander</dc:creator>
    <dc:date>2013-02-01T13:54:51Z</dc:date>
    <item>
      <title>Startup_Code trouble with kinetis &amp; PE</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Startup-Code-trouble-with-kinetis-PE/m-p/245123#M6388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the instructions that show how to set up processor expert for a CW10.3 project with the K20 family, it states that I must remove files "kinetis_sysinit.c" and "kinetis_sysinit.h" because they will interfere with PE.&amp;nbsp; I could not find those files in Project Settings&amp;gt;Startup_Code like the document stated I would.&amp;nbsp; I'm wondering why they aren't there to delete. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I'm running into problems with initialization and my startup.c file.&amp;nbsp; These are the errors as follows...&lt;/P&gt;&lt;P&gt;Description Resource Path Location Type&lt;/P&gt;&lt;P&gt; Undefined : "__DATA_RAM" startup.c /NewMemProject/Sources/common line 103 C/C++ Problem&lt;/P&gt;&lt;P&gt;Undefined : "__DATA_END" startup.c /NewMemProject/Sources/common line 103 C/C++ Problem&lt;/P&gt;&lt;P&gt;Undefined : "__DATA_ROM" startup.c /NewMemProject/Sources/common line 103 C/C++ Problem&lt;/P&gt;&lt;P&gt;Undefined : "__VECTOR_RAM" startup.c /NewMemProject/Sources/common line 103 C/C++ Problem&lt;/P&gt;&lt;P&gt;Undefined : "__VECTOR_TABLE" startup.c /NewMemProject/Sources/common line 103 C/C++ Problem&lt;/P&gt;&lt;P&gt;Link failed. NewMemProject&amp;nbsp;&amp;nbsp;&amp;nbsp; C/C++ Problem&lt;/P&gt;&lt;P&gt;mingw32-make: *** [NewMemProject.afx] Error 1 NewMemProject&amp;nbsp;&amp;nbsp;&amp;nbsp; C/C++ Problem&lt;/P&gt;&lt;P&gt;Undefined : "___BOOT_STACK_ADDRESS" NewMemProject&amp;nbsp; line 0, external location: C:\Users\Liz.Anderson\Desktop\Freescale Tower\DemoCodeK20D72M\KINETIS_72MHz_SRC\build\cw\NewMemProject\MK20DX256_INTERNAL_FLASH\cw_crt0_s.obj C/C++ Problem&lt;/P&gt;&lt;P&gt;Undefined : "__BOOT_STACK_ADDRESS" NewMemProject&amp;nbsp; line 0, external location: C:\Users\Liz.Anderson\Desktop\Freescale Tower\DemoCodeK20D72M\KINETIS_72MHz_SRC\build\cw\NewMemProject\MK20DX256_INTERNAL_FLASH\vectors_c.obj C/C++ Problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the startup.c code where the first half of the errors are is as follows:&lt;STRONG style=": ; color: #7f0055; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #7f0055; font-size: 10pt;"&gt;void&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #7f0055; font-size: 10pt;"&gt;common_startup(void){&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;#if(defined(CW)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #7f0055; font-size: 10pt;"&gt;extern&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: 10pt;"&gt;char&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; __START_BSS[];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #7f0055; font-size: 10pt;"&gt;extern&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: 10pt;"&gt;char&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; __END_BSS[];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #7f0055; font-size: 10pt;"&gt;extern&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #005032; font-size: 10pt;"&gt;uint32&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; __DATA_ROM[];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #7f0055; font-size: 10pt;"&gt;extern&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #005032; font-size: 10pt;"&gt;uint32&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; __DATA_RAM[];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #7f0055; font-size: 10pt;"&gt;extern&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #7f0055; font-size: 10pt;"&gt;char&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; __DATA_END[];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;#endif&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;How much of their code do I have to modify to make this work?&amp;nbsp; I'm just trying to make UART work and hopefully make sure I can work with the memory of the chip.&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;SPAN class="mce_paste_marker"&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Liz&lt;/SPAN&gt;&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>Fri, 01 Feb 2013 13:54:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Startup-Code-trouble-with-kinetis-PE/m-p/245123#M6388</guid>
      <dc:creator>lander</dc:creator>
      <dc:date>2013-02-01T13:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Startup_Code trouble with kinetis &amp; PE</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Startup-Code-trouble-with-kinetis-PE/m-p/245124#M6389</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;Where did you find that instructions about PEx setup?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2013 16:28:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Startup-Code-trouble-with-kinetis-PE/m-p/245124#M6389</guid>
      <dc:creator>adriansc</dc:creator>
      <dc:date>2013-02-05T16:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Startup_Code trouble with kinetis &amp; PE</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Startup-Code-trouble-with-kinetis-PE/m-p/245125#M6390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have solved my issue but the PEx setup instructions are here: &lt;A href="http://www.freescale.com/infocenter/index.jsp?topic=%2Fcom.freescale.doc.mcu.processorexpert.usersmanual%2Fhtml%2FConvertingToPE.html" title="http://www.freescale.com/infocenter/index.jsp?topic=%2Fcom.freescale.doc.mcu.processorexpert.usersmanual%2Fhtml%2FConvertingToPE.html"&gt;Freescale Technical Information Center&lt;/A&gt; &lt;/P&gt;&lt;P&gt; I hope this link works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 19:20:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Startup-Code-trouble-with-kinetis-PE/m-p/245125#M6390</guid>
      <dc:creator>lander</dc:creator>
      <dc:date>2013-02-08T19:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Startup_Code trouble with kinetis &amp; PE</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Startup-Code-trouble-with-kinetis-PE/m-p/245126#M6391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is good to know that you have solved your problem. Go on with your project!!.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you can post how you solved it in order to help other members.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 17:41:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Startup-Code-trouble-with-kinetis-PE/m-p/245126#M6391</guid>
      <dc:creator>adriansc</dc:creator>
      <dc:date>2013-02-11T17:41:10Z</dc:date>
    </item>
  </channel>
</rss>

