<?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: S32K358: Core clock enable when debugging (IPCF example) in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K358-Core-clock-enable-when-debugging-IPCF-example/m-p/1780373#M29971</link>
    <description>&lt;P&gt;Hi Differ22,&lt;/P&gt;
&lt;P&gt;These were captured from RM:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nhi_Nguyen_0-1703661196213.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/255999i06B64D6114C4870E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nhi_Nguyen_0-1703661196213.png" alt="Nhi_Nguyen_0-1703661196213.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nhi_Nguyen_1-1703661261658.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/256000i68C6151069E0D731/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nhi_Nguyen_1-1703661261658.png" alt="Nhi_Nguyen_1-1703661261658.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As you can see, there is difference between description of core CM7_3 with the remaining cores.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nhi_Nguyen_2-1703661381753.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/256001iB03EFD57AEA3C5A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nhi_Nguyen_2-1703661381753.png" alt="Nhi_Nguyen_2-1703661381753.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;From this, as far as I know, we need to configure parameters to start application cores (CM7_0-CM7_3) and follow to sequence:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nhi_Nguyen_3-1703661440847.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/256002i7D6612377D871CA1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nhi_Nguyen_3-1703661440847.png" alt="Nhi_Nguyen_3-1703661440847.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Core start address is where store VTOR that can't miss in the boot processing. Furthermore, as my understanding, when chip said that a field is ignored when it see specific condition, this means that if you configure this field, it not cause problem. I tried to remove this field but core can't boot correctly.&lt;/P&gt;
&lt;P&gt;So, from my point of view, you need to configure this field.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Nhi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Dec 2023 07:22:03 GMT</pubDate>
    <dc:creator>Nhi_Nguyen</dc:creator>
    <dc:date>2023-12-27T07:22:03Z</dc:date>
    <item>
      <title>S32K358: Core clock enable when debugging (IPCF example)</title>
      <link>https://community.nxp.com/t5/S32K/S32K358-Core-clock-enable-when-debugging-IPCF-example/m-p/1730502#M27441</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am currently trying to understand the boot process of the S32K358 being a multicore processor.&lt;/P&gt;&lt;P&gt;Based on the documentation and the IPCF example, is seems like the &lt;EM&gt;Boot &lt;/EM&gt;&lt;EM&gt;configuration word&lt;/EM&gt; is relevant, which is stored in the IVT. I can enable cores on boot here.&lt;/P&gt;&lt;P&gt;This is shown as well in the IPCF example:&lt;/P&gt;&lt;P&gt;Snippet from &lt;FONT face="courier new,courier"&gt;startup_cm7.s&lt;/FONT&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;.section ".boot_header","ax"
  .long SBAF_BOOT_MARKER /* IVT marker */
  .long (CM7_0_ENABLE &amp;lt;&amp;lt; CM7_0_ENABLE_SHIFT) | (CM7_1_ENABLE &amp;lt;&amp;lt; CM7_1_ENABLE_SHIFT) | (CM7_2_ENABLE &amp;lt;&amp;lt; CM7_2_ENABLE_SHIFT) /* Boot configuration word */&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Snippet from linker file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;MEMORY
{
    int_flash_c0               : ORIGIN = 0x00400000, LENGTH = 0x00200000    /* 2048K */
}

.flash :
    {
        KEEP(*(.boot_header))
        . = ALIGN(2048);
        __text_start = .;
        __interrupts_init_start = .;
        
       ...

    } &amp;gt; int_flash_c0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are multiple debug configuration available. A combination of Release/Debug and Flash/RAM.&lt;/P&gt;&lt;P&gt;When looking at the RAM linker files, &lt;FONT face="courier new,courier"&gt;boot_header&lt;/FONT&gt; is dropped:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;   /* Discard boot header in RAM */
   /DISCARD/ : { *(.boot_header) }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I don't understand how how the cores are enabled, since the reset value is equivalent to disable all cores on startup.&lt;/P&gt;&lt;P&gt;Is there something happening in the background by the debugger? Or is this something I can see in the debug configurations?&lt;/P&gt;&lt;P&gt;Remark: I am currently using a PEmicro debugger.&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Andreas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: It seems like the address of the interrupt vector table would also be missing if the boot_header is not included.&lt;BR /&gt;For Core 2 this seems obvious, as the RAM debug config sets the appropriate PC and thus avoids needing to set the IVT / start address. But not sure how it works for Core 0.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 13:06:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K358-Core-clock-enable-when-debugging-IPCF-example/m-p/1730502#M27441</guid>
      <dc:creator>AndreasStolze</dc:creator>
      <dc:date>2023-09-27T13:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: S32K358: Core clock enable when debugging (IPCF example)</title>
      <link>https://community.nxp.com/t5/S32K/S32K358-Core-clock-enable-when-debugging-IPCF-example/m-p/1733584#M27547</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/222504"&gt;@AndreasStolze&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;The processing of boot core as below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nhi_Nguyen_0-1696404733105.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/243572iE2E5423E071392CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nhi_Nguyen_0-1696404733105.png" alt="Nhi_Nguyen_0-1696404733105.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;IVT structure:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nhi_Nguyen_1-1696404765114.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/243573iA8CFA99045AB32FD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nhi_Nguyen_1-1696404765114.png" alt="Nhi_Nguyen_1-1696404765114.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nhi_Nguyen_2-1696404782708.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/243574i734B750C36D3B038/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nhi_Nguyen_2-1696404782708.png" alt="Nhi_Nguyen_2-1696404782708.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nhi_Nguyen_3-1696404809997.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/243575i9522821F3D704102/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nhi_Nguyen_3-1696404809997.png" alt="Nhi_Nguyen_3-1696404809997.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So, IVT stored in flash. You can also check this in map file:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nhi_Nguyen_4-1696404888448.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/243576i0C71D98F22CFB98F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nhi_Nguyen_4-1696404888448.png" alt="Nhi_Nguyen_4-1696404888448.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In startup VTOR will copy to RAM, like that:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nhi_Nguyen_5-1696404950272.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/243577i7BC5CE4881CDEAA8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nhi_Nguyen_5-1696404950272.png" alt="Nhi_Nguyen_5-1696404950272.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can refer to some files startup.s,&amp;nbsp;vector_table.s&amp;nbsp; in platform and run any example that was attached in the package to get detail.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Nhi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 07:38:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K358-Core-clock-enable-when-debugging-IPCF-example/m-p/1733584#M27547</guid>
      <dc:creator>Nhi_Nguyen</dc:creator>
      <dc:date>2023-10-04T07:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: S32K358: Core clock enable when debugging (IPCF example)</title>
      <link>https://community.nxp.com/t5/S32K/S32K358-Core-clock-enable-when-debugging-IPCF-example/m-p/1778063#M29828</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/212522"&gt;@Nhi_Nguyen&lt;/a&gt;&amp;nbsp;, related to the Andreas Stolze question: core enabling by using CM7_0_ENABLE,&amp;nbsp;CM7_1_ENABLE, etc. (bits into Boot Configuration Word) are correctly read even if both HSE firmware and HSW firmware feature flag are not programmed and BOOT_SEQ = 0 (nonsecure boot usage), as default configuration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My doubt raised because of this sentence into RM (table attached in previous answer): "SBAF uses this field only when the HSE firmware usage feature flag is enabled and BOOT_SEQ field is 0." In my case&amp;nbsp;HSE firmware usage feature flag is DISABLED because I don't use HSE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 15:44:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K358-Core-clock-enable-when-debugging-IPCF-example/m-p/1778063#M29828</guid>
      <dc:creator>Drifter22</dc:creator>
      <dc:date>2023-12-20T15:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: S32K358: Core clock enable when debugging (IPCF example)</title>
      <link>https://community.nxp.com/t5/S32K/S32K358-Core-clock-enable-when-debugging-IPCF-example/m-p/1780373#M29971</link>
      <description>&lt;P&gt;Hi Differ22,&lt;/P&gt;
&lt;P&gt;These were captured from RM:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nhi_Nguyen_0-1703661196213.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/255999i06B64D6114C4870E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nhi_Nguyen_0-1703661196213.png" alt="Nhi_Nguyen_0-1703661196213.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nhi_Nguyen_1-1703661261658.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/256000i68C6151069E0D731/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nhi_Nguyen_1-1703661261658.png" alt="Nhi_Nguyen_1-1703661261658.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As you can see, there is difference between description of core CM7_3 with the remaining cores.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nhi_Nguyen_2-1703661381753.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/256001iB03EFD57AEA3C5A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nhi_Nguyen_2-1703661381753.png" alt="Nhi_Nguyen_2-1703661381753.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;From this, as far as I know, we need to configure parameters to start application cores (CM7_0-CM7_3) and follow to sequence:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nhi_Nguyen_3-1703661440847.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/256002i7D6612377D871CA1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nhi_Nguyen_3-1703661440847.png" alt="Nhi_Nguyen_3-1703661440847.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Core start address is where store VTOR that can't miss in the boot processing. Furthermore, as my understanding, when chip said that a field is ignored when it see specific condition, this means that if you configure this field, it not cause problem. I tried to remove this field but core can't boot correctly.&lt;/P&gt;
&lt;P&gt;So, from my point of view, you need to configure this field.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Nhi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Dec 2023 07:22:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K358-Core-clock-enable-when-debugging-IPCF-example/m-p/1780373#M29971</guid>
      <dc:creator>Nhi_Nguyen</dc:creator>
      <dc:date>2023-12-27T07:22:03Z</dc:date>
    </item>
  </channel>
</rss>

