<?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>MCU BootloaderのトピックRe: Kinetis ROM Bootloader - on mkl17z32vlh4 - wrong response on eraseAll command</title>
    <link>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-ROM-Bootloader-on-mkl17z32vlh4-wrong-response-on/m-p/1288508#M1311</link>
    <description>&lt;P&gt;workaround for read memory cmd:&lt;/P&gt;&lt;P&gt;Send Read Memory&amp;nbsp; (Cmd 0x03 - size 32 bytes)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Response :&amp;nbsp;5a a7 0 1 1 50 0 0&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;(Ping Response)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Send ACK (0xA1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Response ACK (0xA1)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Send ACK (0xA1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Response Data packet (0xA5) - But only 12 bytes are receive.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Jun 2021 18:37:03 GMT</pubDate>
    <dc:creator>marianoT</dc:creator>
    <dc:date>2021-06-07T18:37:03Z</dc:date>
    <item>
      <title>Kinetis ROM Bootloader - on mkl17z32vlh4 - wrong response on eraseAll command</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-ROM-Bootloader-on-mkl17z32vlh4-wrong-response-on/m-p/1287630#M1308</link>
      <description>&lt;P&gt;hi, i´m tring to update flash using ROM bootloader (host is other uC with the protocol implemented), i succesfully sync baudrate with ping command, but when the eraseAll command is sent, the response is&amp;nbsp;Ping Response Packet NOT ACK +&amp;nbsp;Generic Response as data sheet diagram said. The command execute succesfully, memory is erased&lt;/P&gt;&lt;P&gt;this is the senquence (crc &lt;SPAN class="Y2IQFc"&gt;intentionally&amp;nbsp;&lt;/SPAN&gt;avoided):&lt;/P&gt;&lt;P&gt;Send: 0x5a 0xa6 (Ping)&lt;/P&gt;&lt;P&gt;Response: 0x5a 0xa7 0x0 0x1 0x1 0x50 0x0 0x0 (Ping Response)&lt;/P&gt;&lt;P&gt;Send: 5a a4 4 0 c4 2e 1 0 0 0 (EraseAll)&lt;/P&gt;&lt;P&gt;Response: 0x5a 0xa7 0x0 0x1 0x1 0x50 0x0 0x0 (Ping Response)&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 15:51:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-ROM-Bootloader-on-mkl17z32vlh4-wrong-response-on/m-p/1287630#M1308</guid>
      <dc:creator>marianoT</dc:creator>
      <dc:date>2021-06-04T15:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis ROM Bootloader - on mkl17z32vlh4 - wrong response on eraseAll command</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-ROM-Bootloader-on-mkl17z32vlh4-wrong-response-on/m-p/1288050#M1309</link>
      <description>&lt;P&gt;Hi Mariano,&lt;/P&gt;
&lt;P&gt;Which host program do you use, blhost or your own program?&lt;/P&gt;
&lt;P&gt;Please refer to the Table 13-2 in reference manual. FlashEraseAllUnsecure is supported at all time. FlashEraseAll command is not supported when secured.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 08:04:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-ROM-Bootloader-on-mkl17z32vlh4-wrong-response-on/m-p/1288050#M1309</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2021-06-07T08:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis ROM Bootloader - on mkl17z32vlh4 - wrong response on eraseAll command</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-ROM-Bootloader-on-mkl17z32vlh4-wrong-response-on/m-p/1288247#M1310</link>
      <description>&lt;P&gt;hi Jing, the device isn´t secured, the command succesfully erase the memory but the response is incorrect. Also with command Get Property, or Read Cmd the response is incorrect, always &lt;SPAN&gt;Ping Response&lt;/SPAN&gt;. We are developing a custom host for the bootloader.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Send: 5a a4 8 0 73 d4 7 0 0 1 1 0 0 0 Get Property&lt;/P&gt;&lt;P&gt;REsponse :&amp;nbsp;5a a7 0 1 1 50 0 0&amp;nbsp;&lt;SPAN&gt;(Ping Response)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 13:53:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-ROM-Bootloader-on-mkl17z32vlh4-wrong-response-on/m-p/1288247#M1310</guid>
      <dc:creator>marianoT</dc:creator>
      <dc:date>2021-06-07T13:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis ROM Bootloader - on mkl17z32vlh4 - wrong response on eraseAll command</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-ROM-Bootloader-on-mkl17z32vlh4-wrong-response-on/m-p/1288508#M1311</link>
      <description>&lt;P&gt;workaround for read memory cmd:&lt;/P&gt;&lt;P&gt;Send Read Memory&amp;nbsp; (Cmd 0x03 - size 32 bytes)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Response :&amp;nbsp;5a a7 0 1 1 50 0 0&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;(Ping Response)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Send ACK (0xA1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Response ACK (0xA1)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Send ACK (0xA1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Response Data packet (0xA5) - But only 12 bytes are receive.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 18:37:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-ROM-Bootloader-on-mkl17z32vlh4-wrong-response-on/m-p/1288508#M1311</guid>
      <dc:creator>marianoT</dc:creator>
      <dc:date>2021-06-07T18:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis ROM Bootloader - on mkl17z32vlh4 - wrong response on eraseAll command</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-ROM-Bootloader-on-mkl17z32vlh4-wrong-response-on/m-p/1289793#M1314</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You can download a NXP_KINETIS_Bootloader_2.0.0 package from here.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/sps/download/license.jsp?colCode=NXP_KINETIS_BOOTLOADER_2_0_0&amp;amp;appType=file1&amp;amp;DOWNLOAD_ID=null" target="_blank"&gt;https://www.nxp.com/webapp/sps/download/license.jsp?colCode=NXP_KINETIS_BOOTLOADER_2_0_0&amp;amp;appType=file1&amp;amp;DOWNLOAD_ID=null&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this package there are two sample project may useful to you. One is in&amp;nbsp;\validation\embedded_host. It runs on K65 and can download code to target by UART automatically. The other is in&amp;nbsp;\apps\bus_pal. It can translate UART command to I2C/SPI command to interface with target bootloader.&lt;/P&gt;
&lt;P&gt;There are many useful documents in this package.&lt;/P&gt;
&lt;P&gt;As to the problem, you can use blhost to send command to KL17, use oscilloscope or logic analyzer to catch the wave and then compare with your wave.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 09:14:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-ROM-Bootloader-on-mkl17z32vlh4-wrong-response-on/m-p/1289793#M1314</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2021-06-09T09:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis ROM Bootloader - on mkl17z32vlh4 - wrong response on eraseAll command</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-ROM-Bootloader-on-mkl17z32vlh4-wrong-response-on/m-p/1289876#M1316</link>
      <description>&lt;P&gt;Hi Jing,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using&amp;nbsp;KinetisFlashTool can´t connect with&amp;nbsp;mkl17z32vlh4 ROM boot, using UART. I get the same&amp;nbsp;behaviour with a custom host.&lt;/P&gt;&lt;P&gt;this is the log of KinetisFlashTool:&lt;/P&gt;&lt;P&gt;[5a a6]&lt;BR /&gt;&amp;lt;5a&amp;gt;&lt;BR /&gt;Ping responded in 1 attempt(s)&lt;BR /&gt;&amp;lt;a7&amp;gt;&lt;BR /&gt;&amp;lt;00 01 01 50 00 00 78 04&amp;gt;&lt;BR /&gt;Framing protocol version = 0x50010100, options = 0x0&lt;BR /&gt;inject command 'get-property'&lt;BR /&gt;[5a a4 0c 00 6c 3c 07 00 00 02 05 00 00 00 ee cc a2 77]&lt;BR /&gt;&amp;lt;&amp;gt;&lt;BR /&gt;&amp;lt;&amp;gt;&lt;BR /&gt;&amp;lt;&amp;gt;&lt;BR /&gt;&amp;lt;&amp;gt;&lt;BR /&gt;&amp;lt;&amp;gt;&lt;BR /&gt;Error: read_start_byte() timeout after 5.107 seconds&lt;BR /&gt;sendCommandGetResponse.writePacket error 5.&lt;BR /&gt;processResponse: null packet&lt;BR /&gt;- took 5.109 seconds&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 11:22:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/Kinetis-ROM-Bootloader-on-mkl17z32vlh4-wrong-response-on/m-p/1289876#M1316</guid>
      <dc:creator>marianoT</dc:creator>
      <dc:date>2021-06-09T11:22:02Z</dc:date>
    </item>
  </channel>
</rss>

