<?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>CodeWarrior Development Tools中的主题 Re: Codewarrior Target Tasks Checksum question</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-Target-Tasks-Checksum-question/m-p/439348#M3144</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Carlos &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I use the Kinetis Example Projects GPIO for KL25 to try checksum again.&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="003.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/57426i73944645928E6011/image-size/large?v=v2&amp;amp;px=999" role="button" title="003.png" alt="003.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;File on Target, &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;File on Host, &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;memory range and the entire flash memory function get information.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I see the File on Target and File on Host result is difference with &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;memory range and the entire flash, Is it right?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Could you help to explain why it have different checksum result?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="001.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/57499iE974CDAD8469017B/image-size/large?v=v2&amp;amp;px=999" role="button" title="001.png" alt="001.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="002.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/57462iFC29DE6BCBB6AEC6/image-size/large?v=v2&amp;amp;px=999" role="button" title="002.png" alt="002.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Sep 2015 02:50:37 GMT</pubDate>
    <dc:creator>kriske</dc:creator>
    <dc:date>2015-09-16T02:50:37Z</dc:date>
    <item>
      <title>Codewarrior Target Tasks Checksum question</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-Target-Tasks-Checksum-question/m-p/439344#M3140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want use Codewarrior Target Tasks Checksum function, but I have some question.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have read CWCFUG file 3.11.2.3.3 Checksum actions and did the same. but it's show some issue.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does have any document more details about the checksum function what are the difference between the file on Target and file on host?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I use the checksum with Memory Range function, but it's show below issue.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;fl::target -lc "MKL25_pwm_FLASH_OpenSDA"&lt;/P&gt;&lt;P&gt;fl::target -b 0x0 0xffffffff&lt;/P&gt;&lt;P&gt;fl::target -v off -l off&lt;/P&gt;&lt;P&gt;cmdwin::fl::device -d "FTFA_PFlash128S1RAM16" -o "32Kx32x1" -a 0x0 0x1ffff&lt;/P&gt;&lt;P&gt;cmdwin::fl::image -f "C:\\Users\\Kriske\\workspace\\MKL25_pwm\\FLASH\\MKL25_pwm.hex" -t "Auto Detect" -re off -oe on -o 0xffffffff&lt;/P&gt;&lt;P&gt;cmdwin::fl::checksum -dev&lt;/P&gt;&lt;P&gt;------------------------- &lt;/P&gt;&lt;P&gt;Error:&amp;nbsp; Couldn't write flash driver to target.&amp;nbsp; Flash Utility is Not Linked To Zero. Target Memeory Buffer Address0x00000000 Should Match First Address ( 0x1ffff000 of the Flash Utility Driver.&lt;/P&gt;&lt;P&gt;Error: Couldn't write flash driver to target.Flash Utility is Not Linked To Zero. Target Memeory Buffer Address0x00000000 Should M&lt;/P&gt;&lt;P&gt;atch First Address ( 0x1ffff000 of the Flash Utility Driver.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="73679_73679.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120617i0323E6A3B7AA1915/image-size/large?v=v2&amp;amp;px=999" role="button" title="73679_73679.png" alt="73679_73679.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0002.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/55748i3DC7586B51F72152/image-size/large?v=v2&amp;amp;px=999" role="button" title="0002.png" alt="0002.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 08:00:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-Target-Tasks-Checksum-question/m-p/439344#M3140</guid>
      <dc:creator>kriske</dc:creator>
      <dc:date>2015-09-10T08:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior Target Tasks Checksum question</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-Target-Tasks-Checksum-question/m-p/439345#M3141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error you get happens because of the Target RAM address and size set in the Target Task, I see you set the address to 0x0 and a size of 0xffffffff, please update the address to 0x1ffff000 and the size to 0x4000, after this change you should not get any error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/55778i46BDF71EA3AC5056/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regarding the "Compute Checksum Over" options, these options indicate over which file the checksum will be computed, the host file, the target file, the specified memory range or the entire flash memory. You can find more detailed information on the chapter 4.5.18 fl::checksum of the "CodeWarrior Development Studio Common Features Guide" document (C:\Freescale\CW MCU v10.6\MCU\Help\PDF\CodeWarrior Common Features Guide.pdf).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Carlos Mendoza&lt;/P&gt;&lt;P&gt;Technical Support Engineer&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 22:30:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-Target-Tasks-Checksum-question/m-p/439345#M3141</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2015-09-11T22:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior Target Tasks Checksum question</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-Target-Tasks-Checksum-question/m-p/439346#M3142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; color: #1f497d;"&gt;Where is the explanation for “target on host”, “target on file” in this file? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; color: #1f497d;"&gt;The &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;chapter 4.5.18 fl::checksum&lt;/SPAN&gt; is a general info that is not for “checksum mechanism”.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; color: #1f497d;"&gt;BTW, the 3.11.2.3.3 Checksum actions just simple explanation the Checksum actions not more detail information about the &lt;SPAN style="color: #1f497d; font-size: 14.6667px;"&gt;“target on host”, “target on file”&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; color: #1f497d;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; color: #1f497d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I try the function, I see the Checksum have some difference, why it have the difference?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="未命名.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/55846i51F3A3F8830EC455/image-size/large?v=v2&amp;amp;px=999" role="button" title="未命名.png" alt="未命名.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; color: #1f497d;"&gt;Kris&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 05:36:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-Target-Tasks-Checksum-question/m-p/439346#M3142</guid>
      <dc:creator>kriske</dc:creator>
      <dc:date>2015-09-14T05:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior Target Tasks Checksum question</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-Target-Tasks-Checksum-question/m-p/439347#M3143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The difference between the two options is the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;File on Target: This option will calculate the checksum based on the MCU memory contents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;File on Host: This option will compute the checksum based on the corresponding binary file contents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both of the checksums should be the same, what I can think of is that the file that you are using as base to compute the checksum is not the same file that was programmed to the MCU and that is why you get a different checksum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a test I did, first I program the MCU, then I perform the file on target checksum and finally the file on host checksum:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/57256iCBEB70EE234C5AAE/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you send me the MKL25_pwm.hex file so I can test it on my side?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Carlos Mendoza&lt;/P&gt;&lt;P&gt;Technical Support Engineer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2015 00:35:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-Target-Tasks-Checksum-question/m-p/439347#M3143</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2015-09-16T00:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior Target Tasks Checksum question</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-Target-Tasks-Checksum-question/m-p/439348#M3144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Carlos &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I use the Kinetis Example Projects GPIO for KL25 to try checksum again.&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="003.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/57426i73944645928E6011/image-size/large?v=v2&amp;amp;px=999" role="button" title="003.png" alt="003.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;File on Target, &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;File on Host, &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;memory range and the entire flash memory function get information.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I see the File on Target and File on Host result is difference with &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;memory range and the entire flash, Is it right?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Could you help to explain why it have different checksum result?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="001.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/57499iE974CDAD8469017B/image-size/large?v=v2&amp;amp;px=999" role="button" title="001.png" alt="001.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="002.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/57462iFC29DE6BCBB6AEC6/image-size/large?v=v2&amp;amp;px=999" role="button" title="002.png" alt="002.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2015 02:50:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-Target-Tasks-Checksum-question/m-p/439348#M3144</guid>
      <dc:creator>kriske</dc:creator>
      <dc:date>2015-09-16T02:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior Target Tasks Checksum question</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-Target-Tasks-Checksum-question/m-p/439349#M3145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason there is a difference between these options is because the File on Host and File on Target options compute the checksum over the flash section where the application was written and the Memory Range and Entire Flash options are computing the checksum over the entire flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Carlos Mendoza&lt;/P&gt;&lt;P&gt;Technical Support Engineer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2015 16:13:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-Target-Tasks-Checksum-question/m-p/439349#M3145</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2015-09-17T16:13:09Z</dc:date>
    </item>
  </channel>
</rss>

