<?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>MCUXpresso SDKのトピックRe: Noinit RAM sections KW45</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/Noinit-RAM-sections-KW45/m-p/2173013#M5334</link>
    <description>&lt;P&gt;For informing the cause of reset maybe the "System Reset Status" register can work for you, This register indicate the system reset status. Those status updates on every MAIN Warm Reset to indicate the type/source of the most recent reset.&lt;/P&gt;
&lt;P&gt;For more information about this register please refer to Chapter 31.7.1.8 in &lt;A href="https://www.nxp.com/webapp/Download?colCode=KW45RM" target="_blank"&gt;KW45 Reference Manual&lt;/A&gt; and for specific functions in refer to&amp;nbsp;&lt;A href="https://mcuxpresso.nxp.com/mcuxsdk/25.06.00/html/drivers/Wireless/KW/KW45B41Z83/index.html#:~:text=Gets%20the%20System%20reset%20status." target="_blank"&gt;SDK Documentation&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In KW45 Reference Manual Chapter 15.2 figure 22 is the image that represents ROM bootloader memory usage and in which memory address its located the application use in system RAM.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first 16 KB of Tightly Coupled Memory - System (STCM) (0x30000000 – 0x30004000) needs to be reserved for ROM bootloader execution and some ROM API execution. Please note that STCM has ECC enabled. To avoid STCM ECC error, users must always program word-aligned data to word-aligned address before the first time reading after power-on reset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Luis&lt;/P&gt;</description>
    <pubDate>Fri, 19 Sep 2025 22:32:55 GMT</pubDate>
    <dc:creator>luis_maravilla</dc:creator>
    <dc:date>2025-09-19T22:32:55Z</dc:date>
    <item>
      <title>Noinit RAM sections KW45</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Noinit-RAM-sections-KW45/m-p/2163742#M5291</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am trying to create a RAM section to not be initialized after a software reset but&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;I'm observing that ResetISR in "startup_KW45B41Z83.c" performs the initialization of some RAM sections. In this way my variables inside my region memory are reset despite they are declared with "no_init" keyword and the region is set as not initialized area.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a reason why some areas of memory are always initialized?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way for avoiding some regions are initialized after a reset? or am I forced to use only RAM regions that are not updated within Reset_Handler?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2025 14:44:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Noinit-RAM-sections-KW45/m-p/2163742#M5291</guid>
      <dc:creator>alereale</dc:creator>
      <dc:date>2025-09-04T14:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: Noinit RAM sections KW45</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Noinit-RAM-sections-KW45/m-p/2165482#M5302</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;The startup code for the KW45B41Z83 microcontroller sets up the initial runtime environment, as part of this process, certain memory areas are initialized by copying the .data section from flash memory to SRAM to ensure the correct values when the program starts. Additionally, the code zeroes out the bss section for uninitialized global and static variables&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please notice that regions inside data [__data_section_table - __data_section_table_end] or bss [__bss_section_table - __bss_section_table_end] ranges are initialized here&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Luis&lt;/P&gt;</description>
      <pubDate>Mon, 08 Sep 2025 23:55:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Noinit-RAM-sections-KW45/m-p/2165482#M5302</guid>
      <dc:creator>luis_maravilla</dc:creator>
      <dc:date>2025-09-08T23:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Noinit RAM sections KW45</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Noinit-RAM-sections-KW45/m-p/2169538#M5315</link>
      <description>&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;Said that, let me explain better what I want to do.&lt;/P&gt;&lt;P&gt;I need a RAM area shared between application, bootloader and bootmanager for informing the boot about the cause of reset (for example required by test service for reprogramming the ECU). &lt;STRONG&gt;What is the best area to be used&lt;/STRONG&gt;? I was thinking about STCM3 and STCM4 because they are not covered by initialization startup. Is it correct?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Another question&lt;/STRONG&gt;: What is the risk if I remove some RAM areas (for example STCM2) from the initialization startup? Could it impact the ECC control? May I found any ECC faults?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 15 Sep 2025 08:43:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Noinit-RAM-sections-KW45/m-p/2169538#M5315</guid>
      <dc:creator>alereale</dc:creator>
      <dc:date>2025-09-15T08:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Noinit RAM sections KW45</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Noinit-RAM-sections-KW45/m-p/2173013#M5334</link>
      <description>&lt;P&gt;For informing the cause of reset maybe the "System Reset Status" register can work for you, This register indicate the system reset status. Those status updates on every MAIN Warm Reset to indicate the type/source of the most recent reset.&lt;/P&gt;
&lt;P&gt;For more information about this register please refer to Chapter 31.7.1.8 in &lt;A href="https://www.nxp.com/webapp/Download?colCode=KW45RM" target="_blank"&gt;KW45 Reference Manual&lt;/A&gt; and for specific functions in refer to&amp;nbsp;&lt;A href="https://mcuxpresso.nxp.com/mcuxsdk/25.06.00/html/drivers/Wireless/KW/KW45B41Z83/index.html#:~:text=Gets%20the%20System%20reset%20status." target="_blank"&gt;SDK Documentation&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In KW45 Reference Manual Chapter 15.2 figure 22 is the image that represents ROM bootloader memory usage and in which memory address its located the application use in system RAM.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first 16 KB of Tightly Coupled Memory - System (STCM) (0x30000000 – 0x30004000) needs to be reserved for ROM bootloader execution and some ROM API execution. Please note that STCM has ECC enabled. To avoid STCM ECC error, users must always program word-aligned data to word-aligned address before the first time reading after power-on reset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Luis&lt;/P&gt;</description>
      <pubDate>Fri, 19 Sep 2025 22:32:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Noinit-RAM-sections-KW45/m-p/2173013#M5334</guid>
      <dc:creator>luis_maravilla</dc:creator>
      <dc:date>2025-09-19T22:32:55Z</dc:date>
    </item>
  </channel>
</rss>

