<?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 Re: Possible logic error in SCI bootloader template ? in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Possible-logic-error-in-SCI-bootloader-template/m-p/196627#M5151</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I don't know exactly the tool version used.&lt;/DIV&gt;&lt;DIV&gt;By default the bootloader will erase all the flash before to download the new application.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If you want to download several Srecord file we have a solution for that.&lt;/DIV&gt;&lt;DIV&gt;Please refer to the file attached.&lt;/DIV&gt;&lt;DIV&gt;Hope this will help you.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Pascal&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://www.freescale.com/files/community_files/CWDSPCOMM/864_Bootloader_DSC.zip" rel="nofollow" target="_self"&gt;Bootloader_DSC.zip&lt;/A&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by t.dowe on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-10-15&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;05:42 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Feb 2008 03:29:10 GMT</pubDate>
    <dc:creator>trytohelp</dc:creator>
    <dc:date>2008-02-27T03:29:10Z</dc:date>
    <item>
      <title>Possible logic error in SCI bootloader template ?</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Possible-logic-error-in-SCI-bootloader-template/m-p/196626#M5150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am building a custom bootloader using the example SCI bootloader application created by the processor expert/examples in CodeWarrior 5.6.1 for the MC56F8367 and MC56F8347 processors.&amp;nbsp; Examining the code, it appears that it waits for characters to arrive on the SCI interface, and reads in an S-Record with bootLoadSRecord().&amp;nbsp; It then&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;erases the flash and then enters a loop where it immediately reads in a second SRecord&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;with bootLoadSRecord() and writes that data to memory, but it has destroyed / lost whatever data was in the first S Record.&amp;nbsp; Depending on the format/type of the data in the first S-Record received, this could cause an error/problem, I think.&amp;nbsp; Has anyone encountered problems with this ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 01:34:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Possible-logic-error-in-SCI-bootloader-template/m-p/196626#M5150</guid>
      <dc:creator>FTSolutions</dc:creator>
      <dc:date>2008-02-27T01:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Possible logic error in SCI bootloader template ?</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Possible-logic-error-in-SCI-bootloader-template/m-p/196627#M5151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I don't know exactly the tool version used.&lt;/DIV&gt;&lt;DIV&gt;By default the bootloader will erase all the flash before to download the new application.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If you want to download several Srecord file we have a solution for that.&lt;/DIV&gt;&lt;DIV&gt;Please refer to the file attached.&lt;/DIV&gt;&lt;DIV&gt;Hope this will help you.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Pascal&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://www.freescale.com/files/community_files/CWDSPCOMM/864_Bootloader_DSC.zip" rel="nofollow" target="_self"&gt;Bootloader_DSC.zip&lt;/A&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by t.dowe on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-10-15&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;05:42 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 03:29:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Possible-logic-error-in-SCI-bootloader-template/m-p/196627#M5151</guid>
      <dc:creator>trytohelp</dc:creator>
      <dc:date>2008-02-27T03:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: Possible logic error in SCI bootloader template ?</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Possible-logic-error-in-SCI-bootloader-template/m-p/196628#M5152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I think that I have answered my own question - but this information may be of use to others so I mention it here..&lt;BR /&gt;&lt;BR /&gt;The example bootloader created by the processor examples template makes a big assumption that the FIRST S Record downloaded to it is the HEADER (type S0 record),&lt;BR /&gt;which does not have any information that is needed or used to program flash.&amp;nbsp; So, as&lt;BR /&gt;long as the this first record downloaded is always a header record and not a data record, it should be OK that the example bootloader code just throws it away.&amp;nbsp; The Metrowerks tools appear to always create a header record in the output file, but for those who may use other tools, or who may have tools which post-process the output of the Metrowerks compiler should be aware of this.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 07:02:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Possible-logic-error-in-SCI-bootloader-template/m-p/196628#M5152</guid>
      <dc:creator>FTSolutions</dc:creator>
      <dc:date>2008-02-27T07:02:59Z</dc:date>
    </item>
  </channel>
</rss>

