<?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: MPC5748G Bootloader Configuration (DEVKIT-MPC5748G) in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-Bootloader-Configuration-DEVKIT-MPC5748G/m-p/753264#M2644</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jiri,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thanks for replying. I was in fact trying to do the same but ran into reset escalation issue. Trying to get the board working again.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;;if the boot header is valid, execute application&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; ;load address of reset vector to r12&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; e_lis r12,0x00FA&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; e_or2i r12,0x0010&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;;load reset vector to r0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; e_lwz r0,0(r12)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; ;move reset vector to link register&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; mtlr r0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; ;branch to address in link register&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; se_blrl&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was going to&amp;nbsp;run the assembler code given above. I got it from the Bootloader code for Greenhills ide. Do you think this is sufficient? I will be able to test only once the board works. It is in a reset state now. Do you have any solution to this issue? I have been trying out the solutions listed in a couple of the forum posts but none of them works. I was using the OpenSDA debugger, but once this issue manifested, tried with the P&amp;amp;E Universal debugger also. Still the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="scv_15242226132391101275508327293323.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32602i7BEFE9E3F1D52967/image-size/large?v=v2&amp;amp;px=999" role="button" title="scv_15242226132391101275508327293323.jpg" alt="scv_15242226132391101275508327293323.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Apr 2018 12:16:32 GMT</pubDate>
    <dc:creator>navinars</dc:creator>
    <dc:date>2018-04-20T12:16:32Z</dc:date>
    <item>
      <title>MPC5748G Bootloader Configuration (DEVKIT-MPC5748G)</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-Bootloader-Configuration-DEVKIT-MPC5748G/m-p/753260#M2640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I am working on creating a bootloader application for the MPC5748G devkit board, and I am using the &lt;STRONG&gt;S32 IDE&lt;/STRONG&gt;. The requirements are as below:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The bootloader, on bootup will check a flash location for a word indicating whether a new firmware is available or not (This word is written by the main firmware on receiving a new firmware and saving it to flash).&lt;/LI&gt;&lt;LI&gt;If available, it will copy the new firmware and replace it with the old firmware(user application).&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;If unavailable, bootloader will boot the current firmware.&lt;/LI&gt;&lt;LI&gt;The firmware update process takes place via&amp;nbsp;&lt;STRONG&gt;ETHERNET&lt;/STRONG&gt; from the user application, not serial interface.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have downloaded the Bootloader_MPC5748G bootloader code from the Example codes, but need some help as I am working on bootloader for the first time, and the schedule is tight. I have modified the linker scripts of the user application and the bootloader.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The main question I have is how to jump to the user application from the bootloader after checking the word.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It would be very helpful if you could provide some insight into this. I want to do the jump from the&amp;nbsp;&lt;STRONG&gt;main&lt;/STRONG&gt; function itself, and I was unable to find any info in the bootloader application regarding this.&amp;nbsp; I have attached the bootloader code here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bootloader's linker script is:&lt;/P&gt;&lt;P&gt;Bootloader&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SRAM_SIZE = 128K; &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;SRAM_BASE_ADDR = 0x40000000;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;MEMORY&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;{&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; flash_rchw : org = 0x00F8C000, len = 16K&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; m_text : org = 0x1000000, len = 256K &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; m_data : org = 0x40000000, len = 128K&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user application's linker scripts are as follows:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Core 0&lt;BR /&gt;&lt;STRONG&gt;SRAM_SIZE = 256K; &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;SRAM_BASE_ADDR = 0x40020000;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;MEMORY&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;{&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;flash_rchw : org = 0x00FA0000, len = 0x4&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; cpu0_reset_vec : org = 0x00FA0000+0x10, len = 0x4&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; cpu1_reset_vec : org = 0x00FA0000+0x14, len = 0x4&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; cpu2_reset_vec : org = 0x00FA0000+0x04, len = 0x4 &lt;/STRONG&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;STRONG&gt; m_text : org = 0x1040000, len = 1856K &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; m_data : org = 0x40020000, len = 256K&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Core&amp;nbsp;1&lt;BR /&gt;&lt;STRONG&gt;SRAM_SIZE = 256K; &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;SRAM_BASE_ADDR = 0x40060000;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;MEMORY&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;{&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;flash_rchw : org = 0x00FA0000, len = 0x4&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; cpu0_reset_vec : org = 0x00FA0000+0x10, len = 0x4&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; cpu1_reset_vec : org = 0x00FA0000+0x14, len = 0x4&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; cpu2_reset_vec : org = 0x00FA0000+0x04, len = 0x4 &lt;/STRONG&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;STRONG&gt; m_text : org = 0x1210000, len = 1856K &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; m_data : org = 0x40060000, len = 256K&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;core 2&lt;BR /&gt;&lt;STRONG&gt;SRAM_SIZE = 128K; &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;/* Define SRAM Base Address */&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;SRAM_BASE_ADDR = 0x400A0000;&lt;/STRONG&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;STRONG&gt;MEMORY&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;{&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;flash_rchw : org = 0x00FA0000, len = 0x4&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; cpu0_reset_vec : org = 0x00FA0000+0x10, len = 0x4&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; cpu1_reset_vec : org = 0x00FA0000+0x14, len = 0x4&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; cpu2_reset_vec : org = 0x00FA0000+0x04, len = 0x4 &lt;/STRONG&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;STRONG&gt; m_text : org = 0x13E0000, len = 1600K &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; m_data : org = 0x400A0000, len = 128K&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/stanish"&gt;stanish&lt;/A&gt;‌&amp;nbsp; &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/uditsalunke"&gt;uditsalunke&lt;/A&gt;‌&amp;nbsp; &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/lukaszadrapa"&gt;lukaszadrapa&lt;/A&gt;‌ &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/martinkovar"&gt;martinkovar&lt;/A&gt;‌ &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/gigi3"&gt;gigi3&lt;/A&gt;‌&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2018 07:45:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-Bootloader-Configuration-DEVKIT-MPC5748G/m-p/753260#M2640</guid>
      <dc:creator>navinars</dc:creator>
      <dc:date>2018-04-20T07:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G Bootloader Configuration (DEVKIT-MPC5748G)</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-Bootloader-Configuration-DEVKIT-MPC5748G/m-p/753261#M2641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So user application is responsible for downloading NEW user application&lt;/P&gt;&lt;P&gt;(over Ethernet) and update the flash word as flag for boot loader. May be&lt;/P&gt;&lt;P&gt;user application can do Soft Reset to get boot loader in action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think starting NEW application is simple - just jump to the start&lt;/P&gt;&lt;P&gt;address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The critical part here is to execute boot loader when its performing flash&lt;/P&gt;&lt;P&gt;operation ie. erase and write.&lt;/P&gt;&lt;P&gt;Where is validity check for NEW application is done?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Udit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2018 08:10:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-Bootloader-Configuration-DEVKIT-MPC5748G/m-p/753261#M2641</guid>
      <dc:creator>uditsalunke</dc:creator>
      <dc:date>2018-04-20T08:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G Bootloader Configuration (DEVKIT-MPC5748G)</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-Bootloader-Configuration-DEVKIT-MPC5748G/m-p/753262#M2642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Udit,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thanks for the prompt reply. I have not yet implemented the ethernet feature to update the firmware. Right now, I am working on implementing the bootloader functionality - i.e., the bootloader will bootup and jump to the firmware which I have already flashed as per the linker script given above.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once the firmware update feature is in place, I will indeed write the word to flash and do a software reset so the bootloader can replace the new firmware and boot from it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to know how to do the jump to the firmware address from the bootloader. In this case, the firmware's boot header is at &lt;STRONG style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;0x00FA0000,&amp;nbsp;&lt;/STRONG&gt;so how do I initiate the jump from the main function?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2018 09:23:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-Bootloader-Configuration-DEVKIT-MPC5748G/m-p/753262#M2642</guid>
      <dc:creator>navinars</dc:creator>
      <dc:date>2018-04-20T09:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G Bootloader Configuration (DEVKIT-MPC5748G)</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-Bootloader-Configuration-DEVKIT-MPC5748G/m-p/753263#M2643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use assembly branch instruction to application's main function - e_bl .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2018 11:10:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-Bootloader-Configuration-DEVKIT-MPC5748G/m-p/753263#M2643</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2018-04-20T11:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G Bootloader Configuration (DEVKIT-MPC5748G)</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-Bootloader-Configuration-DEVKIT-MPC5748G/m-p/753264#M2644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jiri,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thanks for replying. I was in fact trying to do the same but ran into reset escalation issue. Trying to get the board working again.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;;if the boot header is valid, execute application&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; ;load address of reset vector to r12&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; e_lis r12,0x00FA&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; e_or2i r12,0x0010&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;;load reset vector to r0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; e_lwz r0,0(r12)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; ;move reset vector to link register&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; mtlr r0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; ;branch to address in link register&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; se_blrl&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was going to&amp;nbsp;run the assembler code given above. I got it from the Bootloader code for Greenhills ide. Do you think this is sufficient? I will be able to test only once the board works. It is in a reset state now. Do you have any solution to this issue? I have been trying out the solutions listed in a couple of the forum posts but none of them works. I was using the OpenSDA debugger, but once this issue manifested, tried with the P&amp;amp;E Universal debugger also. Still the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="scv_15242226132391101275508327293323.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32602i7BEFE9E3F1D52967/image-size/large?v=v2&amp;amp;px=999" role="button" title="scv_15242226132391101275508327293323.jpg" alt="scv_15242226132391101275508327293323.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2018 12:16:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-Bootloader-Configuration-DEVKIT-MPC5748G/m-p/753264#M2644</guid>
      <dc:creator>navinars</dc:creator>
      <dc:date>2018-04-20T12:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G Bootloader Configuration (DEVKIT-MPC5748G)</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-Bootloader-Configuration-DEVKIT-MPC5748G/m-p/753265#M2645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;actually - instead of reset vector address you should use the application's main function address.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is similar thread related to bootloader -&amp;nbsp; for S32K144, but the principle is same:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/964316"&gt;https://community.nxp.com/message/964316&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2018 12:24:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-Bootloader-Configuration-DEVKIT-MPC5748G/m-p/753265#M2645</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2018-04-20T12:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G Bootloader Configuration (DEVKIT-MPC5748G)</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-Bootloader-Configuration-DEVKIT-MPC5748G/m-p/753266#M2646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the update.&lt;/P&gt;&lt;P&gt;I had seen that post before and tried to do that call, but using the reset vector address.&amp;nbsp;&lt;/P&gt;&lt;P&gt;//__asm__("b 0x00FA0000");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it was not working. I will use the main function's address and try again if I can get the board to work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have a solution to the reset escalation issue? I am running out of ideas and would greatly appreciate some help.&amp;nbsp;&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/32518i8DA101D7D4C38A41/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;&lt;/P&gt;&lt;P&gt;Navinar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2018 12:45:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-Bootloader-Configuration-DEVKIT-MPC5748G/m-p/753266#M2646</guid>
      <dc:creator>navinars</dc:creator>
      <dc:date>2018-04-20T12:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G Bootloader Configuration (DEVKIT-MPC5748G)</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-Bootloader-Configuration-DEVKIT-MPC5748G/m-p/753267#M2647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Navinar,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think instead of jumping to boot header of user application, branch to applications entry function.&lt;/P&gt;&lt;P&gt;Boot headers are used by BAF to start an application. I am not sure that can be done from user application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also you can check what type of reset is escalated?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Udit&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Apr 2018 08:12:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-Bootloader-Configuration-DEVKIT-MPC5748G/m-p/753267#M2647</guid>
      <dc:creator>uditsalunke</dc:creator>
      <dc:date>2018-04-22T08:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G Bootloader Configuration (DEVKIT-MPC5748G)</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-Bootloader-Configuration-DEVKIT-MPC5748G/m-p/753268#M2648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jiri,&lt;/P&gt;&lt;P&gt;&amp;nbsp; I used the following instructions to jump to the user app (Got them from another forum &lt;A _jive_internal="true" href="https://community.nxp.com/thread/455896"&gt;post&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;asm("e_lis %r12,0x0104");&lt;BR /&gt;asm("e_or2i %r12,0x0000");&lt;BR /&gt;asm("mtlr %r12");&lt;BR /&gt;asm("se_blrl");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you help!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Navinar Savad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2018 09:45:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-Bootloader-Configuration-DEVKIT-MPC5748G/m-p/753268#M2648</guid>
      <dc:creator>navinars</dc:creator>
      <dc:date>2018-04-23T09:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G Bootloader Configuration (DEVKIT-MPC5748G)</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-Bootloader-Configuration-DEVKIT-MPC5748G/m-p/753269#M2649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi，Navinar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;you use this method as follow is OK？&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;asm("e_lis %r12,0x0104");&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;asm("e_or2i %r12,0x0000");&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;asm("mtlr %r12");&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;asm("se_blrl");&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2018 04:23:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-Bootloader-Configuration-DEVKIT-MPC5748G/m-p/753269#M2649</guid>
      <dc:creator>chengxueyuan021</dc:creator>
      <dc:date>2018-07-30T04:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G Bootloader Configuration (DEVKIT-MPC5748G)</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-Bootloader-Configuration-DEVKIT-MPC5748G/m-p/753270#M2650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/chengxueyuan0210@163.com"&gt;chengxueyuan0210@163.com&lt;/A&gt;‌, I used the following function in the bootloader application to jump to my user application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;void jump_to_user_app(void)&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;{&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;//Jump to upgraded fw or golden image.&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;asm("e_lis %r12,0x012C");&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;asm("e_or2i %r12,0x0000");&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;asm("mtlr %r12");&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;asm("se_blrl");&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user application should be flashed to the address 0x012C0000. I am including it's linker script below - &lt;STRONG&gt;"57xx_flash.ld"&lt;/STRONG&gt; (Please note that I only used &lt;STRONG&gt;one core&lt;/STRONG&gt; in the MPC5748G controller). The location of this linker script is $user_application_project/Project_Settings/Linker_Files.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Navinar Savad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2018 09:28:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-Bootloader-Configuration-DEVKIT-MPC5748G/m-p/753270#M2650</guid>
      <dc:creator>navinars</dc:creator>
      <dc:date>2018-07-30T09:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G Bootloader Configuration (DEVKIT-MPC5748G)</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-Bootloader-Configuration-DEVKIT-MPC5748G/m-p/753271#M2651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,Navinar&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;could share your bootloader source code with &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:me?mail-chengxueyuan0210@163.com"&gt;me?mail-chengxueyuan0210@163.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2018 14:27:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-Bootloader-Configuration-DEVKIT-MPC5748G/m-p/753271#M2651</guid>
      <dc:creator>chengxueyuan021</dc:creator>
      <dc:date>2018-07-30T14:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G Bootloader Configuration (DEVKIT-MPC5748G)</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-Bootloader-Configuration-DEVKIT-MPC5748G/m-p/753272#M2652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #4a90e2; font-family: Arial, 'Microsoft YaHei', '\ FAE软雅黑', '\ B8B体', 'Malgun Gothic', Meiryo, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 26px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f7f8fa; display: inline !important; float: none;"&gt;hi Navinar, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4a90e2; font-family: Arial, 'Microsoft YaHei', '\ FAE软雅黑', '\ B8B体', 'Malgun Gothic', Meiryo, sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 26px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f7f8fa; display: inline !important; float: none;"&gt;&amp;nbsp;&amp;nbsp; I am developing a can-based bootloader. May I ask if you can share your bootloader code for my reference? Thank you very much.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2019 08:51:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-Bootloader-Configuration-DEVKIT-MPC5748G/m-p/753272#M2652</guid>
      <dc:creator>1642280511</dc:creator>
      <dc:date>2019-03-21T08:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G Bootloader Configuration (DEVKIT-MPC5748G)</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-Bootloader-Configuration-DEVKIT-MPC5748G/m-p/753273#M2653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #646464; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 17.93px; font-style: normal; font-variant: normal; font-weight: 200; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;1642280511@qq.com&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;I am looking&amp;nbsp; for can-based bootloader,but I can not work it well still, Could you share&amp;nbsp; can-base bootloader code for me ?Thanks very much. My email is 78329668@qq.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2020 12:20:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/MPC5748G-Bootloader-Configuration-DEVKIT-MPC5748G/m-p/753273#M2653</guid>
      <dc:creator>huocan</dc:creator>
      <dc:date>2020-03-10T12:20:42Z</dc:date>
    </item>
  </channel>
</rss>

