<?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>S32KのトピックRe: Bootloader in S32K358</title>
    <link>https://community.nxp.com/t5/S32K/Bootloader-in-S32K358/m-p/1854392#M34634</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi VaneB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; Thank you for reply&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I am using core0 for booloader, so I use&amp;nbsp;linker_flash_c0_s32k358.ld for bootloader.&amp;nbsp; Although I am using core0 app now, I need to download core0 and core2 app in 1 hex in future, so I choose linker_flash_s32k358.ld for app,&amp;nbsp; boot can't jump to app successfully and enter hard fault , when I&amp;nbsp;choose&amp;nbsp; linker_flash_c0_s32k358.ld for test , boot jump successfully. I think it means jump process has no problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;linker_flash_c0_s32k358.ld in bootloader has no change, the ld file in app only choose it's&amp;nbsp; start address like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RunqiangCao_0-1714024196583.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/275758i39B96548307D2A40/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RunqiangCao_0-1714024196583.png" alt="RunqiangCao_0-1714024196583.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="RunqiangCao_1-1714024225305.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/275759i886FD96F5ED9DC04/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RunqiangCao_1-1714024225305.png" alt="RunqiangCao_1-1714024225305.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Before jumping , I&amp;nbsp; deinit the peripheral , disable the systick, disable interrupts,set MSP and PSP to the top of the stack ,set&amp;nbsp;S32_SCB-&amp;gt;VTOR = 0x20000000u and set control register to 0,then jump,it enter hard fault.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I have no idea&amp;nbsp; to solve it and expect your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Thank you in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 25 Apr 2024 06:42:13 GMT</pubDate>
    <dc:creator>CaoRq</dc:creator>
    <dc:date>2024-04-25T06:42:13Z</dc:date>
    <item>
      <title>Bootloader in S32K358</title>
      <link>https://community.nxp.com/t5/S32K/Bootloader-in-S32K358/m-p/1853195#M34581</link>
      <description>&lt;P&gt;Hi, NXP&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am doing bootloader in s32k358, but now I face a problem&lt;/P&gt;&lt;P&gt;&amp;nbsp;the boot software is using&amp;nbsp;linker_flash_c0_s32k358.ld , if the app is&amp;nbsp; using&amp;nbsp;linker_flash_c0_s32k358.ld , boot can jump to app successfully , but if the app uses linker_flash_s32k358.ld, it can't jump successfully and enter hardfault.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Can you tell me the reason and how to solve it&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 07:13:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Bootloader-in-S32K358/m-p/1853195#M34581</guid>
      <dc:creator>CaoRq</dc:creator>
      <dc:date>2024-04-24T07:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader in S32K358</title>
      <link>https://community.nxp.com/t5/S32K/Bootloader-in-S32K358/m-p/1853731#M34608</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/220720"&gt;@CaoRq&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In S32DS, when you create a project for multicore devices using RTDs, a project is created for each core with its own Linker file, except core 0, where two Linker files are created.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VaneB_0-1713983884870.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/275624i45A42F8D52356908/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VaneB_0-1713983884870.png" alt="VaneB_0-1713983884870.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In each Linker file, you will find the default definition of the memory regions of the cores, each one is independent.&lt;/P&gt;
&lt;P&gt;Concerning the Linker file that was additionally generated, it is not usually used and can be verified in the project properties. So for greater ease, I recommend not using it.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VaneB_2-1713984027895.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/275628i11A158CEED2E05F0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VaneB_2-1713984027895.png" alt="VaneB_2-1713984027895.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;B.R.&lt;/P&gt;
&lt;P&gt;VaneB&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 18:40:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Bootloader-in-S32K358/m-p/1853731#M34608</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2024-04-24T18:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader in S32K358</title>
      <link>https://community.nxp.com/t5/S32K/Bootloader-in-S32K358/m-p/1854392#M34634</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi VaneB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; Thank you for reply&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I am using core0 for booloader, so I use&amp;nbsp;linker_flash_c0_s32k358.ld for bootloader.&amp;nbsp; Although I am using core0 app now, I need to download core0 and core2 app in 1 hex in future, so I choose linker_flash_s32k358.ld for app,&amp;nbsp; boot can't jump to app successfully and enter hard fault , when I&amp;nbsp;choose&amp;nbsp; linker_flash_c0_s32k358.ld for test , boot jump successfully. I think it means jump process has no problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;linker_flash_c0_s32k358.ld in bootloader has no change, the ld file in app only choose it's&amp;nbsp; start address like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RunqiangCao_0-1714024196583.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/275758i39B96548307D2A40/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RunqiangCao_0-1714024196583.png" alt="RunqiangCao_0-1714024196583.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="RunqiangCao_1-1714024225305.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/275759i886FD96F5ED9DC04/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RunqiangCao_1-1714024225305.png" alt="RunqiangCao_1-1714024225305.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Before jumping , I&amp;nbsp; deinit the peripheral , disable the systick, disable interrupts,set MSP and PSP to the top of the stack ,set&amp;nbsp;S32_SCB-&amp;gt;VTOR = 0x20000000u and set control register to 0,then jump,it enter hard fault.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I have no idea&amp;nbsp; to solve it and expect your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Thank you in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 06:42:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Bootloader-in-S32K358/m-p/1854392#M34634</guid>
      <dc:creator>CaoRq</dc:creator>
      <dc:date>2024-04-25T06:42:13Z</dc:date>
    </item>
  </channel>
</rss>

