<?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: Jump to Bootloader from Application by interchanging the vector, and also how to Flash in new ve in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Jump-to-Bootloader-from-Application-by-interchanging-the-vector/m-p/1861143#M35087</link>
    <description>&lt;P&gt;&lt;A href="mailto:Hi@Nibesh" target="_blank"&gt;Hi@Nibesh&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please do not create the same topic repeatedly.&lt;/P&gt;
&lt;P&gt;Please discuss it under this topic and I will close your case of repeated creation.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K/Bootloader-and-Application-of-S32K148-amp-S32K146/td-p/1860220" target="_blank"&gt;https://community.nxp.com/t5/S32K/Bootloader-and-Application-of-S32K148-amp-S32K146/td-p/1860220&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 08 May 2024 06:52:52 GMT</pubDate>
    <dc:creator>Senlent</dc:creator>
    <dc:date>2024-05-08T06:52:52Z</dc:date>
    <item>
      <title>Jump to Bootloader from Application by interchanging the vector, and also how to Flash in new vector</title>
      <link>https://community.nxp.com/t5/S32K/Jump-to-Bootloader-from-Application-by-interchanging-the-vector/m-p/1860243#M35026</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/60336"&gt;@kerryzhou&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/171674"&gt;@Juan-Rodarte&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/30869"&gt;@xiaodong_zhang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/13836"&gt;@petervlna&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/57740"&gt;@Rita_Wang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Actually I am working on Bootloader of AN12218SW for S32K148 and S32K146 Evaluation Board.&amp;nbsp;&lt;BR /&gt;The Default&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Linker&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;file for S32K146-Q144 is given below;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bootloader&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;/* Flash */&lt;BR /&gt;&amp;nbsp;m_interrupts&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x00000000, LENGTH = 0x00000400&lt;/P&gt;&lt;P&gt;&amp;nbsp;m_flash_config&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x00000400, LENGTH = 0x00000010&lt;/P&gt;&lt;P&gt;&amp;nbsp;m_text&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(RX)&amp;nbsp; : ORIGIN = 0x10000000, LENGTH = 0x00002000&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Application&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;/* Flash */&lt;/P&gt;&lt;P&gt;&amp;nbsp; m_interrupts&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x00001000, LENGTH = 0x00000400&lt;/P&gt;&lt;P&gt;&amp;nbsp; m_flash_config&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x00001400, LENGTH = 0x00000010&lt;/P&gt;&lt;P&gt;&amp;nbsp; m_text&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x00001410, LENGTH = 0x000FFBF0&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Actually,&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;we have interchanged the Linker vice versa, which is given below;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Application&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;/* Flash */&lt;/P&gt;&lt;P&gt;&amp;nbsp; m_interrupts&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x00000000, LENGTH = 0x00000400&lt;/P&gt;&lt;P&gt;&amp;nbsp; m_flash_config&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x00000400, LENGTH = 0x00000010&lt;/P&gt;&lt;P&gt;&amp;nbsp; m_text&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(RX)&amp;nbsp; : ORIGIN = 0x10000000, LENGTH = 0x00002000&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bootloader&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;/* Flash */&lt;/P&gt;&lt;P&gt;&amp;nbsp; m_interrupts&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x10001000, LENGTH = 0x00000400&lt;/P&gt;&lt;P&gt;&amp;nbsp; m_flash_config&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x10001400, LENGTH = 0x00000010&lt;/P&gt;&lt;P&gt;&amp;nbsp; m_text&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(RX)&amp;nbsp; : ORIGIN = 0x10001410, LENGTH = 0x000FFBF0&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The following are the doubts points;&lt;BR /&gt;1. By interchanging the Vector We are trying to Flash the new application through Bootloader which start at 0x10001000.&lt;BR /&gt;2. we have use&amp;nbsp; 0x00000000 Vector for Application.&lt;BR /&gt;3. Actually&amp;nbsp; Once we Reset our Micro-Controller, it is going to Application First, then if it receives any INPUT through LPUART it will jump to Bootloader Code. We are able to achieve this. We can easily Jump from Application to Bootloader through LPUART.&lt;BR /&gt;&lt;BR /&gt;But after a Jump into Bootloader it has to perform Bootloader Function comm_download_app(); Which I am unable to Achieve. It is detecting the COM, we are able to Load the new .SREC File, it is completely loading but it is unable to Write and Flash with new .SREC file.&lt;BR /&gt;&lt;BR /&gt;How we can resolve this issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/60336"&gt;@kerryzhou&lt;/a&gt;,&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/171674"&gt;@Juan-Rodarte&lt;/a&gt;, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/30869"&gt;@xiaodong_zhang&lt;/a&gt;,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/13836"&gt;@petervlna&lt;/a&gt;,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/57740"&gt;@Rita_Wang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I hope to hear from you soon.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 06:44:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Jump-to-Bootloader-from-Application-by-interchanging-the-vector/m-p/1860243#M35026</guid>
      <dc:creator>Nibesh</dc:creator>
      <dc:date>2024-05-07T06:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Jump to Bootloader from Application by interchanging the vector, and also how to Flash in new ve</title>
      <link>https://community.nxp.com/t5/S32K/Jump-to-Bootloader-from-Application-by-interchanging-the-vector/m-p/1861143#M35087</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@Nibesh" target="_blank"&gt;Hi@Nibesh&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please do not create the same topic repeatedly.&lt;/P&gt;
&lt;P&gt;Please discuss it under this topic and I will close your case of repeated creation.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K/Bootloader-and-Application-of-S32K148-amp-S32K146/td-p/1860220" target="_blank"&gt;https://community.nxp.com/t5/S32K/Bootloader-and-Application-of-S32K148-amp-S32K146/td-p/1860220&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 06:52:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Jump-to-Bootloader-from-Application-by-interchanging-the-vector/m-p/1861143#M35087</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2024-05-08T06:52:52Z</dc:date>
    </item>
  </channel>
</rss>

