<?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: Fault happened when Jump to BootLoader from APP Program</title>
    <link>https://community.nxp.com/t5/S32K/Fault-happened-when-Jump-to-BootLoader-from-APP-Program/m-p/1846643#M34173</link>
    <description>&lt;P&gt;&lt;A href="mailto:Hi@FanJialin" target="_blank"&gt;Hi@FanJialin&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Can you provide a project that can reproduce the problem so that we can troubleshoot the problem more easily!&lt;/P&gt;</description>
    <pubDate>Mon, 15 Apr 2024 02:42:01 GMT</pubDate>
    <dc:creator>Senlent</dc:creator>
    <dc:date>2024-04-15T02:42:01Z</dc:date>
    <item>
      <title>Fault happened when Jump to BootLoader from APP Program</title>
      <link>https://community.nxp.com/t5/S32K/Fault-happened-when-Jump-to-BootLoader-from-APP-Program/m-p/1846058#M34132</link>
      <description>&lt;P&gt;I encountered an issue while using the S32K146 chip. Please help me analyze the reason.&lt;BR /&gt;The details are as follows.&lt;BR /&gt;Firstly, when I first powered on, I successfully jumped from BootLoader to running the app.&lt;BR /&gt;When I receive an update request without power outage, I hope to jump back to BootLoader from the app to perform the app update.&lt;BR /&gt;But there was an error during the jump process.&lt;BR /&gt;The code location when the error occurs is in the startup_S32K146.s file&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FanJialin_0-1712918998235.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/273442i8B40556BC00047B5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FanJialin_0-1712918998235.png" alt="FanJialin_0-1712918998235.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The value of the CFSR register info is that IBUSERR has been set 1.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Jump Func code:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;static void nvdJumpToBootloader(0x10000000)&lt;BR /&gt;{&lt;BR /&gt;void (*entry)(void);&lt;BR /&gt;Type_uWord pc;&lt;BR /&gt;Type_uWord __attribute__((unused)) sp;&lt;BR /&gt;&lt;BR /&gt;asm("cpsid i");&lt;BR /&gt;S32_SCB-&amp;gt;VTOR=(Type_uWord)(start_address); /*Relocate interrupt table ptr*/&lt;BR /&gt;sp = *((volatile Type_uWord*)start_address);&lt;BR /&gt;asm(" ldr sp, [r0,#0]");&lt;BR /&gt;pc = *((volatile Type_uWord *)(start_address + 4));&lt;BR /&gt;entry = (void (*)(void))pc;&lt;BR /&gt;entry();&lt;BR /&gt;asm("cpsie i");&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bootloader Address map:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;define symbol m_interrupts_start = 0x10000000;&lt;BR /&gt;define symbol m_interrupts_end = 0x100003FF;&lt;/P&gt;&lt;P&gt;define symbol m_flash_config_start = 0x10000400;&lt;BR /&gt;define symbol m_flash_config_end = 0x1000040F;&lt;/P&gt;&lt;P&gt;define symbol m_text_start = 0x10000410;&lt;BR /&gt;define symbol m_text_end = 0x10007FFF;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;APP Address map:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;define symbol m_interrupts_start = 0x00004000;&lt;BR /&gt;define symbol m_interrupts_end = 0x000043FF;&lt;/P&gt;&lt;P&gt;define symbol m_flash_config_start = 0x00004400;&lt;BR /&gt;define symbol m_flash_config_end = 0x0000440F;&lt;/P&gt;&lt;P&gt;define symbol m_text_start = 0x00005000;&lt;BR /&gt;define symbol m_text_end = 0x000FFFFF;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 10:59:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Fault-happened-when-Jump-to-BootLoader-from-APP-Program/m-p/1846058#M34132</guid>
      <dc:creator>FanJialin</dc:creator>
      <dc:date>2024-04-12T10:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Fault happened when Jump to BootLoader from APP Program</title>
      <link>https://community.nxp.com/t5/S32K/Fault-happened-when-Jump-to-BootLoader-from-APP-Program/m-p/1846643#M34173</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@FanJialin" target="_blank"&gt;Hi@FanJialin&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Can you provide a project that can reproduce the problem so that we can troubleshoot the problem more easily!&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 02:42:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Fault-happened-when-Jump-to-BootLoader-from-APP-Program/m-p/1846643#M34173</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2024-04-15T02:42:01Z</dc:date>
    </item>
  </channel>
</rss>

