<?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: KE18 ROMBootloader in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE18-ROMBootloader/m-p/911742#M53433</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Chaitanya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After each command the MCU will response with other&amp;nbsp;&lt;EM&gt;Response packet&lt;/EM&gt; that should have the same structure and this should have in the status code the&amp;nbsp;&lt;EM&gt;kStatus_Success&amp;nbsp;&lt;/EM&gt;flag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each command packet should have 32 bytes long as the&amp;nbsp;&lt;EM&gt;23.3.7.4 Command packet&lt;/EM&gt; says.&lt;/P&gt;&lt;P&gt;You should wait until you receive the response packet and the Generic Response will be send after each command.&lt;/P&gt;&lt;P&gt;I will suggest to verify that the command is succesful after each command.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also check the reference manual of the MCU bootlader:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/reference-manual/MCUBOOTRM.pdf"&gt;https://www.nxp.com/docs/en/reference-manual/MCUBOOTRM.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&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>Tue, 02 Jul 2019 21:14:18 GMT</pubDate>
    <dc:creator>Alexis_A</dc:creator>
    <dc:date>2019-07-02T21:14:18Z</dc:date>
    <item>
      <title>KE18 ROMBootloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE18-ROMBootloader/m-p/911739#M53430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am currently using KE18 series controller and trying to use in built ROMBootloader feature. For sending commands such as memory write, the example shown in data sheet is having CRC16 field for the packet,&lt;/P&gt;&lt;P&gt;If my bin size is 20K and start address is 0x00 then, how do I compute CRC16, is it for whole image or only chunks of data? do you have any examples for the same? I am trying to use CAN loader and the PC side I am using one Python script to communicate over CAN. Appreciate a speedy response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2019 12:34:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE18-ROMBootloader/m-p/911739#M53430</guid>
      <dc:creator>chaitanyakumarb</dc:creator>
      <dc:date>2019-06-27T12:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: KE18 ROMBootloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE18-ROMBootloader/m-p/911740#M53431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/chaitanyakumarbeeram"&gt;chaitanyakumarbeeram&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the following image you can see the description of this parameter:&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/89970iC372CE46C227C653/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;So you will need to calculate the parameter from the start byte to the end of the command.&amp;nbsp;&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, 28 Jun 2019 22:20:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE18-ROMBootloader/m-p/911740#M53431</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2019-06-28T22:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: KE18 ROMBootloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE18-ROMBootloader/m-p/911741#M53432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response, I have few more questions,&lt;/P&gt;&lt;P&gt;Say my binary size is 0x3c30 and start address is 0x00 then I would have to compute the CRC for&amp;nbsp;0x5A A4 0C 00&amp;nbsp;&amp;nbsp;04 00 00 02 00 00 00 00 30 3C 00 00 and then insert the CRC like below:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;0x5A A4 0C 00&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;crc_low crc_high 04 00 00 02 00 00 00 00 30 3C 00 00.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How long should I wait to get the response from board before sending the actual binary?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now while sending binary do I need to always send 32 bytes in one packet as given is datasheet (0x5a a5 20 00 CRC16 32 bytes data)? Or Can I send more data in a packet? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How long I need to wait before sending next packet? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How often the&amp;nbsp;Generic Response will be sent? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After receiving&amp;nbsp;generic response, do we need to acknowledge that also? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;what happens if I ignore the generic response? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there any better documentation to understand flow clearly?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jun 2019 03:49:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE18-ROMBootloader/m-p/911741#M53432</guid>
      <dc:creator>chaitanyakumarb</dc:creator>
      <dc:date>2019-06-29T03:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: KE18 ROMBootloader</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE18-ROMBootloader/m-p/911742#M53433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Chaitanya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After each command the MCU will response with other&amp;nbsp;&lt;EM&gt;Response packet&lt;/EM&gt; that should have the same structure and this should have in the status code the&amp;nbsp;&lt;EM&gt;kStatus_Success&amp;nbsp;&lt;/EM&gt;flag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each command packet should have 32 bytes long as the&amp;nbsp;&lt;EM&gt;23.3.7.4 Command packet&lt;/EM&gt; says.&lt;/P&gt;&lt;P&gt;You should wait until you receive the response packet and the Generic Response will be send after each command.&lt;/P&gt;&lt;P&gt;I will suggest to verify that the command is succesful after each command.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also check the reference manual of the MCU bootlader:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/reference-manual/MCUBOOTRM.pdf"&gt;https://www.nxp.com/docs/en/reference-manual/MCUBOOTRM.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&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>Tue, 02 Jul 2019 21:14:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KE18-ROMBootloader/m-p/911742#M53433</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2019-07-02T21:14:18Z</dc:date>
    </item>
  </channel>
</rss>

