<?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>MPC5xxx中的主题 Re: bootloader jump to app issue</title>
    <link>https://community.nxp.com/t5/MPC5xxx/bootloader-jump-to-app-issue/m-p/1338838#M19136</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;SPAN&gt;Lukas&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I follow the steps as your link, but It only enter _start function in startup_MPC5748G.S. And click Resume, then it pause at my userapp main() function, not the bootloader.&lt;/P&gt;</description>
    <pubDate>Mon, 13 Sep 2021 05:57:34 GMT</pubDate>
    <dc:creator>thomasbao</dc:creator>
    <dc:date>2021-09-13T05:57:34Z</dc:date>
    <item>
      <title>bootloader jump to app issue</title>
      <link>https://community.nxp.com/t5/MPC5xxx/bootloader-jump-to-app-issue/m-p/1338648#M19132</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;I am developing CAN Bootloader for MPC57485G. There some issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;bootloader:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thomasbao_1-1631430593522.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/155786iF0824CF4A44F43C8/image-size/medium?v=v2&amp;amp;px=400" alt="thomasbao_1-1631430593522.png" title="thomasbao_1-1631430593522.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;app:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thomasbao_2-1631430643548.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/155787i3C8536AD109BCC01/image-size/medium?v=v2&amp;amp;px=400" alt="thomasbao_2-1631430643548.png" title="thomasbao_2-1631430643548.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;my jump code:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thomasbao_0-1631430716352.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/155788i713670A29D3A12EB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="thomasbao_0-1631430716352.png" alt="thomasbao_0-1631430716352.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;thomasbao_0-1631430716352.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, after __asm__("se_blrl"), the debug show as follow:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thomasbao_0-1631430551716.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/155785iC6514EC9DA0803C0/image-size/medium?v=v2&amp;amp;px=400" alt="thomasbao_0-1631430551716.png" title="thomasbao_0-1631430551716.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It shows "No source available for "0xfc0400" . Could anyone help me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And，I add clean RAM before jump, It will show as follow:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thomasbao_0-1631432028314.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/155789i075BC48CBE14FB1A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="thomasbao_0-1631432028314.png" alt="thomasbao_0-1631432028314.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;thomasbao_0-1631432028314.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is uSDH IRQ? But I have disable IRQGlobal, and I never use uSDH.&lt;/P&gt;</description>
      <pubDate>Sun, 12 Sep 2021 07:36:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/bootloader-jump-to-app-issue/m-p/1338648#M19132</guid>
      <dc:creator>thomasbao</dc:creator>
      <dc:date>2021-09-12T07:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: bootloader jump to app issue</title>
      <link>https://community.nxp.com/t5/MPC5xxx/bootloader-jump-to-app-issue/m-p/1338813#M19133</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;it makes sense that you can't see source code of the application because only elf file containing debugging information for bootloader is loaded. Please follow this HOW TO article:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-Debug-multiple-elf-files-in-S32-Design-Studio-with-GDB/ta-p/1121160" target="_blank"&gt;https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-Debug-multiple-elf-files-in-S32-Design-Studio-with-GDB/ta-p/1121160&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Also make sure that all interrupts are disabled before the jump (on all levels: MSR[EE], priority registers, local enable bits in peripherals) and it's also good practice to put everything back to default reset state. This can save a lot of headache.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 04:57:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/bootloader-jump-to-app-issue/m-p/1338813#M19133</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2021-09-13T04:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: bootloader jump to app issue</title>
      <link>https://community.nxp.com/t5/MPC5xxx/bootloader-jump-to-app-issue/m-p/1338838#M19136</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;SPAN&gt;Lukas&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I follow the steps as your link, but It only enter _start function in startup_MPC5748G.S. And click Resume, then it pause at my userapp main() function, not the bootloader.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 05:57:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/bootloader-jump-to-app-issue/m-p/1338838#M19136</guid>
      <dc:creator>thomasbao</dc:creator>
      <dc:date>2021-09-13T05:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: bootloader jump to app issue</title>
      <link>https://community.nxp.com/t5/MPC5xxx/bootloader-jump-to-app-issue/m-p/1339158#M19148</link>
      <description>&lt;P&gt;And, what the address of MSR? I could not find it in RM.&lt;BR /&gt;I use I2C in mybootloader, if I read some data by I2C, then jump to userapp failed, otherwise it will success. And before jump, I call the&amp;nbsp;I2C_MasterDeinit() and&amp;nbsp;INT_SYS_DisableIRQGlobal(), what other things I need todo?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 13:11:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/bootloader-jump-to-app-issue/m-p/1339158#M19148</guid>
      <dc:creator>thomasbao</dc:creator>
      <dc:date>2021-09-13T13:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: bootloader jump to app issue</title>
      <link>https://community.nxp.com/t5/MPC5xxx/bootloader-jump-to-app-issue/m-p/1339552#M19158</link>
      <description>&lt;P&gt;MSR is core register, it's not memory mapped. MSR register can be accessed using asm instructions mtmsr and mfmsr. For more details:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=E200Z4RM&amp;amp;location=null" target="_blank"&gt;https://www.nxp.com/webapp/Download?colCode=E200Z4RM&amp;amp;location=null&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=EREF_RM&amp;amp;location=null" target="_blank"&gt;https://www.nxp.com/webapp/Download?colCode=EREF_RM&amp;amp;location=null&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/reference-manual/VLEPEM.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/reference-manual/VLEPEM.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I2C driver uses OSIF, you can find it in referenced components. It looks like configured PIT channel is still working. I2C_MasterDeinit() does not disable selected timer and INT_SYS_DisableIRQGlobal() clears MSR[EE] bit only. So, please check the OSIF/PIT. I guess that this could be the reason.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 06:34:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/bootloader-jump-to-app-issue/m-p/1339552#M19158</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2021-09-14T06:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: bootloader jump to app issue</title>
      <link>https://community.nxp.com/t5/MPC5xxx/bootloader-jump-to-app-issue/m-p/1339784#M19169</link>
      <description>&lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 12:17:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/bootloader-jump-to-app-issue/m-p/1339784#M19169</guid>
      <dc:creator>thomasbao</dc:creator>
      <dc:date>2021-09-14T12:17:33Z</dc:date>
    </item>
  </channel>
</rss>

