<?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: S32K1xx bootloader in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K1xx-bootloader/m-p/1042536#M6777</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually, it is not true, the values of userSP and&amp;nbsp;userStartup are used in the function.&amp;nbsp;Their value is stored in the r0 and r1 registers.&lt;/P&gt;&lt;P&gt;Also,&amp;nbsp;userSP&amp;nbsp;is used for checking if the memory is erased at the address where you want to jump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/109100iB170EEB14FFA7A30/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;Yes, you can refer to the unified bootloader framework:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/webapp/Download?colCode=UBLUG" title="https://www.nxp.com/webapp/Download?colCode=UBLUG"&gt;https://www.nxp.com/webapp/Download?colCode=UBLUG&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/downloads/en/snippets-boot-code-headers-monitors/unified_bootloader_framework.zip" title="https://www.nxp.com/downloads/en/snippets-boot-code-headers-monitors/unified_bootloader_framework.zip"&gt;https://www.nxp.com/downloads/en/snippets-boot-code-headers-monitors/unified_bootloader_framework.zip&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This package does not include the NxpOpenBus.exe tool. Please, create a support ticket mentioned in point 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&lt;/P&gt;&lt;P&gt;If you are searching for any source code which is not available on the NXP site or application notes, please, create a support ticket.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/support/support:SUPPORTHOME" title="https://www.nxp.com/support/support:SUPPORTHOME"&gt;Support | NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In most cases, it cannot be shared publicly in the community or it is not available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your understanding.&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Jul 2020 12:42:03 GMT</pubDate>
    <dc:creator>dianabatrlova</dc:creator>
    <dc:date>2020-07-31T12:42:03Z</dc:date>
    <item>
      <title>S32K1xx bootloader</title>
      <link>https://community.nxp.com/t5/S32K/S32K1xx-bootloader/m-p/1042535#M6776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear NXP officer,&lt;/P&gt;&lt;P&gt;1) I try to follow the link to try on the S32K1xx bootloader&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/487240"&gt;S32k144 boot loader&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after download the code, I notice:&lt;/P&gt;&lt;P&gt;void JumpToUserApplication( unsigned int &lt;STRONG&gt;userSP&lt;/STRONG&gt;, unsigned int &lt;STRONG&gt;userStartup&lt;/STRONG&gt;)&lt;BR /&gt;{&lt;BR /&gt; /* Check if Entry address is erased and return if erased */&lt;BR /&gt; if(userSP == 0xFFFFFFFF){&lt;BR /&gt; return;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;/* Set up stack pointer */&lt;BR /&gt; __asm("msr msp, r0");&lt;BR /&gt; __asm("msr psp, r0");&lt;/P&gt;&lt;P&gt;/* Relocate vector table */&lt;BR /&gt; S32_SCB-&amp;gt;VTOR = (uint32_t)APP_START_ADDRESS;&lt;/P&gt;&lt;P&gt;/* Jump to application PC (r1) */&lt;BR /&gt; __asm("mov pc, r1");&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;So variable&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;userSP&lt;/STRONG&gt; and&amp;nbsp;&lt;STRONG&gt;userStartup&lt;/STRONG&gt; is not used inside this function? then what is the purpose to declare them?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2.&amp;nbsp;Is there a&amp;nbsp;example on bootloader on LIN bus?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. Is there source code for interface software too?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks and best regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;He Wei&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2020 05:51:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K1xx-bootloader/m-p/1042535#M6776</guid>
      <dc:creator>wei_w_he</dc:creator>
      <dc:date>2020-07-30T05:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: S32K1xx bootloader</title>
      <link>https://community.nxp.com/t5/S32K/S32K1xx-bootloader/m-p/1042536#M6777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually, it is not true, the values of userSP and&amp;nbsp;userStartup are used in the function.&amp;nbsp;Their value is stored in the r0 and r1 registers.&lt;/P&gt;&lt;P&gt;Also,&amp;nbsp;userSP&amp;nbsp;is used for checking if the memory is erased at the address where you want to jump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/109100iB170EEB14FFA7A30/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;Yes, you can refer to the unified bootloader framework:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/webapp/Download?colCode=UBLUG" title="https://www.nxp.com/webapp/Download?colCode=UBLUG"&gt;https://www.nxp.com/webapp/Download?colCode=UBLUG&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/downloads/en/snippets-boot-code-headers-monitors/unified_bootloader_framework.zip" title="https://www.nxp.com/downloads/en/snippets-boot-code-headers-monitors/unified_bootloader_framework.zip"&gt;https://www.nxp.com/downloads/en/snippets-boot-code-headers-monitors/unified_bootloader_framework.zip&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This package does not include the NxpOpenBus.exe tool. Please, create a support ticket mentioned in point 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&lt;/P&gt;&lt;P&gt;If you are searching for any source code which is not available on the NXP site or application notes, please, create a support ticket.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/support/support:SUPPORTHOME" title="https://www.nxp.com/support/support:SUPPORTHOME"&gt;Support | NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In most cases, it cannot be shared publicly in the community or it is not available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your understanding.&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2020 12:42:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K1xx-bootloader/m-p/1042536#M6777</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2020-07-31T12:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: S32K1xx bootloader</title>
      <link>https://community.nxp.com/t5/S32K/S32K1xx-bootloader/m-p/1042537#M6778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;program from&amp;nbsp;&lt;A class="" data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fdownloads%2Fen%2Fsnippets-boot-code-headers-monitors%2Funified_bootloader_framework.zip" rel="nofollow" style="color: #3d9ce7; background-color: #ffffff; border: 0px; text-decoration: underline; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;unified_bootloader_framework.zip&lt;/A&gt;cannot build successfully&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&amp;nbsp;,pls give some tips,thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2020 03:43:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K1xx-bootloader/m-p/1042537#M6778</guid>
      <dc:creator>642142357</dc:creator>
      <dc:date>2020-08-19T03:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: S32K1xx bootloader</title>
      <link>https://community.nxp.com/t5/S32K/S32K1xx-bootloader/m-p/1042538#M6779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any difficulties with the unified bootloader framework I suggest creating your own support ticket (link mentioned above in point 3) with a description/screenshot/errors of your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your understanding.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2020 08:58:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K1xx-bootloader/m-p/1042538#M6779</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2020-08-19T08:58:04Z</dc:date>
    </item>
  </channel>
</rss>

