<?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 MCF51AG128 reprogramming via SPI in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF51AG128-reprogramming-via-SPI/m-p/961605#M13838</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to reprogramming the MCU MCF51AG128 via SPI. Actually i use the BDM Port but in my application the SPI bus is only available for reprogramming the MCU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a sofware for programming via serial port SPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i need to make a software, do you known the sequence for programming via SPI?&lt;/P&gt;&lt;P&gt;For exemple :&lt;/P&gt;&lt;P&gt;- Enable/configure SPI port in the first programme via BDM port then you can communicate via SPI&lt;/P&gt;&lt;P&gt;- Reset MCU (through software or hardware ?)&lt;/P&gt;&lt;P&gt;- Change some registers in Flash memory&amp;nbsp; (clock between 150 kHz and 200kHz, protection...)&lt;/P&gt;&lt;P&gt;- erase Memory&lt;/P&gt;&lt;P&gt;- Program ( transfert .elf file...)&lt;/P&gt;&lt;P&gt;- another reset ?&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jul 2019 14:30:55 GMT</pubDate>
    <dc:creator>christian_jarno</dc:creator>
    <dc:date>2019-07-09T14:30:55Z</dc:date>
    <item>
      <title>MCF51AG128 reprogramming via SPI</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF51AG128-reprogramming-via-SPI/m-p/961605#M13838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to reprogramming the MCU MCF51AG128 via SPI. Actually i use the BDM Port but in my application the SPI bus is only available for reprogramming the MCU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a sofware for programming via serial port SPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i need to make a software, do you known the sequence for programming via SPI?&lt;/P&gt;&lt;P&gt;For exemple :&lt;/P&gt;&lt;P&gt;- Enable/configure SPI port in the first programme via BDM port then you can communicate via SPI&lt;/P&gt;&lt;P&gt;- Reset MCU (through software or hardware ?)&lt;/P&gt;&lt;P&gt;- Change some registers in Flash memory&amp;nbsp; (clock between 150 kHz and 200kHz, protection...)&lt;/P&gt;&lt;P&gt;- erase Memory&lt;/P&gt;&lt;P&gt;- Program ( transfert .elf file...)&lt;/P&gt;&lt;P&gt;- another reset ?&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2019 14:30:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF51AG128-reprogramming-via-SPI/m-p/961605#M13838</guid>
      <dc:creator>christian_jarno</dc:creator>
      <dc:date>2019-07-09T14:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: MCF51AG128 reprogramming via SPI</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF51AG128-reprogramming-via-SPI/m-p/961606#M13839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, there is not a sample code for a bootloader using the SPI port, but you can use the same concept of a bootloader described on the application note &lt;A href="https://www.nxp.com/docs/en/application-note/AN2295.pdf"&gt;AN2295&amp;nbsp;&lt;/A&gt;&amp;nbsp;Serial bootloader, also please check the &lt;A href="https://www.nxp.com/docs/en/application-note/AN3748.pdf"&gt;AN3748 &lt;/A&gt;and &lt;A href="https://www.nxp.com/docs/en/application-note/AN4379.pdf"&gt;AN4379&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2019 22:00:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF51AG128-reprogramming-via-SPI/m-p/961606#M13839</guid>
      <dc:creator>vicentegomez</dc:creator>
      <dc:date>2019-07-09T22:00:45Z</dc:date>
    </item>
  </channel>
</rss>

