<?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>LPC MicrocontrollersのトピックRe: How to build image with virtual address</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-build-image-with-virtual-address/m-p/993268#M39116</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thinking more about this, it is not possible in an embedded situation. To provide the relocations and fixups necessary you need access to the .AXF file at load time - you cannot do it with a pure binary image.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Dec 2019 11:41:01 GMT</pubDate>
    <dc:creator>converse</dc:creator>
    <dc:date>2019-12-03T11:41:01Z</dc:date>
    <item>
      <title>How to build image with virtual address</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-build-image-with-virtual-address/m-p/993264#M39112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi NXP,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using MCUExpressso, is this possible to build the image use virual address instead of using absolute address?&lt;/P&gt;&lt;P&gt;Means, same image that can be ran in different location.&lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;With one single image.bin that can be loaded into memory location 1) 0x10000 and 2) 0x20000.&lt;/P&gt;&lt;P&gt;I can use the boot loader to jump to either location 1) or 2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Nov 2019 05:56:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-build-image-with-virtual-address/m-p/993264#M39112</guid>
      <dc:creator>terence_kong</dc:creator>
      <dc:date>2019-11-30T05:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to build image with virtual address</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-build-image-with-virtual-address/m-p/993265#M39113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear NXP,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to know how to build position independent code in MCUXpresso, is there any document or example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2019 19:34:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-build-image-with-virtual-address/m-p/993265#M39113</guid>
      <dc:creator>terence_kong</dc:creator>
      <dc:date>2019-12-02T19:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to build image with virtual address</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-build-image-with-virtual-address/m-p/993266#M39114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The simple answer is no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the (much) more complicated answer is maybe, if you write a boot loader that can hook up the load address and handle all the other fix ups that are necessary. Basically it is normally only possible if you are using an OS that does these things for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;search for position independent code with GCC on arm for some more information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2019 19:52:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-build-image-with-virtual-address/m-p/993266#M39114</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2019-12-02T19:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to build image with virtual address</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-build-image-with-virtual-address/m-p/993267#M39115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ConVerse,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact I already have the boot loader ready that can jump to different address.&amp;nbsp; The application built by MCUXpresso is in absolute address..&lt;/P&gt;&lt;P&gt;I am not sure how to build the code in position independent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2019 20:01:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-build-image-with-virtual-address/m-p/993267#M39115</guid>
      <dc:creator>terence_kong</dc:creator>
      <dc:date>2019-12-02T20:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to build image with virtual address</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-build-image-with-virtual-address/m-p/993268#M39116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thinking more about this, it is not possible in an embedded situation. To provide the relocations and fixups necessary you need access to the .AXF file at load time - you cannot do it with a pure binary image.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 11:41:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-build-image-with-virtual-address/m-p/993268#M39116</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2019-12-03T11:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to build image with virtual address</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-build-image-with-virtual-address/m-p/993269#M39117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think it is that difficult.&amp;nbsp; This feature is supported in IAR, and it is document in NXP document AN5163&lt;/P&gt;&lt;P&gt;That's why I am asking if this supported in MCUXpresso?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 17:36:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-build-image-with-virtual-address/m-p/993269#M39117</guid>
      <dc:creator>terence_kong</dc:creator>
      <dc:date>2019-12-03T17:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to build image with virtual address</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-build-image-with-virtual-address/m-p/993270#M39118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Terence,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are able to enable position indpendent code in MCUXpresso. Right Click on your project -&amp;gt; Properties&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/92692i4B4178CE40E7BFE7/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;Have a great day!&lt;/P&gt;&lt;P&gt;Sabina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2019 00:06:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-build-image-with-virtual-address/m-p/993270#M39118</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2019-12-04T00:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to build image with virtual address</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-build-image-with-virtual-address/m-p/993271#M39119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sabina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried this function already , and checked the map file, the code compiled appears to be absolute address still.&lt;/P&gt;&lt;P&gt;Is there any document/example regarding on the position independent code feature?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Terence&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2019 00:28:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-build-image-with-virtual-address/m-p/993271#M39119</guid>
      <dc:creator>terence_kong</dc:creator>
      <dc:date>2019-12-04T00:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to build image with virtual address</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-build-image-with-virtual-address/m-p/993272#M39120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Terence,&lt;/P&gt;&lt;P&gt;There is not a document that reviews this feature. However I found other documents that may be of help and you can use as a reference.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/476110"&gt;https://community.nxp.com/thread/476110&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The last four comments may be of use also, he provides examples code. As well as another link that uses kinetis with fpic.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sabina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2019 21:18:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-build-image-with-virtual-address/m-p/993272#M39120</guid>
      <dc:creator>Sabina_Bruce</dc:creator>
      <dc:date>2019-12-05T21:18:35Z</dc:date>
    </item>
  </channel>
</rss>

