<?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>S32GのトピックRe: S32G399A-RDB3 Multi-core boot failed, following AN13750</title>
    <link>https://community.nxp.com/t5/S32G/S32G399A-RDB3-Multi-core-boot-failed-following-AN13750/m-p/1754427#M5248</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We understand that you are using 0x35200000 for load/entry address under your IVT, is this correct?&lt;/P&gt;
&lt;P&gt;Can you help us sharing your IVT structure? To understand how you are creating the IVT.&lt;/P&gt;
&lt;P&gt;Also, seeing the steps that you are showing, have you also disabled Secure Boot?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_1-1699474798251.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/249064i561E863149EE00A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_1-1699474798251.png" alt="DanielAguirre_1-1699474798251.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Since you removed Crypto module and can proceed with the build, we assume you disable it. Also, did you remove the SW breakpoint? Or did you add the corresponding code shown under AN13750?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_2-1699474920243.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/249065i5165F9EE15A6B766/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_2-1699474920243.png" alt="DanielAguirre_2-1699474920243.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Mainly the change of the macro, since you seem to not be using HSE.&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Nov 2023 20:22:29 GMT</pubDate>
    <dc:creator>Daniel-Aguirre</dc:creator>
    <dc:date>2023-11-08T20:22:29Z</dc:date>
    <item>
      <title>S32G399A-RDB3 Multi-core boot failed, following AN13750</title>
      <link>https://community.nxp.com/t5/S32G/S32G399A-RDB3-Multi-core-boot-failed-following-AN13750/m-p/1753196#M5237</link>
      <description>&lt;P&gt;Dear NXP,&lt;/P&gt;&lt;P&gt;I want to run IPCF multi-instance demo on s32g399a-rdb3 development board, referring to AN13750 documentation. I can now trace the M-core program with Lauterbach, but the A-core is not booting properly. My configuration and debug process is as follows:&lt;/P&gt;&lt;P&gt;1. bootloader config&lt;BR /&gt;Since the sram mapping address of the m7_1 app overlaps with fip.bin, only one m7 application has been added for convenience&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;core config:&lt;/LI&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="bootloader_core_config.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248722iCD783947335003B5/image-size/large?v=v2&amp;amp;px=999" role="button" title="bootloader_core_config.png" alt="bootloader_core_config.png" /&gt;&lt;/span&gt;&lt;SPAN&gt;&lt;SPAN&gt;boot source config：&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="bootloader_boot_source_fragement_1.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248723i3A3690E6E8285C91/image-size/large?v=v2&amp;amp;px=999" role="button" title="bootloader_boot_source_fragement_1.png" alt="bootloader_boot_source_fragement_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bootloader_boot_source_fragement_2.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248726i81FE3D428AC5A579/image-size/large?v=v2&amp;amp;px=999" role="button" title="bootloader_boot_source_fragement_2.png" alt="bootloader_boot_source_fragement_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bootloader_boot_source_fragement_1.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248727iE403A40D7FAFC6AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="bootloader_boot_source_fragement_1.png" alt="bootloader_boot_source_fragement_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ivt image config&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ivt.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248731i551405085DD624F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="ivt.png" alt="ivt.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bootloader_map.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248730i2F05B425A682E4C1/image-size/large?v=v2&amp;amp;px=999" role="button" title="bootloader_map.png" alt="bootloader_map.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;2. m7_app config&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="m7_map.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248728i688336F06160978C/image-size/large?v=v2&amp;amp;px=999" role="button" title="m7_map.png" alt="m7_map.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3. a53_app config&lt;BR /&gt;change fip.pin align to 64&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="a53_app.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248729iBDDE63B2C7775E45/image-size/medium?v=v2&amp;amp;px=400" role="button" title="a53_app.png" alt="a53_app.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;4. debug phenomena&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1. run cmm script, reset target, the program stop at main function,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2. and then Var.set ENABLE_BREAKPOINT_AT_MAIN=1, bootloader run in a loop&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="trace_1.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248739iDAEEA189BC59456A/image-size/large?v=v2&amp;amp;px=999" role="button" title="trace_1.png" alt="trace_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3. load m7_app.elf, i can trace the program, i think m core app is running fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4. but a53_app is no response, no log print on uart, i try to debug with&amp;nbsp;Lauterbach, the&amp;nbsp;phenomena is confused me. &lt;STRONG&gt;the memory of global var &amp;lt;bootApplications&amp;gt; is all zero&lt;/STRONG&gt;.&amp;nbsp;&lt;SPAN class=""&gt;After some instructions, the buseror appeared&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="trace_3.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248741i54D623284B19CE7A/image-size/large?v=v2&amp;amp;px=999" role="button" title="trace_3.png" alt="trace_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="trace_4.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248742i22B6BDE2A12CD91E/image-size/large?v=v2&amp;amp;px=999" role="button" title="trace_4.png" alt="trace_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN&gt;Can you give me some suggestions on how to proceed with the next step of debugging?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 03:30:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G399A-RDB3-Multi-core-boot-failed-following-AN13750/m-p/1753196#M5237</guid>
      <dc:creator>superyyf</dc:creator>
      <dc:date>2023-11-07T03:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: S32G399A-RDB3 Multi-core boot failed, following AN13750</title>
      <link>https://community.nxp.com/t5/S32G/S32G399A-RDB3-Multi-core-boot-failed-following-AN13750/m-p/1753735#M5241</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Which BSP version are you using? Which IPCF version are you using?&lt;/P&gt;
&lt;P&gt;Are you changing your uboot/ATF to use an alignment of 64? Can you boot your RDB3 with the modified files? We refer to the change of the "fip.s32" file. Can you boot the A53_0 core with the fip.bin file? We refer to using it as Application Bootloader under the IVT.&lt;/P&gt;
&lt;P&gt;The IPCF examples provided for M7 core under S32G3 show under the "description.txt" file the expected boot sequence, where the loading of the M7 binary is through u-boot and not through the Bootloader. Looking into the linker of the IPCF S32G3 examples and the linker provided under the AN13750SW package, we see a difference that might be causing the problem.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you tried using a simple blink example with the AN13750SW linker to understand if you can load both application through a bootloader? As a first step.&lt;/P&gt;
&lt;P&gt;We do apologize for the inconvenience that these questions may cause.&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 22:22:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G399A-RDB3-Multi-core-boot-failed-following-AN13750/m-p/1753735#M5241</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-11-07T22:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: S32G399A-RDB3 Multi-core boot failed, following AN13750</title>
      <link>https://community.nxp.com/t5/S32G/S32G399A-RDB3-Multi-core-boot-failed-following-AN13750/m-p/1753945#M5243</link>
      <description>&lt;P&gt;Hi Daniel ,&lt;/P&gt;&lt;P&gt;the version&amp;nbsp; information is as follows:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BSP 35&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;IPCF 4.8.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I already&amp;nbsp; change atf to&amp;nbsp;&amp;nbsp;use an alignment of 64.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I can boot RDB3 from sd card with modified atf.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I can boot A53_0 from norflash with&amp;nbsp;Application Bootloader under the IVT.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have tried to replace linker in S32G3 exapmle with the linker provided under&amp;nbsp;the AN13750SW package, but A53 core still boot failed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I also tried to remove m7 app, let bootloader only boot the fip.bin, it failed, so i guess may be something wrong between bootloader and fip.bin.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;----------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Consistent with the previous debug, the global variable &amp;lt;bootApplications&amp;gt; has 0 data at address 0x3533309C in SRAM, and then I checked the relative offset addresses of the norflash and bin files, and the data is all 0. The problem seems to be in the build phase of the bootloader.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;More detailed configuration of the bootloader is as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. I disabled Crypto, CryptoDal, Rm module&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="superyyf_0-1699434232983.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248976i40CEB537A49FEE78/image-size/medium?v=v2&amp;amp;px=400" role="button" title="superyyf_0-1699434232983.png" alt="superyyf_0-1699434232983.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2. I delete some related init and deinit function&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="superyyf_1-1699434348261.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248977i970C7ABC9937D8B6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="superyyf_1-1699434348261.png" alt="superyyf_1-1699434348261.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="superyyf_3-1699434404179.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248979i47ECC836DFC06530/image-size/medium?v=v2&amp;amp;px=400" role="button" title="superyyf_3-1699434404179.png" alt="superyyf_3-1699434404179.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;--------------&lt;/P&gt;&lt;P&gt;By analyzing the bin file and map file, we found that the bin file start address is 0x35300000 (int_sram_no_cacheable pointer) instead of 0x35320000 (the reset_handler pointer &amp;amp; int_sram pointer). This is not consistent with what is described in the documentation, how should I configure the ivt image.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 10:48:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G399A-RDB3-Multi-core-boot-failed-following-AN13750/m-p/1753945#M5243</guid>
      <dc:creator>superyyf</dc:creator>
      <dc:date>2023-11-08T10:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: S32G399A-RDB3 Multi-core boot failed, following AN13750</title>
      <link>https://community.nxp.com/t5/S32G/S32G399A-RDB3-Multi-core-boot-failed-following-AN13750/m-p/1754427#M5248</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We understand that you are using 0x35200000 for load/entry address under your IVT, is this correct?&lt;/P&gt;
&lt;P&gt;Can you help us sharing your IVT structure? To understand how you are creating the IVT.&lt;/P&gt;
&lt;P&gt;Also, seeing the steps that you are showing, have you also disabled Secure Boot?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_1-1699474798251.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/249064i561E863149EE00A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_1-1699474798251.png" alt="DanielAguirre_1-1699474798251.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Since you removed Crypto module and can proceed with the build, we assume you disable it. Also, did you remove the SW breakpoint? Or did you add the corresponding code shown under AN13750?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_2-1699474920243.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/249065i5165F9EE15A6B766/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_2-1699474920243.png" alt="DanielAguirre_2-1699474920243.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Mainly the change of the macro, since you seem to not be using HSE.&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 20:22:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G399A-RDB3-Multi-core-boot-failed-following-AN13750/m-p/1754427#M5248</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-11-08T20:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: S32G399A-RDB3 Multi-core boot failed, following AN13750</title>
      <link>https://community.nxp.com/t5/S32G/S32G399A-RDB3-Multi-core-boot-failed-following-AN13750/m-p/1754579#M5251</link>
      <description>&lt;P&gt;I finally figured it out. it is about the &lt;STRONG&gt;IVT Application bootloader configure.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;At the first time, i think RAM start pointer should be int_sram address, RAM entry pointer should be Reset_Handler address, the same as bootloader configure about how to lead m core app. the document is also&amp;nbsp;ambiguous.&lt;/P&gt;&lt;P&gt;But it is a mistake, RAM start pointer should be&amp;nbsp;&lt;STRONG&gt;int_sram_no_cacheable &lt;/STRONG&gt;address, RAM entry pointer should be &lt;STRONG&gt;intc_vector&lt;/STRONG&gt; address, according to bin file layout and BootRom's behavior.&lt;/P&gt;&lt;P&gt;Can you help me explain why there is such a entry address difference between BootRom jumping to Bootloader and Bootloader jumping to the app?&lt;/P&gt;&lt;P&gt;And I think this should be reflected in the documentation.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 02:49:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G399A-RDB3-Multi-core-boot-failed-following-AN13750/m-p/1754579#M5251</guid>
      <dc:creator>superyyf</dc:creator>
      <dc:date>2023-11-09T02:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: S32G399A-RDB3 Multi-core boot failed, following AN13750</title>
      <link>https://community.nxp.com/t5/S32G/S32G399A-RDB3-Multi-core-boot-failed-following-AN13750/m-p/1969616#M11077</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210637"&gt;@superyyf&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/205137"&gt;@Daniel-Aguirre&lt;/a&gt;&amp;nbsp; this issue fixed?&lt;/P&gt;&lt;P&gt;i am also meet this issue. atf(A53) start failed&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 07:06:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G399A-RDB3-Multi-core-boot-failed-following-AN13750/m-p/1969616#M11077</guid>
      <dc:creator>xlfd_1981</dc:creator>
      <dc:date>2024-10-09T07:06:01Z</dc:date>
    </item>
  </channel>
</rss>

