<?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: linker file attribute section problem in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/linker-file-attribute-section-problem/m-p/760487#M46361</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arth,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Now, I still don't have the according material for KDS.&lt;/P&gt;&lt;P&gt;But, you can send me your project, I would like to help you to check it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jan 2018 09:36:44 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2018-01-05T09:36:44Z</dc:date>
    <item>
      <title>linker file attribute section problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/linker-file-attribute-section-problem/m-p/760481#M46355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/kerryzhou"&gt;kerryzhou&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;i am working with kinetis KL26Z.&lt;/P&gt;&lt;P&gt;i want to define some section in flash memory like bootloader, for that i am just changing linker file.&lt;/P&gt;&lt;P&gt;it all works fine,it create partition and show this partition in MAP file and LIST file also but when i use debug session and watch memory window there are no partiotion in actual flash memory.&lt;/P&gt;&lt;P&gt;why this happen?&lt;/P&gt;&lt;P&gt;my program also stuck and goes into default ISR.&lt;/P&gt;&lt;P&gt;here i attached some screren shot of my problem,&lt;/P&gt;&lt;P&gt;reply with your ideas.&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;Arth Shah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2018 07:04:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/linker-file-attribute-section-problem/m-p/760481#M46355</guid>
      <dc:creator>arthshah</dc:creator>
      <dc:date>2018-01-04T07:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: linker file attribute section problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/linker-file-attribute-section-problem/m-p/760482#M46356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arth Shah,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Yes, you define the m_flash region, but how you put your own data in that region?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Your map file actually already give the detail address:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/37313iBA8CB2C6B8704F44/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;.flash and .txt.ErrorTrap&amp;nbsp; end address still 0x32800,&amp;nbsp; Your real .boot_start is from 0x32820, but the end address still seems have problem.&lt;/P&gt;&lt;P&gt;I think your ld file still have problem, please give me more details about how your put your data in the m_flash region.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 02:24:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/linker-file-attribute-section-problem/m-p/760482#M46356</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-01-05T02:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: linker file attribute section problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/linker-file-attribute-section-problem/m-p/760483#M46357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/kerryzhou"&gt;kerryzhou&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;thanks for the reply.&lt;/P&gt;&lt;P&gt;i have flash.h and flash.c files.&lt;/P&gt;&lt;P&gt;i just simply devide flash.o file into my flash section in linker file.&lt;/P&gt;&lt;P&gt;I didn't change in my program or main file.&lt;/P&gt;&lt;P&gt;whatever changes made is only in linker file.&lt;/P&gt;&lt;P&gt;writing m_flash and create section of it in linker file automatically it puts flash.o file into that particular section.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 05:14:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/linker-file-attribute-section-problem/m-p/760483#M46357</guid>
      <dc:creator>arthshah</dc:creator>
      <dc:date>2018-01-05T05:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: linker file attribute section problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/linker-file-attribute-section-problem/m-p/760484#M46358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arth Shah,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Please give more details about: devide flash.o file into my flash section in linker file.&lt;/P&gt;&lt;P&gt;How did you realize it?&lt;/P&gt;&lt;P&gt;You can give me your linker file. I need to check it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 06:54:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/linker-file-attribute-section-problem/m-p/760484#M46358</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-01-05T06:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: linker file attribute section problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/linker-file-attribute-section-problem/m-p/760485#M46359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arth,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; You can refer to this post:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-104433"&gt;Relocating Code and Data Using the KDS GCC Linker File for Kinetis&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;You can relocate the function in your .c file, then check the according flash address again.&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 06:59:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/linker-file-attribute-section-problem/m-p/760485#M46359</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-01-05T06:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: linker file attribute section problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/linker-file-attribute-section-problem/m-p/760486#M46360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello kerry,&lt;/P&gt;&lt;P&gt;thanks for the reply.&lt;/P&gt;&lt;P&gt;i don't want to add my function to other section of flash.&lt;/P&gt;&lt;P&gt;i want to add whole file to other section of flash.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 08:58:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/linker-file-attribute-section-problem/m-p/760486#M46360</guid>
      <dc:creator>arthshah</dc:creator>
      <dc:date>2018-01-05T08:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: linker file attribute section problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/linker-file-attribute-section-problem/m-p/760487#M46361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arth,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Now, I still don't have the according material for KDS.&lt;/P&gt;&lt;P&gt;But, you can send me your project, I would like to help you to check it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&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;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 09:36:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/linker-file-attribute-section-problem/m-p/760487#M46361</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-01-05T09:36:44Z</dc:date>
    </item>
  </channel>
</rss>

