<?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: KinetisFlash Tool problem in MCU Bootloader</title>
    <link>https://community.nxp.com/t5/MCU-Bootloader/KinetisFlash-Tool-problem/m-p/613605#M155</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hansen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For 1st question, current Kinetis tools and blfwkdll.dll doesn't support to connect multiple USB instances at the same time.&lt;/P&gt;&lt;P&gt;Here is the biref update to support this feature.&lt;/P&gt;&lt;P&gt;1. update peripheral configuration structure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Add std::string usbPath to struct PeripheralConfig in apps\common\blfwkdll\blfwkdll.h and struct PeripheralConfigData in&amp;nbsp;src\blfwk\src\Bootloader.cpp.&lt;/P&gt;&lt;P&gt;2. update UsbHidPeripheral&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Add a member variable "char *path" to this class.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Add an argument "const char *path" in contractor.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; And trans PeripheralConfig::usbPath to it when contracting &lt;SPAN&gt;UsbHidPeripheral object&amp;nbsp;&lt;/SPAN&gt;in src/blfwk/src/Bootloader.cpp.&lt;/P&gt;&lt;P&gt;3. update UsbHidPeripheral::init function.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; if ( usbPath is empty)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;m_device = hid_open(.....); // no change&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;else&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;m_device = hid_open_path( usbPath);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For 2nd question, I suggest to use the sb file which supports Kinetis bootloader/ROM commands.&amp;nbsp;&lt;/P&gt;&lt;P&gt;HEX/S19 format is also OK. Kinetis Bootloader/ROM tools support multi sessions of HEX/S19.&lt;/P&gt;&lt;P&gt;if you are using bin file, you have to call two times of the API blfwkdll::Updater::flashFirmware()&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;Yitao Zhang&lt;/P&gt;&lt;P&gt;MCU Software Engineer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Apr 2017 08:35:17 GMT</pubDate>
    <dc:creator>eatonzhang</dc:creator>
    <dc:date>2017-04-17T08:35:17Z</dc:date>
    <item>
      <title>KinetisFlash Tool problem</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/KinetisFlash-Tool-problem/m-p/613604#M154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;our customer tianyu have below request,&lt;/P&gt;&lt;P&gt;1. They need our KinetisFlashTool could support 32 usb device downloading, they do not use button in GUI, just connect with KL81 board, it download automatically. Could you help provide revise guide? They still have the problem when some device download, it will report re-install driver.&lt;/P&gt;&lt;P&gt;2. They want to download image to MCU by two step, firstly, download from 0x800 to 0x1FFFF, secondly, download from 0x0000 to 0x7FF for first sector, how to change the source code? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Apr 2017 09:23:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/KinetisFlash-Tool-problem/m-p/613604#M154</guid>
      <dc:creator>hansonhe</dc:creator>
      <dc:date>2017-04-15T09:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: KinetisFlash Tool problem</title>
      <link>https://community.nxp.com/t5/MCU-Bootloader/KinetisFlash-Tool-problem/m-p/613605#M155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hansen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For 1st question, current Kinetis tools and blfwkdll.dll doesn't support to connect multiple USB instances at the same time.&lt;/P&gt;&lt;P&gt;Here is the biref update to support this feature.&lt;/P&gt;&lt;P&gt;1. update peripheral configuration structure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Add std::string usbPath to struct PeripheralConfig in apps\common\blfwkdll\blfwkdll.h and struct PeripheralConfigData in&amp;nbsp;src\blfwk\src\Bootloader.cpp.&lt;/P&gt;&lt;P&gt;2. update UsbHidPeripheral&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Add a member variable "char *path" to this class.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Add an argument "const char *path" in contractor.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; And trans PeripheralConfig::usbPath to it when contracting &lt;SPAN&gt;UsbHidPeripheral object&amp;nbsp;&lt;/SPAN&gt;in src/blfwk/src/Bootloader.cpp.&lt;/P&gt;&lt;P&gt;3. update UsbHidPeripheral::init function.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; if ( usbPath is empty)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;m_device = hid_open(.....); // no change&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;else&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;m_device = hid_open_path( usbPath);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For 2nd question, I suggest to use the sb file which supports Kinetis bootloader/ROM commands.&amp;nbsp;&lt;/P&gt;&lt;P&gt;HEX/S19 format is also OK. Kinetis Bootloader/ROM tools support multi sessions of HEX/S19.&lt;/P&gt;&lt;P&gt;if you are using bin file, you have to call two times of the API blfwkdll::Updater::flashFirmware()&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;Yitao Zhang&lt;/P&gt;&lt;P&gt;MCU Software Engineer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2017 08:35:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCU-Bootloader/KinetisFlash-Tool-problem/m-p/613605#M155</guid>
      <dc:creator>eatonzhang</dc:creator>
      <dc:date>2017-04-17T08:35:17Z</dc:date>
    </item>
  </channel>
</rss>

