<?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: I.MXRT1064 code placement in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/I-MXRT1064-code-placement/m-p/912936#M3304</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;Thank you for your reply. The link you provided contains very good information.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anuj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Jul 2019 09:05:03 GMT</pubDate>
    <dc:creator>anujtanksali</dc:creator>
    <dc:date>2019-07-03T09:05:03Z</dc:date>
    <item>
      <title>I.MXRT1064 code placement</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/I-MXRT1064-code-placement/m-p/912932#M3300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using I.MXRT1064 EVK board for development. The architecture scheme which i will be using will contain a boot loader at 0x70000000. Application will be running at 0x70004000. The bootloader project is separate and application project is separate.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my application project i want to configure my flash start address to 0x70004000. How do i do it using MCUXpresso or using linker script file. Currently my application always starts from 0x70000000 and at this address currently there are sections defined&amp;nbsp; ".boot_hdr.conf" and then ".boot_hdr.ivt", ".boot_hdr.boot_data"&lt;/P&gt;&lt;P&gt;(see attached test_Debug.ld)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am changing the address using the MCUXpresso memory settings (see attached mcuxpresso memory.PNG). Am changing the address highlighted in the image to&amp;nbsp;&lt;SPAN&gt;0x70004000. Now if i jump to address 0x70004000 from my bootloader then my application should start. Is this the correct way or i will have to do something else?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Assuming above changes to start application from &lt;SPAN&gt;0x70004000&amp;nbsp;&lt;/SPAN&gt;are correct then what is the significance of&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;"&lt;/SPAN&gt;&lt;SPAN&gt;.boot_hdr.conf" and then "&lt;/SPAN&gt;&lt;SPAN&gt;.boot_hdr.ivt", "&lt;/SPAN&gt;&lt;SPAN&gt;.boot_hdr.boot_data" which do not get generated if flash start address is&amp;nbsp;0x70004000. these sections are only visible in map file if flash start address is&amp;nbsp;0x70000000.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Another question is i wanted to place a structure at a fixed address in memory suppose&amp;nbsp;0x70003000 how do i do that using MCUXpresso settings. will i have to manually mention section (e.g. defined as&amp;nbsp;__attribute__((section("test_struct")))&amp;nbsp; in my linker file or it can be done in MCUXpresso settings. if yes then how?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Anuj&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2019 13:49:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/I-MXRT1064-code-placement/m-p/912932#M3300</guid>
      <dc:creator>anujtanksali</dc:creator>
      <dc:date>2019-06-27T13:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: I.MXRT1064 code placement</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/I-MXRT1064-code-placement/m-p/912933#M3301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="293898" data-username="anujtanksali" href="https://community.nxp.com/people/anujtanksali"&gt;Anuj Tanksali&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;Q1) Now if I jump to address 0x70004000 from my bootloader then my application should start. Is this the correct way or I will have to do something else?&lt;BR /&gt;-- It's not correct because of the image structure is Image Vector Table (IVT), it consists of a variety different of sections, besides for the application, as the Fig 1 shows. You should jump to the application address to execute the application.&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/89944i0C114462A2A88FAD/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 style="text-align: center;"&gt;Fig 1&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;BR /&gt;Q2) Will I have to manually mention section (e.g. defined as __attribute__((section("test_struct")))&amp;nbsp; in my linker file or it can be done in MCUXpresso settings. if yes then how?&lt;BR /&gt;-- Yes, it's able to place a structure at a fixed address via using the attribute macros, you can learn the more information via the thread:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/389101"&gt;https://community.nxp.com/thread/389101&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2019 09:53:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/I-MXRT1064-code-placement/m-p/912933#M3301</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-06-28T09:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: I.MXRT1064 code placement</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/I-MXRT1064-code-placement/m-p/912934#M3302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;Can you please explain what are the sections&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;".boot_hdr.conf" and then ".boot_hdr.ivt", ".boot_hdr.boot_data" currently defined in my linker file and whether all sections are required?. I understand&amp;nbsp;&lt;SPAN&gt;.boot_hdr.ivt will be required as it is image vector table but not sure about other 2 sections.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;As my application is a different MCUXpresso project i presume all these sections or some of the sections are required. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;if yes then how can i configure them at different address as currently they start at 0x70000000.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Please let me know&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Anuj&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2019 10:51:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/I-MXRT1064-code-placement/m-p/912934#M3302</guid>
      <dc:creator>anujtanksali</dc:creator>
      <dc:date>2019-07-01T10:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: I.MXRT1064 code placement</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/I-MXRT1064-code-placement/m-p/912935#M3303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="293898" data-objecttype="3" href="https://community.nxp.com/people/anujtanksali"&gt;Anuj Tanksali&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;1) Can you please explain what are the sections ".boot_hdr.conf" and then ".boot_hdr.ivt", ".boot_hdr.boot_data" currently defined in my linker file and whether all sections are required?&lt;BR /&gt;--boot_hdr.conf section: FDCB (Flash Device Configuration Block) is used to configure the settings of FlexSPI communication. &amp;nbsp;&lt;BR /&gt;boot_hdr.ivt section: Image Vector Table (IVT) that tells the memory the addresses of where everything is stored.&lt;BR /&gt;boot_hdr.boot_data section: Boot Data contains pointers to the start address of the Memory.&lt;BR /&gt;These sections are not necessary for the application demo, however bootloader demo should need these sections.&lt;/P&gt;&lt;P&gt;You can learn the more information about them via the thread:&lt;A href="https://community.nxp.com/docs/DOC-341317"&gt;Generating a Bootable Image for the RT1050&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is clear.&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2019 06:04:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/I-MXRT1064-code-placement/m-p/912935#M3303</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-07-03T06:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: I.MXRT1064 code placement</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/I-MXRT1064-code-placement/m-p/912936#M3304</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;Thank you for your reply. The link you provided contains very good information.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anuj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2019 09:05:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/I-MXRT1064-code-placement/m-p/912936#M3304</guid>
      <dc:creator>anujtanksali</dc:creator>
      <dc:date>2019-07-03T09:05:03Z</dc:date>
    </item>
  </channel>
</rss>

