<?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 Help with bootloaer ideas in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Help-with-bootloaer-ideas/m-p/149308#M3729</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 4; font-family: ''times new roman', times';"&gt;Hi, I need somebody help me with some ideas to do something similar to a bootloader. In my system I have got a FPGA and a MCF5213. In FLASH memory of MCF5213 I have the FPGA configuration and the rest of the program. Well, it is working as I want.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 4; font-family: ''times new roman', times';"&gt;Now I'm thinking in future software upgrades but I don't have any idea how I can do this. The FPGA handles a fiber optic interface, it is the only way that the MCF5213 have to interact with "the external world" so it'll be the way that I send the new s19 file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 4; font-family: ''times new roman', times';"&gt;My questions are: &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 4; font-family: ''times new roman', times';"&gt;1. Once that I saved the new s19 into FLASH mem, how can I go to the new begin program? and when the power disappears Where does the MCF5213 start?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 4; font-family: ''times new roman', times';"&gt;2. How do I select each program storaged in FLASH?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 4; font-family: ''times new roman', times';"&gt;I hope this little system discribes what I'm trying to do... If not, I'll try to explain more that I want to do.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 4; font-family: ''times new roman', times';"&gt;Thanks, best regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 4; font-family: ''times new roman', times';"&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by M@ttferrari on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-10-26&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;05:40 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by M@ttferrari on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-10-26&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;05:40 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Oct 2009 00:11:17 GMT</pubDate>
    <dc:creator>M_ttferrari</dc:creator>
    <dc:date>2009-10-27T00:11:17Z</dc:date>
    <item>
      <title>Help with bootloaer ideas</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Help-with-bootloaer-ideas/m-p/149308#M3729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 4; font-family: ''times new roman', times';"&gt;Hi, I need somebody help me with some ideas to do something similar to a bootloader. In my system I have got a FPGA and a MCF5213. In FLASH memory of MCF5213 I have the FPGA configuration and the rest of the program. Well, it is working as I want.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 4; font-family: ''times new roman', times';"&gt;Now I'm thinking in future software upgrades but I don't have any idea how I can do this. The FPGA handles a fiber optic interface, it is the only way that the MCF5213 have to interact with "the external world" so it'll be the way that I send the new s19 file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 4; font-family: ''times new roman', times';"&gt;My questions are: &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 4; font-family: ''times new roman', times';"&gt;1. Once that I saved the new s19 into FLASH mem, how can I go to the new begin program? and when the power disappears Where does the MCF5213 start?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 4; font-family: ''times new roman', times';"&gt;2. How do I select each program storaged in FLASH?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 4; font-family: ''times new roman', times';"&gt;I hope this little system discribes what I'm trying to do... If not, I'll try to explain more that I want to do.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 4; font-family: ''times new roman', times';"&gt;Thanks, best regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 4; font-family: ''times new roman', times';"&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by M@ttferrari on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-10-26&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;05:40 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by M@ttferrari on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-10-26&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;05:40 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2009 00:11:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Help-with-bootloaer-ideas/m-p/149308#M3729</guid>
      <dc:creator>M_ttferrari</dc:creator>
      <dc:date>2009-10-27T00:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help with bootloaer ideas</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Help-with-bootloaer-ideas/m-p/149309#M3730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;If you want your system to survive power cuts during update process, you must have enough memory to hold two firmware images: the old one and the new one. You could partition your flash memory into 3 regions: a small boot program, the main firmware and the new uploaded image. The uploaded image should have a checksum. At startup, the boot program would check if there is a new uploaded image with correct checksum available. If so, it would copy it to main firmware area and invalidate the checksum. Otherwise, it would just start the main firmware.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2009 02:14:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Help-with-bootloaer-ideas/m-p/149309#M3730</guid>
      <dc:creator>scifi</dc:creator>
      <dc:date>2009-10-27T02:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help with bootloaer ideas</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Help-with-bootloaer-ideas/m-p/149310#M3731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are 2 boot loader types described in the following 2 documents:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.utasker.com/docs/uTasker/uTaskerSerialLoader.PDF" rel="nofollow" target="_self"&gt;http://www.utasker.com/docs/uTasker/uTaskerSerialLoader.PDF&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.utasker.com/docs/uTasker/uTaskerBoot_003.PDF" rel="nofollow" target="_self"&gt;http://www.utasker.com/docs/uTasker/uTaskerBoot_003.PDF&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One uploads a new code to spare memory and swaps on reset; the other directly loads new code (after clearing space). Both have their advantages and disadvantages(SREC loaded requires 10k space on M5213 - swap loader 2k, but also space for new program in parallel in internal or external SPI FLASH).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.uTasker.com" rel="nofollow" target="_self"&gt;www.uTasker.com&lt;/A&gt;&lt;BR /&gt;- OS, TCP/IP stack, USB, device drivers and simulator for M521X, M521XX, M5221X, M5222X, M5223X, M5225X. One package does them all - "&lt;EM&gt;Embedding it better...&lt;/EM&gt;"&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by mjbcswitzerland on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-10-31&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;11:26 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Nov 2009 05:24:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Help-with-bootloaer-ideas/m-p/149310#M3731</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2009-11-01T05:24:30Z</dc:date>
    </item>
  </channel>
</rss>

