<?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: Mcuexpresso debug startup in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/Mcuexpresso-debug-startup/m-p/846268#M3391</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do you think the diagram suggests it is something to do with debugging? And just to confirm, which diagram are you actually looking at?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initialisation of data is a combination of the startup code embedded within your application code using the information that is generated for it to use by the linker (based on the linker scripts that are generated for your project).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Sep 2018 08:11:21 GMT</pubDate>
    <dc:creator>lpcxpresso_supp</dc:creator>
    <dc:date>2018-09-24T08:11:21Z</dc:date>
    <item>
      <title>Mcuexpresso debug startup</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Mcuexpresso-debug-startup/m-p/846265#M3388</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;In MCUXpresso IDE user guide section 16.4 it is said "&lt;/P&gt;&lt;P&gt;MCUXpresso ide startup code copy the code into the first bank of ram"&lt;/P&gt;&lt;P&gt;Is it that this copy is deteemined according to linker configuration&amp;nbsp; ? And is it not also done in every boot from flash (using the same linker cpnfiguration), or is it that this copy is done only whe we do mcuxpressi debug?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Ranran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 11:56:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Mcuexpresso-debug-startup/m-p/846265#M3388</guid>
      <dc:creator>rans</dc:creator>
      <dc:date>2018-09-19T11:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Mcuexpresso debug startup</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Mcuexpresso-debug-startup/m-p/846266#M3389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The copying of default values for your data out of flash into RAM has nothing to do with whether you are debugging or not.&amp;nbsp;The startup code is embedded within your application code. So it will run whenever the MCU with that code is flash is reset / powered up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2018 16:22:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Mcuexpresso-debug-startup/m-p/846266#M3389</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2018-09-20T16:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Mcuexpresso debug startup</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Mcuexpresso-debug-startup/m-p/846267#M3390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the diagram in user guide is a bit confusing, because just as you said, it has nothing to do with debugging (actually nothing to do with MCUXpresso), i.e. it is only a linker issue, and actually if the linker will leave the data in flash, so there will be no copy at all of data to RAM...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;ranran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2018 16:48:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Mcuexpresso-debug-startup/m-p/846267#M3390</guid>
      <dc:creator>rans</dc:creator>
      <dc:date>2018-09-20T16:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Mcuexpresso debug startup</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Mcuexpresso-debug-startup/m-p/846268#M3391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do you think the diagram suggests it is something to do with debugging? And just to confirm, which diagram are you actually looking at?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initialisation of data is a combination of the startup code embedded within your application code using the information that is generated for it to use by the linker (based on the linker scripts that are generated for your project).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2018 08:11:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Mcuexpresso-debug-startup/m-p/846268#M3391</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2018-09-24T08:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Mcuexpresso debug startup</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Mcuexpresso-debug-startup/m-p/846269#M3392</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;I refer to figure 16.3, and section 16.4&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN class=""&gt;16.4 Default Image Layout&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Code and initial values of initialised data items are placed into first bank of Flash (as show in&lt;BR /&gt;memory configuration editor). During startup, MCUXpresso IDE startup code copies the data into&lt;BR /&gt;the first bank of RAM (as show in memory configuration editor), and zero initializes the BSS data&lt;BR /&gt;directly after this in memory. This process uses a global section table generated into the image&lt;BR /&gt;from the linker script.&lt;BR /&gt;Other RAM blocks can also have data items placed into them under user control, and the startup&lt;BR /&gt;code will also initialize these automatically. See later in this chapter for more details.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="font-size: 10pt;"&gt;&lt;STRONG&gt;Figure 16.3. Default Memory Layout&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; font-size: 10pt;"&gt;Note&lt;/SPAN&gt;&lt;SPAN class=""&gt;: The above memory layout is simply the default used by the IDE’s managed linker script&lt;BR /&gt;mechanism. There are a number of mechanisms that can be used to modify the layout according&lt;BR /&gt;to the requirements of your actual project – such as simply editing the order of the RAM banks&lt;BR /&gt;in the Memory Configuration Editor. These various methods are described later in this chapter&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, now I understand that the the diagram and explanation is just an example, and the behaviour depens on linker.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;ranran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2018 09:22:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Mcuexpresso-debug-startup/m-p/846269#M3392</guid>
      <dc:creator>rans</dc:creator>
      <dc:date>2018-09-24T09:22:56Z</dc:date>
    </item>
  </channel>
</rss>

