<?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 Kinetis K81 startup &amp; VLLSx in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Kinetis-K81-startup-VLLSx/m-p/747185#M7712</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;&amp;nbsp; I'm using the K81 SDk for development and I noticed something peculiar in the startup code startup_MK81F25615.S&lt;/P&gt;&lt;P&gt;&amp;nbsp;Both the SDK 2.1 and SDK 2.3 have code that copies a chunk from the end of text(_etext) with the lenght of (__data_end__ - __data_start__) to __data_start__ From the linker file this seems to be the __DATA_ROM section.&lt;/P&gt;&lt;P&gt;&amp;nbsp;However there are 2 problems here:&lt;/P&gt;&lt;P&gt;* from the map file there doesn't seem to be anything of note there, so I imagine this is just junk. Which is fine cause I didn't really imagine anything interesting to be there.&lt;/P&gt;&lt;P&gt;* the other problem is when doing a "warm boot", from VLLS3 in my case, all the application data gets overwritten with the junk from __DATA_ROM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Can you tell me if this was intentional and if I can run into problems down the line if I remove this code from the startup? I would like to keep my application global state between VLLSx modes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 May 2018 08:34:32 GMT</pubDate>
    <dc:creator>valentinmanea</dc:creator>
    <dc:date>2018-05-11T08:34:32Z</dc:date>
    <item>
      <title>Kinetis K81 startup &amp; VLLSx</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Kinetis-K81-startup-VLLSx/m-p/747185#M7712</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;&amp;nbsp; I'm using the K81 SDk for development and I noticed something peculiar in the startup code startup_MK81F25615.S&lt;/P&gt;&lt;P&gt;&amp;nbsp;Both the SDK 2.1 and SDK 2.3 have code that copies a chunk from the end of text(_etext) with the lenght of (__data_end__ - __data_start__) to __data_start__ From the linker file this seems to be the __DATA_ROM section.&lt;/P&gt;&lt;P&gt;&amp;nbsp;However there are 2 problems here:&lt;/P&gt;&lt;P&gt;* from the map file there doesn't seem to be anything of note there, so I imagine this is just junk. Which is fine cause I didn't really imagine anything interesting to be there.&lt;/P&gt;&lt;P&gt;* the other problem is when doing a "warm boot", from VLLS3 in my case, all the application data gets overwritten with the junk from __DATA_ROM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Can you tell me if this was intentional and if I can run into problems down the line if I remove this code from the startup? I would like to keep my application global state between VLLSx modes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 08:34:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Kinetis-K81-startup-VLLSx/m-p/747185#M7712</guid>
      <dc:creator>valentinmanea</dc:creator>
      <dc:date>2018-05-11T08:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis K81 startup &amp; VLLSx</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Kinetis-K81-startup-VLLSx/m-p/747186#M7713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To answer my own question the copy code is required on "cold boot" or data initialization is lost. I was just confused reading the linker file.&lt;/P&gt;&lt;P&gt;What I ended up doing is to skip the copy of data if RCM_BASE had the wakeup bit set.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2018 08:08:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Kinetis-K81-startup-VLLSx/m-p/747186#M7713</guid>
      <dc:creator>valentinmanea</dc:creator>
      <dc:date>2018-05-14T08:08:57Z</dc:date>
    </item>
  </channel>
</rss>

