<?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: Is there an s32k144 app+bootload sample program? in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Is-there-an-s32k144-app-bootload-sample-program/m-p/968117#M5480</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;Please refer to serial bootloader for the S32K1xx devices. The software is for the S32K148EVB,&amp;nbsp;&amp;nbsp;However, it can be migrated to&amp;nbsp;S32K144.&lt;/P&gt;&lt;P&gt;Application note:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/application-note/AN12218.pdf" title="https://www.nxp.com/docs/en/application-note/AN12218.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN12218.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SW:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/application-note-software/AN12218SW.zip" title="https://www.nxp.com/docs/en/application-note-software/AN12218SW.zip"&gt;https://www.nxp.com/docs/en/application-note-software/AN12218SW.zip&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&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>Thu, 27 Jun 2019 12:05:26 GMT</pubDate>
    <dc:creator>dianabatrlova</dc:creator>
    <dc:date>2019-06-27T12:05:26Z</dc:date>
    <item>
      <title>Is there an s32k144 app+bootload sample program?</title>
      <link>https://community.nxp.com/t5/S32K/Is-there-an-s32k144-app-bootload-sample-program/m-p/968116#M5479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now I am implementing the app upgrade via bootload. But because of the time constraints, I need a sample program to implement this function faster. I hope to get help. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2019 09:48:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Is-there-an-s32k144-app-bootload-sample-program/m-p/968116#M5479</guid>
      <dc:creator>652856839</dc:creator>
      <dc:date>2019-06-25T09:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an s32k144 app+bootload sample program?</title>
      <link>https://community.nxp.com/t5/S32K/Is-there-an-s32k144-app-bootload-sample-program/m-p/968117#M5480</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;Please refer to serial bootloader for the S32K1xx devices. The software is for the S32K148EVB,&amp;nbsp;&amp;nbsp;However, it can be migrated to&amp;nbsp;S32K144.&lt;/P&gt;&lt;P&gt;Application note:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/application-note/AN12218.pdf" title="https://www.nxp.com/docs/en/application-note/AN12218.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN12218.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SW:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/application-note-software/AN12218SW.zip" title="https://www.nxp.com/docs/en/application-note-software/AN12218SW.zip"&gt;https://www.nxp.com/docs/en/application-note-software/AN12218SW.zip&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&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>Thu, 27 Jun 2019 12:05:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Is-there-an-s32k144-app-bootload-sample-program/m-p/968117#M5480</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2019-06-27T12:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an s32k144 app+bootload sample program?</title>
      <link>https://community.nxp.com/t5/S32K/Is-there-an-s32k144-app-bootload-sample-program/m-p/968118#M5481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.But now I have a new problem, I can't run the app normally when I jump to the app, which makes me have no clue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void JumpToUserApplication( unsigned int userSP, unsigned int userStartup)&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)P_FLASH_APP;&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;&lt;/P&gt;&lt;P&gt;void jump_app_fuc(void)&lt;BR /&gt;{&lt;BR /&gt; EDMA_DRV_Deinit();&lt;BR /&gt; LPUART_DRV_Deinit(INST_LPUART1);&lt;BR /&gt; FLEXCAN_DRV_Deinit(INST_CANCOM1);&lt;BR /&gt; INT_SYS_DisableIRQGlobal();&lt;/P&gt;&lt;P&gt;JumpToUserApplication(*((uint32*)P_FLASH_APP), *((uint32*)(P_FLASH_APP + 4)));&lt;BR /&gt; while(1)&lt;BR /&gt; {}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="AfterTheJump.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/82259iB5A298CA5FE954EA/image-size/large?v=v2&amp;amp;px=999" role="button" title="AfterTheJump.png" alt="AfterTheJump.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2019 08:47:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Is-there-an-s32k144-app-bootload-sample-program/m-p/968118#M5481</guid>
      <dc:creator>652856839</dc:creator>
      <dc:date>2019-07-19T08:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an s32k144 app+bootload sample program?</title>
      <link>https://community.nxp.com/t5/S32K/Is-there-an-s32k144-app-bootload-sample-program/m-p/968119#M5482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="s32k144_bootloader_ld.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/82260i07F5022713EF20B5/image-size/large?v=v2&amp;amp;px=999" role="button" title="s32k144_bootloader_ld.png" alt="s32k144_bootloader_ld.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="s32k144_app_ld.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/82344iFDA73608B26C4949/image-size/large?v=v2&amp;amp;px=999" role="button" title="s32k144_app_ld.png" alt="s32k144_app_ld.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2019 09:02:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Is-there-an-s32k144-app-bootload-sample-program/m-p/968119#M5482</guid>
      <dc:creator>652856839</dc:creator>
      <dc:date>2019-07-19T09:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an s32k144 app+bootload sample program?</title>
      <link>https://community.nxp.com/t5/S32K/Is-there-an-s32k144-app-bootload-sample-program/m-p/968120#M5483</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;I have checked your linker files and the bootloader address space and the application address space overlaps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if you want to start of the application at address 0x0001_0000, the bootloader address space starts at address 0x0000_0000 and the end address&amp;nbsp;can be 0x0000_FBF0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, after you loaded the application into memory, please, check the application in the memory window in the S32DS.&lt;/P&gt;&lt;P&gt;Window -&amp;gt; Show View -&amp;gt; Memory (if it is programmed correctly)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you program the application using Srecord?&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>Tue, 23 Jul 2019 11:46:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Is-there-an-s32k144-app-bootload-sample-program/m-p/968120#M5483</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2019-07-23T11:46:34Z</dc:date>
    </item>
  </channel>
</rss>

