<?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: Bootloader CRC (via BCA) in MCU Bootloader</title>
    <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-CRC-via-BCA/m-p/996747#M1107</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This might be helpful too:&lt;/P&gt;&lt;P&gt;I'm using srec_cat to calculate the CRC, see &lt;A class="link-titled" href="https://mcuoneclipse.com/2018/03/05/tutorial-crc32-checksum-with-the-kboot-bootloader/" title="https://mcuoneclipse.com/2018/03/05/tutorial-crc32-checksum-with-the-kboot-bootloader/"&gt;Tutorial: CRC32 Checksum with the KBOOT Bootloader | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jan 2020 04:42:02 GMT</pubDate>
    <dc:creator>ErichStyger</dc:creator>
    <dc:date>2020-01-15T04:42:02Z</dc:date>
    <item>
      <title>Bootloader CRC (via BCA)</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-CRC-via-BCA/m-p/996738#M1098</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;We're working witch a Kinetis MKE18F with BootRom and want to check if the image was loaded correctly using the BCAs CRC.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We tried to upload image via CANbus with our own application but we don't have any response about CRC status. After sending the valid or invalid (CRC corrupted) image, the bootloader only sends the&amp;nbsp;GenericResponse with status code kStatus_Success from the WriteMemory command.&lt;/P&gt;&lt;P&gt;These are the CANbus frames received of this response:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6;" width="100%"&gt;&lt;THEAD&gt;&lt;TR style="background-color: #efefef; height: 25px;"&gt;&lt;TH style="height: 25px; text-align: center; width: 20.1104%;"&gt;Time&lt;/TH&gt;&lt;TH style="height: 25px; text-align: center; width: 15.8896%;"&gt;CAN ID&lt;/TH&gt;&lt;TH style="height: 25px; text-align: center; width: 14%;"&gt;Length&lt;/TH&gt;&lt;TH style="height: 25px; text-align: center; width: 42%;"&gt;Data&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="height: 25px; text-align: center; width: 20.1104%;"&gt;&lt;SPAN&gt;0026833197us&amp;nbsp;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="height: 25px; text-align: center; width: 15.8896%;"&gt;&lt;SPAN&gt;0x123&amp;nbsp;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="height: 25px; text-align: center; width: 14%;"&gt;&lt;SPAN&gt;8&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="height: 25px; text-align: left; width: 42%;"&gt;&lt;SPAN&gt;5A A4 0C 00 23 72 A0 00&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="height: 25px; text-align: center; width: 20.1104%;"&gt;&lt;SPAN&gt;0026833704us&amp;nbsp;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="height: 25px; text-align: center; width: 15.8896%;"&gt;&lt;SPAN&gt;0x123&amp;nbsp;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="height: 25px; text-align: center; width: 14%;"&gt;&lt;SPAN&gt;8&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="height: 25px; text-align: left; width: 42%;"&gt;&lt;SPAN&gt;00 02 00 00 00 00 04 00&amp;nbsp;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="height: 25px; text-align: center; width: 20.1104%;"&gt;&lt;SPAN&gt;0026833980us&amp;nbsp;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="height: 25px; text-align: center; width: 15.8896%;"&gt;&lt;SPAN&gt;0x123&amp;nbsp;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="height: 25px; text-align: center; width: 14%;"&gt;&lt;SPAN&gt;2&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="height: 25px; text-align: left; width: 42%;"&gt;&lt;SPAN&gt;00 00&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;We tried it again with the KinetisFlashTool app via UART&lt;/STRONG&gt; and the result was the same, wether setting the CRC configuration or not, we receive the same result (no feedback from the bootloader about the CRC application integrity testing)&lt;/P&gt;&lt;P&gt;We don't know how to get it working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We followed the steps of chapter 23.7, Kinetis KE1xF Sub-Family Reference Manual:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;IMG alt="pastedImage_1.png" src="https://community.nxp.com/t5/image/serverpage/image-id/98089i8E7C1D8023DD64CF/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But were should we receive these kStatus? When? After last data frame? Automatically? We don't have a clue.&lt;/P&gt;&lt;P&gt;In BCA we've configured the next CRC values:&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;crcStartAddress &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0x000003d0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;//!&amp;lt; Disable CRC check&lt;/SPAN&gt;
 &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;crcByteCount &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0x000337fc&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;//!&amp;lt; Disable CRC check&lt;/SPAN&gt;
 &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;crcExpectedValue &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0xF913CCAD&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;//!&amp;lt; Disable CRC check&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Can you help us?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much! &lt;IMG alt="Smiley Happy" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="https://community.nxp.com/i/smilies/16x16_smiley-happy.png" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 14:32:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-CRC-via-BCA/m-p/996738#M1098</guid>
      <dc:creator>jan_ymanas</dc:creator>
      <dc:date>2020-11-02T14:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader CRC (via BCA)</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-CRC-via-BCA/m-p/996739#M1099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For his you will first need to set the MCU to boot from ROM, with this after the reset the BCA configurations should be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this you need to set the FOPT, BOOTSRC_SEL first.&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/98562iFA12A03734E4AEB9/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;P&gt;&lt;/P&gt;&lt;P&gt;If you're using MCUXpresso, you can set this field writing in the startup code, in the flash config:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/98563iDE7941532678C1E3/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Let me know if this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Dec 2019 20:27:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-CRC-via-BCA/m-p/996739#M1099</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2019-12-20T20:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader CRC (via BCA)</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-CRC-via-BCA/m-p/996740#M1100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexis,&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for replying.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We already had this&amp;nbsp;configuration to update via Bootloader:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FOPT--&amp;gt;&lt;/STRONG&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/99476i692F3AC92BFAA626/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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;BCA--&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/99460iC4E84F7B3A3965F1/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything goes alright&amp;nbsp;until the host finishes writing the data to the target successfully and then we try to do a reset (5A A4 02 00 66 64 0B 00); after the reset the MCU is still in bootloader and does not exit by timeout.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;But were should we receive the CRC kStatus? When? After the last data frame? We still don't have a clue.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Thanks&amp;nbsp;:smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2019 12:35:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-CRC-via-BCA/m-p/996740#M1100</guid>
      <dc:creator>jan_ymanas</dc:creator>
      <dc:date>2019-12-23T12:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader CRC (via BCA)</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-CRC-via-BCA/m-p/996741#M1101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you mention, I also can't identify where this response is send, I will investigate further about this issue, but meanwhile if you want to identify if the CRC was done correctly the pin PTA 11 is asserted when the CRC check fail after the reset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2019 18:48:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-CRC-via-BCA/m-p/996741#M1101</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2019-12-30T18:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader CRC (via BCA)</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-CRC-via-BCA/m-p/996742#M1102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Alexis,&lt;/P&gt;&lt;P&gt;We keep trying too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the pin PTA11 is asserted when CRC doesn't correct or Byte count is out of range, that's right? we'll try on a TWR board over the coming days.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Otherwise, how the ROM Bootloader calculates the CRC? I mean, maybe we don't calculate &lt;SPAN&gt;the CRC&amp;nbsp;&lt;/SPAN&gt;correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks! :smileyhappy:&amp;nbsp;Regards,&lt;/P&gt;&lt;P&gt;Jan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2020 11:36:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-CRC-via-BCA/m-p/996742#M1102</guid>
      <dc:creator>jan_ymanas</dc:creator>
      <dc:date>2020-01-08T11:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader CRC (via BCA)</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-CRC-via-BCA/m-p/996743#M1103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will suggest to check the Kinetis Bootloader&amp;nbsp; v2.0.0 Reference Manual in the chapter 4.5, you can find the algorithm to calculate the CRC, also if you want to compare I will suggest to use the KinetisFlashTool that you can find in the following &lt;A href="https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools/mcuboot-mcu-bootloader-for-nxp-microcontrollers:MCUBOOT"&gt;link&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will find it in the next path: NXP_Kinetis_Bootloader_2_0_0\bin\Tools\KinetisFlashTool\win, this tool can help you set the BCA configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2020 18:22:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-CRC-via-BCA/m-p/996743#M1103</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2020-01-13T18:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader CRC (via BCA)</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-CRC-via-BCA/m-p/996744#M1104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the chapter that you mentioned I see the CRC 16 algorithm (&lt;EM&gt;XMODEM&lt;/EM&gt; variant) used for calculate the CRC for bootloader frames , but for CRC 32 algorithm (used by the Bootloader to check API integrity, 0x3CC) what is the variant that its uses?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We noticed that&amp;nbsp;in the 1.2.0 version of &lt;EM&gt;MCU Bootloader Reference Manual&lt;/EM&gt; doesn't say anything about CRC 32 algorithm calculate but in 2.0.0 or 2.5.0 says CRC 32 uses &lt;EM&gt;MPEG2&lt;/EM&gt; algorithm variant.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have compared our CRC 32, standard and &lt;EM&gt;MPEG2&lt;/EM&gt;, calculated value with the &lt;EM&gt;KFT&lt;/EM&gt; value and doesn't match.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our CRC 32 calculate:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/67461iD08306A953D5B5E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;KFT CRC 32 Calculate:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/67504iBB6EFB1E532B9D30/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Jan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2020 09:59:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-CRC-via-BCA/m-p/996744#M1104</guid>
      <dc:creator>jan_ymanas</dc:creator>
      <dc:date>2020-01-14T09:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader CRC (via BCA)</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-CRC-via-BCA/m-p/996745#M1105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The CRC32 algo is as below:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #fefef2; font-size: 13px;"&gt;x&lt;/SPAN&gt;&lt;SUP style="color: #000000; background-color: #fefef2;"&gt;32&lt;/SUP&gt;&lt;SPAN style="color: #000000; background-color: #fefef2; font-size: 13px;"&gt;+x&lt;/SPAN&gt;&lt;SUP style="color: #000000; background-color: #fefef2;"&gt;26&lt;/SUP&gt;&lt;SPAN style="color: #000000; background-color: #fefef2; font-size: 13px;"&gt;+x&lt;/SPAN&gt;&lt;SUP style="color: #000000; background-color: #fefef2;"&gt;23&lt;/SUP&gt;&lt;SPAN style="color: #000000; background-color: #fefef2; font-size: 13px;"&gt;+x&lt;/SPAN&gt;&lt;SUP style="color: #000000; background-color: #fefef2;"&gt;22&lt;/SUP&gt;&lt;SPAN style="color: #000000; background-color: #fefef2; font-size: 13px;"&gt;+x&lt;/SPAN&gt;&lt;SUP style="color: #000000; background-color: #fefef2;"&gt;16&lt;/SUP&gt;&lt;SPAN style="color: #000000; background-color: #fefef2; font-size: 13px;"&gt;+x&lt;/SPAN&gt;&lt;SUP style="color: #000000; background-color: #fefef2;"&gt;12&lt;/SUP&gt;&lt;SPAN style="color: #000000; background-color: #fefef2; font-size: 13px;"&gt;+x&lt;/SPAN&gt;&lt;SUP style="color: #000000; background-color: #fefef2;"&gt;11&lt;/SUP&gt;&lt;SPAN style="color: #000000; background-color: #fefef2; font-size: 13px;"&gt;+x&lt;/SPAN&gt;&lt;SUP style="color: #000000; background-color: #fefef2;"&gt;10&lt;/SUP&gt;&lt;SPAN style="color: #000000; background-color: #fefef2; font-size: 13px;"&gt;+x&lt;/SPAN&gt;&lt;SUP style="color: #000000; background-color: #fefef2;"&gt;8&lt;/SUP&gt;&lt;SPAN style="color: #000000; background-color: #fefef2; font-size: 13px;"&gt;+x&lt;/SPAN&gt;&lt;SUP style="color: #000000; background-color: #fefef2;"&gt;7&lt;/SUP&gt;&lt;SPAN style="color: #000000; background-color: #fefef2; font-size: 13px;"&gt;+x&lt;/SPAN&gt;&lt;SUP style="color: #000000; background-color: #fefef2;"&gt;5&lt;/SUP&gt;&lt;SPAN style="color: #000000; background-color: #fefef2; font-size: 13px;"&gt;+x&lt;/SPAN&gt;&lt;SUP style="color: #000000; background-color: #fefef2;"&gt;4&lt;/SUP&gt;&lt;SPAN style="color: #000000; background-color: #fefef2; font-size: 13px;"&gt;+x&lt;/SPAN&gt;&lt;SUP style="color: #000000; background-color: #fefef2;"&gt;2&lt;/SUP&gt;&lt;SPAN style="color: #000000; background-color: #fefef2; font-size: 13px;"&gt;+x+1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #fefef2; font-size: 13px;"&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/81613i48E1F0367AAF64A2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2020 02:34:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-CRC-via-BCA/m-p/996745#M1105</guid>
      <dc:creator>jay_heng</dc:creator>
      <dc:date>2020-01-15T02:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader CRC (via BCA)</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-CRC-via-BCA/m-p/996746#M1106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;For the image CRC32 calculation, You can use this online tool &lt;A href="http://www.sunshine2k.de/coding/javascript/crc/crc_js.html"&gt;http://www.sunshine2k.de/coding/javascript/crc/crc_js.html&lt;/A&gt; with below configuration&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&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/81730iBE4137F552202F34/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt;"&gt;In Kinetis device, we need to bypass byte address 0x3cc ~ 0x3cf (bypass length is 4 byte) when calculating image CRC.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2020 02:39:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-CRC-via-BCA/m-p/996746#M1106</guid>
      <dc:creator>jay_heng</dc:creator>
      <dc:date>2020-01-15T02:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader CRC (via BCA)</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-CRC-via-BCA/m-p/996747#M1107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This might be helpful too:&lt;/P&gt;&lt;P&gt;I'm using srec_cat to calculate the CRC, see &lt;A class="link-titled" href="https://mcuoneclipse.com/2018/03/05/tutorial-crc32-checksum-with-the-kboot-bootloader/" title="https://mcuoneclipse.com/2018/03/05/tutorial-crc32-checksum-with-the-kboot-bootloader/"&gt;Tutorial: CRC32 Checksum with the KBOOT Bootloader | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2020 04:42:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-CRC-via-BCA/m-p/996747#M1107</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2020-01-15T04:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Bootloader CRC (via BCA)</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-CRC-via-BCA/m-p/996748#M1108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, :smileyhappy:&lt;/P&gt;&lt;P&gt;Thank you all for the replies, &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/ErichS"&gt;ErichS&lt;/A&gt;‌ , &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jayheng"&gt;jayheng&lt;/A&gt;‌ and&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/nxf46116"&gt;nxf46116&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mixing your replies and the reference manuals we got the right way to calculate CRC and apply it. We load the image (.bin) via CANbus and finishes with a reset, then the application start running. So, the process was successful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;But we still don't receiving the CRC kStatus, we don't have any information about CRC via CANbus. The PTA11 pin works and is or isn't asserted, depends if the CRC verification was successful or not.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Jan.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2020 07:50:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Bootloader-CRC-via-BCA/m-p/996748#M1108</guid>
      <dc:creator>jan_ymanas</dc:creator>
      <dc:date>2020-01-16T07:50:19Z</dc:date>
    </item>
  </channel>
</rss>

