<?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>LPCXpresso IDEのトピックRe: Bootloader/Main start address, different for debug/release?</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Bootloader-Main-start-address-different-for-debug-release/m-p/549182#M10866</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 Nov 17 03:48:54 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The MCU settings are indeed per project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;For an alternative approach, please see: &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;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;PS : I would suggest reading the following Linker script FAQ instead of the old Code Red one you quote: &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%2Ffaq%2Flpcxpresso%2Fown-linker-scripts" rel="nofollow" target="_blank"&gt;https://www.lpcware.com/content/faq/lpcxpresso/own-linker-scripts&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 22:06:18 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T22:06:18Z</dc:date>
    <item>
      <title>Bootloader/Main start address, different for debug/release?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Bootloader-Main-start-address-different-for-debug-release/m-p/549181#M10865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by daveczeta on Tue Nov 17 03:23:14 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;I have firmware that is split into boot-loader and main.&amp;nbsp; I am changing the start location in flash for each via &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fsupport.code-red-tech.com%2FCodeRedWiki%2FEnhancedManagedLinkScripts" rel="nofollow" target="_blank"&gt;http://support.code-red-tech.com/CodeRedWiki/EnhancedManagedLinkScripts&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can only successfully use the JTAG debugger if my code does not have another program like the boot-loader already on chip otherwise its flaky and makes it harder to debug.&amp;nbsp; So in release builds of main program it'll normally start at a different address than if I build the same code in debug.&amp;nbsp; In the latter I may want the program to start at 0 to aid debugging.&amp;nbsp; Debug builds are only at my desk and not in-field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, they've implemented the settings in an odd way.&amp;nbsp; It seems to be per project and not per-configuration which means both my debug and release builds of the same project have the same start address and changing it affects both.&amp;nbsp; Without going fully bareback with my own linker script is there anyway to customise the start address from settings in the linker which are active configuration dependent?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dc&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:06:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Bootloader-Main-start-address-different-for-debug-release/m-p/549181#M10865</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader/Main start address, different for debug/release?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Bootloader-Main-start-address-different-for-debug-release/m-p/549182#M10866</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 Nov 17 03:48:54 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The MCU settings are indeed per project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;For an alternative approach, please see: &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;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;PS : I would suggest reading the following Linker script FAQ instead of the old Code Red one you quote: &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%2Ffaq%2Flpcxpresso%2Fown-linker-scripts" rel="nofollow" target="_blank"&gt;https://www.lpcware.com/content/faq/lpcxpresso/own-linker-scripts&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:06:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Bootloader-Main-start-address-different-for-debug-release/m-p/549182#M10866</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:06:18Z</dc:date>
    </item>
  </channel>
</rss>

