<?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: MPC5746C Boot Assist Flash (BAF)</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5746C-Boot-Assist-Flash-BAF/m-p/798626#M11682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;are you sure you have 80MHz XTAL?&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/65219i140F65C77D7531B1/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;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jul 2018 05:12:09 GMT</pubDate>
    <dc:creator>petervlna</dc:creator>
    <dc:date>2018-07-11T05:12:09Z</dc:date>
    <item>
      <title>MPC5746C Boot Assist Flash (BAF)</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746C-Boot-Assist-Flash-BAF/m-p/798625#M11681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, I am starting my foray into figuring out how to get the Boot Assist Flash to work.&lt;/P&gt;&lt;P&gt;Well, from what I understand, if the Boot Header is not found, the BAF will perform a Serial boot.&lt;/P&gt;&lt;P&gt;The Serial boot requires a BAF formatted file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;figured out how to get the flash driver to work, which&amp;nbsp;allowed me to erase the&amp;nbsp;Boot header.&lt;/P&gt;&lt;P&gt;So, hopefully I am now in Serial boot mode. (Maybe S32 has some way to just erase the flash w/o programming?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I figured out how to get an srec formatted file out of S32 Design Studio.&lt;/P&gt;&lt;P&gt;I noticed that addresses were not contiguous, so I checked a couple of ticks in S32 Design studio&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/65201i1A753128E99BB233/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That seemed to make the addresses contiguous.&lt;/P&gt;&lt;P&gt;Next,&amp;nbsp;I chopped it up the .SREC file to leave just the code bytes.&lt;/P&gt;&lt;P&gt;I then added the Password, Load address, VLE bit and program byte length&amp;nbsp;&lt;/P&gt;&lt;P&gt;as shown below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/////////&amp;nbsp; Original SREC&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Formatted File /////////////&lt;/P&gt;&lt;P&gt;S014000050524A5F4D504335373436422E73726563CD&lt;BR /&gt;S31501002C007068E00070E8E0001C6302841CE702843F&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;S70501000000F9&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;///////// BAF Formatted File /////////////&lt;/P&gt;&lt;P&gt;FEEDFACECAFEBEEF&lt;BR /&gt;01000000&lt;BR /&gt;8001D3D5&lt;BR /&gt;7068E00070E8E0001C6302841CE70284&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;0102431C01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the EVB board, so the external xtal is 80 Mhz, which means I would need 96,000 baud.&lt;/P&gt;&lt;P&gt;I was able to just type in the baud rate on Tera Term VT so hopefully that works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/65202iDFFA4C166FB93556/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried sending a file or just sending the password and hope for some echo, but I don't see anything and I am wondering what, if anything, I am doing wrong.&lt;/P&gt;&lt;P&gt;I don't know if anybody else has tried this? I don't see any examples.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's not too much discussion of BAF.&lt;/P&gt;&lt;P&gt;Hopefully I am headed in the right direction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 19:35:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746C-Boot-Assist-Flash-BAF/m-p/798625#M11681</guid>
      <dc:creator>cholland</dc:creator>
      <dc:date>2018-07-10T19:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746C Boot Assist Flash (BAF)</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746C-Boot-Assist-Flash-BAF/m-p/798626#M11682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;are you sure you have 80MHz XTAL?&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/65219i140F65C77D7531B1/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;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2018 05:12:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746C-Boot-Assist-Flash-BAF/m-p/798626#M11682</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2018-07-11T05:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5746C Boot Assist Flash (BAF)</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5746C-Boot-Assist-Flash-BAF/m-p/798627#M11683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are correct. I am mistaken. It is indeed 40 MHz.&lt;/P&gt;&lt;P&gt;Other than the xtal, does it look like I am on the right track?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2018 11:38:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5746C-Boot-Assist-Flash-BAF/m-p/798627#M11683</guid>
      <dc:creator>cholland</dc:creator>
      <dc:date>2018-07-11T11:38:40Z</dc:date>
    </item>
  </channel>
</rss>

