<?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 Bootloader jump</title>
    <link>https://community.nxp.com/t5/MPC5xxx/mpc5674F-Bootloader-jump/m-p/1668215#M23804</link>
    <description>&lt;P&gt;I am currently using the mpc5674F chip. I saw that the bootloader project was saved in RAM (0x00), and I confirmed that the application project was saved in Flash (0x010000). It seems that this method is currently not working, and if it is not that method&lt;BR /&gt;Is there any way to save both codes (Bootloader and application) in Flash and move them to the desired address (0x1000) and execute them?&lt;/P&gt;&lt;P&gt;organize&lt;BR /&gt;- Please review the currently uploaded code to find out what the problem is.&lt;BR /&gt;- Is there a way to save the two codes to the desired Flash address and jump to the desired address? Even if the stability is poor, that method is necessary.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/MPC5xxx/MPC5674F-Bootload/m-p/1637095#M23401" target="_blank"&gt;https://community.nxp.com/t5/MPC5xxx/MPC5674F-Bootload/m-p/1637095#M23401&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jun 2023 08:59:01 GMT</pubDate>
    <dc:creator>pyi285</dc:creator>
    <dc:date>2023-06-13T08:59:01Z</dc:date>
    <item>
      <title>mpc5674F Bootloader jump</title>
      <link>https://community.nxp.com/t5/MPC5xxx/mpc5674F-Bootloader-jump/m-p/1668215#M23804</link>
      <description>&lt;P&gt;I am currently using the mpc5674F chip. I saw that the bootloader project was saved in RAM (0x00), and I confirmed that the application project was saved in Flash (0x010000). It seems that this method is currently not working, and if it is not that method&lt;BR /&gt;Is there any way to save both codes (Bootloader and application) in Flash and move them to the desired address (0x1000) and execute them?&lt;/P&gt;&lt;P&gt;organize&lt;BR /&gt;- Please review the currently uploaded code to find out what the problem is.&lt;BR /&gt;- Is there a way to save the two codes to the desired Flash address and jump to the desired address? Even if the stability is poor, that method is necessary.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/MPC5xxx/MPC5674F-Bootload/m-p/1637095#M23401" target="_blank"&gt;https://community.nxp.com/t5/MPC5xxx/MPC5674F-Bootload/m-p/1637095#M23401&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2023 08:59:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/mpc5674F-Bootloader-jump/m-p/1668215#M23804</guid>
      <dc:creator>pyi285</dc:creator>
      <dc:date>2023-06-13T08:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: mpc5674F Bootloader jump</title>
      <link>https://community.nxp.com/t5/MPC5xxx/mpc5674F-Bootloader-jump/m-p/1669098#M23814</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/213994"&gt;@pyi285&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;take a look at the original sample projects of bootloader+application. The linker files show what the layout is.&lt;/P&gt;
&lt;P&gt;In case of MPC5674F, I would consider layout like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1686731266527.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/227629i221B2501A96214F3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1686731266527.png" alt="lukaszadrapa_0-1686731266527.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Of course, it depends on your needs. If you do not need Emulated EEPROM or data storage in those 16KB blocks, you can move the bootloader directly to the beginning of the flash.&lt;/P&gt;
&lt;P&gt;Important point is that the bootloader/application should be always aligned to partition to avoid read-while-write issues during programming. In suggested layout above the bootloader occupies whole partition 3. Another option is to use only four 16KB blocks for data, so the bootloader can be forced either to partition 1 or 2.&lt;/P&gt;
&lt;P&gt;So, layout planning based on your needs should be the first step here.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 08:34:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/mpc5674F-Bootloader-jump/m-p/1669098#M23814</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2023-06-14T08:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: mpc5674F Bootloader jump</title>
      <link>https://community.nxp.com/t5/MPC5xxx/mpc5674F-Bootloader-jump/m-p/1669108#M23815</link>
      <description>&lt;P&gt;I understood what you mean, but what I want is, is there a code to save and jump to the desired address in the application?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 08:44:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/mpc5674F-Bootloader-jump/m-p/1669108#M23815</guid>
      <dc:creator>pyi285</dc:creator>
      <dc:date>2023-06-14T08:44:50Z</dc:date>
    </item>
  </channel>
</rss>

