<?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>LPC MicrocontrollersのトピックRe: checksum in code for CORTEX-M3</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/checksum-in-code-for-CORTEX-M3/m-p/1096835#M42029</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,Avinsh,&lt;/P&gt;&lt;P&gt;After the chip enters ISP mode, it will check the checksum in the image. But based on image protocol, the checksum value is computed&amp;nbsp; with only first seven 32 bits words rather than all the data in binary file. So MCUXpresso tools computes it in the *.ld file automatically and insert the checksum in vector table.&lt;/P&gt;&lt;P&gt;If you want to compute the checksum of all data in a binary file, pls refer to the link as Mr Con Verse points out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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/107500i0331C22BB51AB8AA/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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 May 2020 08:39:42 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2020-05-19T08:39:42Z</dc:date>
    <item>
      <title>checksum in code for CORTEX-M3</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/checksum-in-code-for-CORTEX-M3/m-p/1096833#M42027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does the user&amp;nbsp;code contains checksum in internal flash without intervention of user?&lt;/P&gt;&lt;P&gt;I read the below statement in LPC-1769 user manual:&lt;/P&gt;&lt;P&gt;When there is no valid user code (determined by the checksum word) in the user flash or&lt;BR /&gt;the ISP enable pin (P2.10) is pulled low on startup, the ISP mode will be entered and the&lt;BR /&gt;boot code will setup the PLL with the IRC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Avinash.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2020 05:26:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/checksum-in-code-for-CORTEX-M3/m-p/1096833#M42027</guid>
      <dc:creator>TEMCEFF</dc:creator>
      <dc:date>2020-05-19T05:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: checksum in code for CORTEX-M3</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/checksum-in-code-for-CORTEX-M3/m-p/1096834#M42028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See this&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/389046"&gt;https://community.nxp.com/thread/389046&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2020 06:59:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/checksum-in-code-for-CORTEX-M3/m-p/1096834#M42028</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2020-05-19T06:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: checksum in code for CORTEX-M3</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/checksum-in-code-for-CORTEX-M3/m-p/1096835#M42029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,Avinsh,&lt;/P&gt;&lt;P&gt;After the chip enters ISP mode, it will check the checksum in the image. But based on image protocol, the checksum value is computed&amp;nbsp; with only first seven 32 bits words rather than all the data in binary file. So MCUXpresso tools computes it in the *.ld file automatically and insert the checksum in vector table.&lt;/P&gt;&lt;P&gt;If you want to compute the checksum of all data in a binary file, pls refer to the link as Mr Con Verse points out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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/107500i0331C22BB51AB8AA/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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2020 08:39:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/checksum-in-code-for-CORTEX-M3/m-p/1096835#M42029</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2020-05-19T08:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: checksum in code for CORTEX-M3</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/checksum-in-code-for-CORTEX-M3/m-p/1096836#M42030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for your reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2020 06:53:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/checksum-in-code-for-CORTEX-M3/m-p/1096836#M42030</guid>
      <dc:creator>TEMCEFF</dc:creator>
      <dc:date>2020-05-20T06:53:29Z</dc:date>
    </item>
  </channel>
</rss>

