<?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のトピックmpc5674f  branch to application from bootloader</title>
    <link>https://community.nxp.com/t5/MPC5xxx/mpc5674f-branch-to-application-from-bootloader/m-p/771204#M11087</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have a some Q which is about flash resident bootloader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i wrote jump function in bootloader project&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;======================================================&lt;/P&gt;&lt;P&gt;asm void SYS_Jump2App(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Load reset vector address */&lt;/P&gt;&lt;P&gt;&amp;nbsp; lis&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;r3,0x0010&lt;BR /&gt;&amp;nbsp; ori&amp;nbsp;&amp;nbsp; r3,r3,0x0004&lt;BR /&gt;&amp;nbsp; lwz&amp;nbsp;&amp;nbsp; r3,0(r3)&lt;BR /&gt;&amp;nbsp; /* move address to link register */&lt;BR /&gt;&amp;nbsp; mtlr&amp;nbsp; r3&lt;BR /&gt;&amp;nbsp; /* branch link register - start the user application */&lt;BR /&gt;&amp;nbsp; blrl&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;=======================================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i execute that SYS_Jump2App function after download Application via serial ,&amp;nbsp; it is not working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw PC value , it is 0010_01000 ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example used SIU register.. but i wanna try another way&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jun 2018 10:30:58 GMT</pubDate>
    <dc:creator>roganchoi</dc:creator>
    <dc:date>2018-06-12T10:30:58Z</dc:date>
    <item>
      <title>mpc5674f  branch to application from bootloader</title>
      <link>https://community.nxp.com/t5/MPC5xxx/mpc5674f-branch-to-application-from-bootloader/m-p/771204#M11087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have a some Q which is about flash resident bootloader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i wrote jump function in bootloader project&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;======================================================&lt;/P&gt;&lt;P&gt;asm void SYS_Jump2App(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Load reset vector address */&lt;/P&gt;&lt;P&gt;&amp;nbsp; lis&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;r3,0x0010&lt;BR /&gt;&amp;nbsp; ori&amp;nbsp;&amp;nbsp; r3,r3,0x0004&lt;BR /&gt;&amp;nbsp; lwz&amp;nbsp;&amp;nbsp; r3,0(r3)&lt;BR /&gt;&amp;nbsp; /* move address to link register */&lt;BR /&gt;&amp;nbsp; mtlr&amp;nbsp; r3&lt;BR /&gt;&amp;nbsp; /* branch link register - start the user application */&lt;BR /&gt;&amp;nbsp; blrl&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;=======================================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i execute that SYS_Jump2App function after download Application via serial ,&amp;nbsp; it is not working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw PC value , it is 0010_01000 ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example used SIU register.. but i wanna try another way&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 10:30:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/mpc5674f-branch-to-application-from-bootloader/m-p/771204#M11087</guid>
      <dc:creator>roganchoi</dc:creator>
      <dc:date>2018-06-12T10:30:58Z</dc:date>
    </item>
  </channel>
</rss>

