<?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>Kinetis MicrocontrollersのトピックK60F and K64F ROM section set to half capacity on purpose?</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60F-and-K64F-ROM-section-set-to-half-capacity-on-purpose/m-p/299741#M12482</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I noticed that the linker files for both the TWR-K64F120M and TWR-K60F120M have the "rom" section set like this:&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13952549898255658" jivemacro_uid="_13952549898255658"&gt;
&lt;P&gt;rom (RX): ORIGIN = 0x00000420, LENGTH = 0x0007FBE0&amp;nbsp; /* Code + Const data */&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been changing this line to make the full flash capacity available.&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_13952550517353714 jive_macro_code" jivemacro_uid="_13952550517353714"&gt;
&lt;P&gt;rom (RX): ORIGIN = 0x00000420, LENGTH = 0x000FFBE0&amp;nbsp; /* Code + Const data */&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this a good thing to do or should I make an additional "rom" section?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Mar 2014 18:53:55 GMT</pubDate>
    <dc:creator>williamely</dc:creator>
    <dc:date>2014-03-19T18:53:55Z</dc:date>
    <item>
      <title>K60F and K64F ROM section set to half capacity on purpose?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60F-and-K64F-ROM-section-set-to-half-capacity-on-purpose/m-p/299741#M12482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I noticed that the linker files for both the TWR-K64F120M and TWR-K60F120M have the "rom" section set like this:&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13952549898255658" jivemacro_uid="_13952549898255658"&gt;
&lt;P&gt;rom (RX): ORIGIN = 0x00000420, LENGTH = 0x0007FBE0&amp;nbsp; /* Code + Const data */&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been changing this line to make the full flash capacity available.&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_13952550517353714 jive_macro_code" jivemacro_uid="_13952550517353714"&gt;
&lt;P&gt;rom (RX): ORIGIN = 0x00000420, LENGTH = 0x000FFBE0&amp;nbsp; /* Code + Const data */&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this a good thing to do or should I make an additional "rom" section?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 18:53:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60F-and-K64F-ROM-section-set-to-half-capacity-on-purpose/m-p/299741#M12482</guid>
      <dc:creator>williamely</dc:creator>
      <dc:date>2014-03-19T18:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: K60F and K64F ROM section set to half capacity on purpose?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60F-and-K64F-ROM-section-set-to-half-capacity-on-purpose/m-p/299742#M12483</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;&lt;/P&gt;&lt;P&gt;The answer pretty much depends on the rest of the linker file, not just that line. Yes, you can extend the section and use the whole flash space, as long as you properly allocate your vector table, flash configuration field and initialized variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you got that linker file from an example project, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As reference, you can create a new bareboard project with CodeWarrior and check the linker file. It makes use of the entire 1 MB of flash.&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;BR /&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>Thu, 20 Mar 2014 02:14:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60F-and-K64F-ROM-section-set-to-half-capacity-on-purpose/m-p/299742#M12483</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2014-03-20T02:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: K60F and K64F ROM section set to half capacity on purpose?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60F-and-K64F-ROM-section-set-to-half-capacity-on-purpose/m-p/299743#M12484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jorge. I got the linker file from the BSP for the tower kit. I'll make a bareboard project and see how that linker script compares with the BSP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 14:49:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60F-and-K64F-ROM-section-set-to-half-capacity-on-purpose/m-p/299743#M12484</guid>
      <dc:creator>williamely</dc:creator>
      <dc:date>2014-03-20T14:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Re: K60F and K64F ROM section set to half capacity on purpose?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60F-and-K64F-ROM-section-set-to-half-capacity-on-purpose/m-p/299744#M12485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to be thorough...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the memory section of the PE linker script for the MK60FN1M0VLQ12:&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_13953283757048351 jive_macro_code" jivemacro_uid="_13953283757048351" modifiedtitle="true"&gt;
&lt;P&gt;MEMORY {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; m_interrupts (RX) : ORIGIN = 0x00000000, LENGTH = 0x000001E8&lt;/P&gt;
&lt;P&gt;&amp;nbsp; m_text&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX) : ORIGIN = 0x00000410, LENGTH = 0x00007BF0&amp;nbsp; /* This should be the same as the K64F since they are both 1M0 parts */&lt;/P&gt;
&lt;P&gt;&amp;nbsp; m_data&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RW) : ORIGIN = 0x1FFF0000, LENGTH = 0x00010000&lt;/P&gt;
&lt;P&gt;&amp;nbsp; m_data_20000000 (RW) : ORIGIN = 0x20000000, LENGTH = 0x00010000&lt;/P&gt;
&lt;P&gt;&amp;nbsp; m_cfmprotrom&amp;nbsp; (RX) : ORIGIN = 0x00000400, LENGTH = 0x00000010&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the same for the MK64FN1M0VLQ12:&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="_jivemacro_uid_1395328424844516 jive_text_macro jive_macro_code" jivemacro_uid="_1395328424844516" modifiedtitle="true"&gt;
&lt;P&gt;MEMORY {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; m_interrupts (RX) : ORIGIN = 0x00000000, LENGTH = 0x00000198&lt;/P&gt;
&lt;P&gt;&amp;nbsp; m_text&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX) : ORIGIN = 0x00000410, LENGTH = 0x000FFBF0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* I believe this line is correct */&lt;/P&gt;
&lt;P&gt;&amp;nbsp; m_data_1FFF0000 (RW) : ORIGIN = 0x1FFF0000, LENGTH = 0x00010000&lt;/P&gt;
&lt;P&gt;&amp;nbsp; m_data&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RW) : ORIGIN = 0x20000000, LENGTH = 0x00030000&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; m_cfmprotrom&amp;nbsp; (RX) : ORIGIN = 0x00000400, LENGTH = 0x00000010&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there is a mistake in the K60F PE and MQX linker scripts for the 1M0 parts and that mistake seems to have carried over into the K64 MQX linker script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2014 15:30:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60F-and-K64F-ROM-section-set-to-half-capacity-on-purpose/m-p/299744#M12485</guid>
      <dc:creator>williamely</dc:creator>
      <dc:date>2014-03-20T15:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Re: K60F and K64F ROM section set to half capacity on purpose?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60F-and-K64F-ROM-section-set-to-half-capacity-on-purpose/m-p/299745#M12486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi William:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I couldn't say if that is a mistake or if it had some purpose. But you can go ahead and change it, there should be no problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And from your previous comment, if you have the linker that comes with MQX, then do not worry about allocating stuff, as you already have some sections called "vectorrom" and "cfmprotrom", correct?&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>Thu, 20 Mar 2014 16:32:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K60F-and-K64F-ROM-section-set-to-half-capacity-on-purpose/m-p/299745#M12486</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2014-03-20T16:32:48Z</dc:date>
    </item>
  </channel>
</rss>

