<?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 MPC5748G question about boot vector in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-question-about-boot-vector/m-p/1211547#M17080</link>
    <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I need to know the meaning of Boot vector, BAF code entry/exit point.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kmh48301_1-1610605875903.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/134740i35B2E9D10A3EEDD2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kmh48301_1-1610605875903.png" alt="kmh48301_1-1610605875903.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I Dumped the memory of that address&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kmh48301_2-1610606470058.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/134742iAC76C2D0CFCC1477/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kmh48301_2-1610606470058.png" alt="kmh48301_2-1610606470058.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kmh48301_5-1610606740282.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/134746i4451EE0B57142E91/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kmh48301_5-1610606740282.png" alt="kmh48301_5-1610606740282.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;0040_4100 ~ 0040_57D0 is reserved space in memory map.&lt;/P&gt;&lt;P&gt;So I guess this dumped contents is generated by internally&lt;/P&gt;&lt;P&gt;for boot process. Is my thought correct?&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;But 400b_fd80 is SRAM region.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kmh48301_4-1610606559139.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/134745i8D4314078D68F9B5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kmh48301_4-1610606559139.png" alt="kmh48301_4-1610606559139.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have no idea for this..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;==========================================&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kmh48301_0-1610605793467.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/134739i6C8867B3C77B6522/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kmh48301_0-1610605793467.png" alt="kmh48301_0-1610605793467.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And when "Exit from STANDBY/LPU_STANDBY to DRUN" ,&lt;/P&gt;&lt;P&gt;Does this mean that i can execute my own boot code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;phillip&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jan 2021 06:54:41 GMT</pubDate>
    <dc:creator>kmh48301</dc:creator>
    <dc:date>2021-01-14T06:54:41Z</dc:date>
    <item>
      <title>MPC5748G question about boot vector</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-question-about-boot-vector/m-p/1211547#M17080</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I need to know the meaning of Boot vector, BAF code entry/exit point.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kmh48301_1-1610605875903.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/134740i35B2E9D10A3EEDD2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kmh48301_1-1610605875903.png" alt="kmh48301_1-1610605875903.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I Dumped the memory of that address&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kmh48301_2-1610606470058.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/134742iAC76C2D0CFCC1477/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kmh48301_2-1610606470058.png" alt="kmh48301_2-1610606470058.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kmh48301_5-1610606740282.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/134746i4451EE0B57142E91/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kmh48301_5-1610606740282.png" alt="kmh48301_5-1610606740282.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;0040_4100 ~ 0040_57D0 is reserved space in memory map.&lt;/P&gt;&lt;P&gt;So I guess this dumped contents is generated by internally&lt;/P&gt;&lt;P&gt;for boot process. Is my thought correct?&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;But 400b_fd80 is SRAM region.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kmh48301_4-1610606559139.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/134745i8D4314078D68F9B5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kmh48301_4-1610606559139.png" alt="kmh48301_4-1610606559139.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have no idea for this..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;==========================================&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kmh48301_0-1610605793467.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/134739i6C8867B3C77B6522/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kmh48301_0-1610605793467.png" alt="kmh48301_0-1610605793467.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And when "Exit from STANDBY/LPU_STANDBY to DRUN" ,&lt;/P&gt;&lt;P&gt;Does this mean that i can execute my own boot code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;phillip&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 06:54:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-question-about-boot-vector/m-p/1211547#M17080</guid>
      <dc:creator>kmh48301</dc:creator>
      <dc:date>2021-01-14T06:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G question about boot vector</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-question-about-boot-vector/m-p/1212353#M17091</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;0040_4100 ~ 0040_57D0 is reserved space in memory map.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;So I guess this dumped contents is generated by internally &lt;/EM&gt;&lt;/FONT&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;for boot process. Is my thought correct?&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;The BAF is programmed in NXP factory, and as I know for this device is OTP in latest cut.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="petervlna_0-1610708398067.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/134874iCC8E2E8461C687ED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="petervlna_0-1610708398067.png" alt="petervlna_0-1610708398067.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I do not understand your question. Could you be more specific?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT color="#339966"&gt;And when "Exit from STANDBY/LPU_STANDBY to DRUN" ,&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT color="#339966"&gt;Does this mean that i can execute my own boot code?&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;are you referring to SRAM boot after standby exit? Or the flash boot?&lt;/P&gt;
&lt;P&gt;In these cases the BAF is not executed as it was already executed after power on reset and the device is configured. After wake up it will start from boot vector in flash or SRAM.&lt;/P&gt;
&lt;P&gt;best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 11:02:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-question-about-boot-vector/m-p/1212353#M17091</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2021-01-15T11:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G question about boot vector</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-question-about-boot-vector/m-p/1212829#M17102</link>
      <description>&lt;P&gt;Hello. Thank you for explanation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for my lack of good English.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"The BAF is programmed in NXP factory, and as I know for this device is OTP in latest cut."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The Dump memory : 0x0040_4100 ~ 0x0040_57D0 =&amp;gt; This contents are Programmed in NXP factory.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=&amp;gt; this contents are maybe boot code or something for boot.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So In RM(page 2839), it says 0040_4100 is BAF code entry point.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, what is code exit point in it..?&lt;/P&gt;&lt;P&gt;it says code exit point is 400B_FD80.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But as you can see in my dump, the last point of BAF code is 0x0040_57D0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And&amp;nbsp;400B_FD80 is SRAM region.&lt;/P&gt;&lt;P&gt;It means if NXP programmed something in here, It can't be reserved (SRAM is volatile).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Is my understanding about 'BAF code entry point' is correct?&lt;/P&gt;&lt;P&gt;2. Please explain more about 'BAF code exit point'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Phillip&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 01:04:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-question-about-boot-vector/m-p/1212829#M17102</guid>
      <dc:creator>kmh48301</dc:creator>
      <dc:date>2021-01-18T01:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G question about boot vector</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-question-about-boot-vector/m-p/1213196#M17114</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;But, what is code exit point in it..?&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;it says code exit point is 400B_FD80.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;But as you can see in my dump, the last point of BAF code is 0x0040_57D0.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;And 400B_FD80 is SRAM region.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;It means if NXP programmed something in here, It can't be reserved (SRAM is volatile).&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;1. Is my understanding about 'BAF code entry point' is correct?&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;BAF entry point is 0040_4100 as you can see after destructive reset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;EM&gt;2. Please explain more about 'BAF code exit point'&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;once BAF finish execution the device will boot at the address specified by user in boot header.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="petervlna_0-1610961139461.png" style="width: 684px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/135032i2D5324B7D2388BDC/image-dimensions/684x248?v=v2" width="684" height="248" role="button" title="petervlna_0-1610961139461.png" alt="petervlna_0-1610961139461.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="petervlna_1-1610961182187.png" style="width: 690px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/135033iC128CE91DD1645C5/image-dimensions/690x307?v=v2" width="690" height="307" role="button" title="petervlna_1-1610961182187.png" alt="petervlna_1-1610961182187.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;please refer to the reference manual :&lt;/P&gt;
&lt;P&gt;57.1.3 Search boot header and boot options&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 09:14:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-question-about-boot-vector/m-p/1213196#M17114</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2021-01-18T09:14:11Z</dc:date>
    </item>
  </channel>
</rss>

