<?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: S32K144 script file question in KEIL IDE in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K144-script-file-question-in-KEIL-IDE/m-p/1979009#M42369</link>
    <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/241216"&gt;@Ali22&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Please contact KEIL&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.keil.com/support/" target="_blank"&gt;https://www.keil.com/support/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Tue, 22 Oct 2024 08:32:05 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2024-10-22T08:32:05Z</dc:date>
    <item>
      <title>S32K144 script file question in KEIL IDE</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-script-file-question-in-KEIL-IDE/m-p/1976859#M42267</link>
      <description>&lt;P&gt;Dears,&lt;/P&gt;&lt;P&gt;I want to put the bootloader code into S32K144 FlexNVM which start address is&amp;nbsp;0x10000000 in KEIL IDE,then I changed the S32K144_64_FLASH.sct file as below:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;#define m_text_start 0x00000410 &lt;/FONT&gt;&lt;FONT color="#FF0000"&gt;change to: #define m_text_start 0x1000000&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Error came out when building the KEIL project: ERROR L6202E:entry.o(.ARM.collect$$$$00000000) cannot be assigned to non-root region 'ER_m_text'.&lt;/P&gt;&lt;P&gt;Anyone who meet this kind of problem and how to fix it? Thanks&lt;/P&gt;&lt;P&gt;The whole&amp;nbsp;32K144_64_FLASH.sct content:&lt;/P&gt;&lt;P&gt;#if (defined(__flash_vector_table__))&lt;BR /&gt;#define __ram_vector_table_size__ 0x00000000&lt;BR /&gt;#else&lt;BR /&gt;#define __ram_vector_table_size__ 0x00000400&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;#define m_interrupts_start 0x00000000&lt;BR /&gt;#define m_interrupts_size 0x00000400&lt;/P&gt;&lt;P&gt;#define m_flash_config_start 0x00000400&lt;BR /&gt;#define m_flash_config_size 0x00000010&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;#define m_text_start 0x10000000 Orignal is 0x00000410&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;#define m_text_size 0x00004000&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;#define m_interrupts_ram_start 0x1FFF8000&lt;BR /&gt;#define m_interrupts_ram_size __ram_vector_table_size__&lt;/P&gt;&lt;P&gt;#define m_data_start 0x1FFF8000 + __ram_vector_table_size__&lt;BR /&gt;#define m_data_size 0x00008000 - __ram_vector_table_size__&lt;/P&gt;&lt;P&gt;#define m_data_2_start 0x20000000&lt;BR /&gt;#define m_data_2_size 0x00007000&lt;/P&gt;&lt;P&gt;/* Sizes */&lt;BR /&gt;#if (defined(__stack_size__))&lt;BR /&gt;#define Stack_Size __stack_size__&lt;BR /&gt;#else&lt;BR /&gt;#define Stack_Size 0x0400&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;#if (defined(__heap_size__))&lt;BR /&gt;#define Heap_Size __heap_size__&lt;BR /&gt;#else&lt;BR /&gt;#define Heap_Size 0x0400&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;LR_m_text m_interrupts_start m_text_start+m_text_size-m_interrupts_start { ; load region size_region&lt;BR /&gt;VECTOR_ROM m_interrupts_start m_interrupts_size { ; load address = execution address&lt;BR /&gt;startup_S32K1*.o (RESET +First)&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;#if (defined(__flash_vector_table__))&lt;BR /&gt;VECTOR_RAM m_interrupts_start EMPTY 0 {&lt;BR /&gt;}&lt;BR /&gt;#else&lt;BR /&gt;VECTOR_RAM m_interrupts_ram_start EMPTY m_interrupts_ram_size {&lt;BR /&gt;}&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;ER_m_flash_config m_flash_config_start FIXED m_flash_config_size { ; load address = execution address&lt;BR /&gt;* (FlashConfig)&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;ER_m_text_const m_text_start { ; load address = execution address&lt;BR /&gt;.ANY (+RO-DATA)&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;ER_m_text +0 m_text_size { ; load address = execution address&lt;BR /&gt;* (InRoot$$Sections)&lt;BR /&gt;.ANY (+RO)&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;RW_m_data m_data_start { ; RW data&lt;BR /&gt;.ANY (+RW-DATA)&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;RW_m_code +0 m_data_size { ; RW data&lt;BR /&gt;.ANY (.code_ram)&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;/* Custom Section Block that can be used to place data at absolute address. */&lt;BR /&gt;/* Use __attribute__((section (".customSection"))) to place data here. */&lt;BR /&gt;RW_m_custom_section m_data_2_start ALIGN 0x4 {&lt;BR /&gt;.ANY (.customSection) /* Keep section even if not referenced. */&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;RW_m_data_2 +0 m_data_2_size-Stack_Size-Heap_Size { ; RW data&lt;BR /&gt;.ANY (+ZI)&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;ARM_LIB_HEAP ((ImageLimit(RW_m_data_2) == m_data_2_start) ? m_data_2_start : +0) EMPTY Heap_Size { ; Heap region growing up&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;ARM_LIB_STACK m_data_2_start+m_data_2_size EMPTY -Stack_Size { ; Stack region growing down&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 08:23:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-script-file-question-in-KEIL-IDE/m-p/1976859#M42267</guid>
      <dc:creator>Ali22</dc:creator>
      <dc:date>2024-10-18T08:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 script file question in KEIL IDE</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-script-file-question-in-KEIL-IDE/m-p/1979009#M42369</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/241216"&gt;@Ali22&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Please contact KEIL&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.keil.com/support/" target="_blank"&gt;https://www.keil.com/support/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 08:32:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-script-file-question-in-KEIL-IDE/m-p/1979009#M42369</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-10-22T08:32:05Z</dc:date>
    </item>
  </channel>
</rss>

