<?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: How to Generate independent Binary could be placed in either two Flash Banks : LPCXPresso in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-Generate-independent-Binary-could-be-placed-in-either-two/m-p/530097#M9943</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ashgupta28 on Tue Jun 30 01:26:51 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any command line options to the compiler that generates position independent code. Please share.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With the help of above link, i guess it is still feasible to use some command line options to the compiler.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:17:44 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:17:44Z</dc:date>
    <item>
      <title>How to Generate independent Binary could be placed in either two Flash Banks : LPCXPresso</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-Generate-independent-Binary-could-be-placed-in-either-two/m-p/530095#M9941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ashgupta28 on Mon Jun 29 09:43:38 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am looking to generate the Binary from LPCXpresso that can be loaded into the Bank A @0x1A000000. But also be loaded into Bank B @0x1B000000. Currently we can change the setting in LPCXpresso to generate the binary either for Bank A or Bank B. SO Bank B binary cannot be loaded into Bank A.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;How to generate the image that could be placed in either bank A or B ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ashish Gupta&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:17:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-Generate-independent-Binary-could-be-placed-in-either-two/m-p/530095#M9941</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to Generate independent Binary could be placed in either two Flash Banks : LPCXPresso</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-Generate-independent-Binary-could-be-placed-in-either-two/m-p/530096#M9942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by whitecoe on Tue Jun 30 00:59:21 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You might want to take a look at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fforum%2Fcompiling-flash-image-suitable-banks-and-b" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/forum/compiling-flash-image-suitable-banks-and-b&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HTH!&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:17:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-Generate-independent-Binary-could-be-placed-in-either-two/m-p/530096#M9942</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to Generate independent Binary could be placed in either two Flash Banks : LPCXPresso</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-Generate-independent-Binary-could-be-placed-in-either-two/m-p/530097#M9943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ashgupta28 on Tue Jun 30 01:26:51 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any command line options to the compiler that generates position independent code. Please share.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With the help of above link, i guess it is still feasible to use some command line options to the compiler.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:17:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-Generate-independent-Binary-could-be-placed-in-either-two/m-p/530097#M9943</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to Generate independent Binary could be placed in either two Flash Banks : LPCXPresso</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-Generate-independent-Binary-could-be-placed-in-either-two/m-p/530098#M9944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Tue Jun 30 05:22:11 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Essentially, this is not going to work for you. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Position Independent (code and data) relies on a loader to read the AXF file,&amp;nbsp; and fix-up the locations. The AXF file contains the information required to provide these fixups. It is not possibke to do this with bin or hex files as they strip this information away. Loading of position independent applications is nearly always done by an Operating System (not an RTOS). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Even if you manage to accomplish this, you will then need to remap the vector table to refer to the correct locations (A vs B) etc. &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:17:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-Generate-independent-Binary-could-be-placed-in-either-two/m-p/530098#M9944</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to Generate independent Binary could be placed in either two Flash Banks : LPCXPresso</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-Generate-independent-Binary-could-be-placed-in-either-two/m-p/530099#M9945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ashgupta28 on Mon Jul 13 23:26:29 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any way to generate 2 separate images for Flash Bank A &amp;amp; Flash Bank B for a single code by single building the project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Means i am asking is there any command line argument we can add that will creates 2 separate images for different flash Bank A &amp;amp; B for the same code. Then we do not have to every time change the Flash driver selection under Properties-&amp;gt;MCU Settings &amp;amp; build again to get required image.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks In Advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ashish Gupta&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:17:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-Generate-independent-Binary-could-be-placed-in-either-two/m-p/530099#M9945</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to Generate independent Binary could be placed in either two Flash Banks : LPCXPresso</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-Generate-independent-Binary-could-be-placed-in-either-two/m-p/530100#M9946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Tue Jul 14 00:06:15 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You could look at using linked resources, as described in:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[list]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp; [*]&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fforum%2Fmcu-settings-should-be-configuration-dependent-and-not-same-across-all-configurations%23comment-1146486" rel="nofollow" target="_blank"&gt;https://www.lpcware.com/content/forum/mcu-settings-should-be-configuration-dependent-and-not-same-across-all-configurations#comment-1146486&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/list]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Support&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:17:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-Generate-independent-Binary-could-be-placed-in-either-two/m-p/530100#M9946</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:17:46Z</dc:date>
    </item>
  </channel>
</rss>

