<?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>NXP Designs中的主题 Re: Bootloader addresses in Linker File</title>
    <link>https://community.nxp.com/t5/NXP-Designs/Bootloader-addresses-in-Linker-File/m-p/1002985#M244</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii Diana&lt;/P&gt;&lt;P&gt;I understood your code. I will create linker file according to that. If I get any doubt I will ask your support please help me at that time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jan 2020 13:54:59 GMT</pubDate>
    <dc:creator>lakshmi_s</dc:creator>
    <dc:date>2020-01-23T13:54:59Z</dc:date>
    <item>
      <title>Bootloader addresses in Linker File</title>
      <link>https://community.nxp.com/t5/NXP-Designs/Bootloader-addresses-in-Linker-File/m-p/1002981#M240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;#How does PC fetches Bootloader starting Address&lt;/P&gt;&lt;P&gt;I am creating separate linker file for UDS bootloader and Application code purpose in S32 DS environment.&lt;/P&gt;&lt;P&gt;I am using S32K144 MCU, I wanted to configure my bootloder and application code in P-flash, so i assigned 32kb for bootloader and remaining kb for appplication..&lt;/P&gt;&lt;P&gt;If i assign bootloader memory starting address as 0x00000410 and length =&amp;nbsp;0x00008410 .After MCU reset the Bootloader firmware should be execute, so how PC can fetch the Bootloader starting address.(Where can i mention the starting address of bootloader?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;boot memory configuration&lt;/P&gt;&lt;P&gt;MEMORY&lt;BR /&gt;{&lt;BR /&gt;/* Flash */&lt;BR /&gt;m_interrupts (RX) : ORIGIN = 0x00000000, LENGTH = 0x00000400&lt;BR /&gt;m_flash_config (RX) : ORIGIN = 0x00000400, LENGTH = 0x00000010&lt;BR /&gt;m_text (RX) : ORIGIN = 0x00000410, LENGTH = 0x00008410&lt;/P&gt;&lt;P&gt;/* SRAM_L */&lt;BR /&gt;m_data (RW) : ORIGIN = 0x1FFF8000, LENGTH = 0x00008000&lt;/P&gt;&lt;P&gt;/* SRAM_U */&lt;BR /&gt;m_data_2 (RW) : ORIGIN = 0x20000000, LENGTH = 0x00007000&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;app memory configuration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MEMORY&lt;BR /&gt;{&lt;BR /&gt;/* Flash */&lt;BR /&gt;m_interrupts (RX) : ORIGIN = 0x00000000, LENGTH = 0x00000400&lt;BR /&gt;m_flash_config (RX) : ORIGIN = 0x00000400, LENGTH = 0x00000010&lt;BR /&gt;m_text (RX) : ORIGIN = 0x0000C410, LENGTH = 0x00020000&lt;/P&gt;&lt;P&gt;/* SRAM_L */&lt;BR /&gt;m_data (RW) : ORIGIN = 0x1FFF8000, LENGTH = 0x00008000&lt;/P&gt;&lt;P&gt;/* SRAM_U */&lt;BR /&gt;m_data_2 (RW) : ORIGIN = 0x20000000, LENGTH = 0x00007000&lt;BR /&gt;}&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/khumphri"&gt;khumphri&lt;/A&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/Mandar"&gt;Mandar&lt;/A&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/marc.paquette"&gt;marc.paquette&lt;/A&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/RChapman"&gt;RChapman&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2020 07:30:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NXP-Designs/Bootloader-addresses-in-Linker-File/m-p/1002981#M240</guid>
      <dc:creator>lakshmi_s</dc:creator>
      <dc:date>2020-01-13T07:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader addresses in Linker File</title>
      <link>https://community.nxp.com/t5/NXP-Designs/Bootloader-addresses-in-Linker-File/m-p/1002982#M241</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;You can look at the serial bootloader AN12218&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;A data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note%2FAN12218.pdf" rel="nofollow" style="color: #3d9ce7; border: 0px; font-weight: inherit; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN12218.pdf&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;A data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note-software%2FAN12218SW.zip" rel="nofollow" style="color: #3d9ce7; border: 0px; font-weight: inherit; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://www.nxp.com/docs/en/application-note-software/AN12218SW.zip&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P&gt;At first about bootloader:&lt;/P&gt;&lt;P&gt;Your boot memory configuration is correct. The bootloader will start right after reset.&lt;/P&gt;&lt;P&gt;The stack pointer and reset vector are expected always at the address 0x0 and 0x4. So, if you didn't move the m_interrupts section you don't need to jump anywhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Application:&lt;/P&gt;&lt;P&gt;If we need to place application somewhere into memory we should, also, move the m_interrupts section.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;m_interrupts (RX) : ORIGIN = 0x0000C000, LENGTH = 0x00000400&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;m_text (RX) : ORIGIN = 0x0000C410, LENGTH = 0x00020000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that, if we want to run an application we jump to application PC.&lt;/P&gt;&lt;P&gt;You can use the&amp;nbsp;&lt;STRONG&gt;JumpToUserApplication&lt;/STRONG&gt;() function located in the main.c of the AN12218.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe it helps.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2020 09:21:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NXP-Designs/Bootloader-addresses-in-Linker-File/m-p/1002982#M241</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2020-01-16T09:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader addresses in Linker File</title>
      <link>https://community.nxp.com/t5/NXP-Designs/Bootloader-addresses-in-Linker-File/m-p/1002983#M242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii&lt;/P&gt;&lt;P&gt;Thank you for your reply ..&amp;nbsp; It helps me lot.&amp;nbsp; i have one more doubt do i need give different address for m_data and m_data2 sections in boot memory and application memory&lt;/P&gt;&lt;P&gt;for ex:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;boot memory configuration&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;MEMORY&lt;BR /&gt;{&lt;BR /&gt;/* Flash */&lt;BR /&gt;m_interrupts (RX) : ORIGIN = 0x00000000, LENGTH = 0x00000400&lt;BR /&gt;m_flash_config (RX) : ORIGIN = 0x00000400, LENGTH = 0x00000010&lt;BR /&gt;m_text (RX) : ORIGIN = 0x00000410, LENGTH = 0x00008410&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;/* SRAM_L */&lt;BR /&gt;m_data (RW) : ORIGIN = 0x1FFF0000, LENGTH = 0x00008000&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;---------------------------&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;/* SRAM_U */&lt;BR /&gt;m_data_2 (RW) : ORIGIN = 0x20000000, LENGTH = 0x00007000&lt;BR /&gt;}&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;app memory configuration&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;MEMORY&lt;BR /&gt;{&lt;BR /&gt;/* Flash */&lt;BR /&gt;m_interrupts (RX) : ORIGIN = 0x0000C000, LENGTH = 0x00000400&lt;BR /&gt;m_flash_config (RX) : ORIGIN = 0x0000C400, LENGTH = 0x00000010&lt;BR /&gt;m_text (RX) : ORIGIN = 0x0000C410, LENGTH = 0x00020000&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;/* SRAM_L */&lt;BR /&gt;m_data (RW) : ORIGIN = 0x1FFF8000, LENGTH = 0x00008000&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;-----------------&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;/* SRAM_U */&lt;BR /&gt;m_data_2 (RW) : ORIGIN = 0x20007000, LENGTH = 0x00007000&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2020 13:24:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NXP-Designs/Bootloader-addresses-in-Linker-File/m-p/1002983#M242</guid>
      <dc:creator>lakshmi_s</dc:creator>
      <dc:date>2020-01-17T13:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader addresses in Linker File</title>
      <link>https://community.nxp.com/t5/NXP-Designs/Bootloader-addresses-in-Linker-File/m-p/1002984#M243</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;It depends on your application requirements. For example, if you jump into the application after reset (which is my recommendation) the RAM will be initialized, so, you do not need to have a different address of RAM sections for the bootloader and application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2020 11:47:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NXP-Designs/Bootloader-addresses-in-Linker-File/m-p/1002984#M243</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2020-01-20T11:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader addresses in Linker File</title>
      <link>https://community.nxp.com/t5/NXP-Designs/Bootloader-addresses-in-Linker-File/m-p/1002985#M244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii Diana&lt;/P&gt;&lt;P&gt;I understood your code. I will create linker file according to that. If I get any doubt I will ask your support please help me at that time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2020 13:54:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NXP-Designs/Bootloader-addresses-in-Linker-File/m-p/1002985#M244</guid>
      <dc:creator>lakshmi_s</dc:creator>
      <dc:date>2020-01-23T13:54:59Z</dc:date>
    </item>
  </channel>
</rss>

