<?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: Program on TWR-KV58F220M corrupted during Windows 10 USB enumeration in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-on-TWR-KV58F220M-corrupted-during-Windows-10-USB/m-p/593293#M34856</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same problems.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Sep 2017 15:18:49 GMT</pubDate>
    <dc:creator>andreacanepa</dc:creator>
    <dc:date>2017-09-18T15:18:49Z</dc:date>
    <item>
      <title>Program on TWR-KV58F220M corrupted during Windows 10 USB enumeration</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-on-TWR-KV58F220M-corrupted-during-Windows-10-USB/m-p/593289#M34852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;BR /&gt;I'm experiencing a problem with a TWR-KV58F220M board and Windows 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the board with two different computers - one with Windows Vista and one with Windows 10 Pro. The board works as I expect when I connect the board to the Vista PC via USB. I have used "blinky_KV58" and "bubble_level_tfm" pre-compiled example binaries from the "TWR-KV58F220M Quick Start Package" to test the board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I connect the board to the Windows 10 PC via USB I see the following behaviour:&lt;BR /&gt;1. The program on the KV58F220M starts running (e.g. the blinky_KV58 program starts flashing the LEDs).&lt;BR /&gt;2. After less than 1 second, the program on the KV58F220M stops and the green LED on the board is flashing.&lt;BR /&gt;3. The board is enumerated and shows up in Windows as an "MBED microcontroller USB Device". The green LED is on.&lt;BR /&gt;4. After 30-40 seconds there is a quick flash of the green LED on the board and the device disappears in Windows.&lt;BR /&gt;5. The board is quickly enumerated again and shows up in Windows as an "MBED microcontroller USB Device". The green LED is on. Now, there is a new file on the device file system called "fail.txt" containing the text "TIMEOUT".&lt;BR /&gt;6. Steps 4 and 5 are repeated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I disconnect and reconnect the board I get:&lt;/P&gt;&lt;P&gt;1. The green LED is flashing.&lt;/P&gt;&lt;P&gt;2. The board is enumerated and shows up in Windows as an "MBED microcontroller USB Device". The green LED is on.&lt;BR /&gt;3. After 30-40 seconds&amp;nbsp;there is a quick flash of the green LED on the board and the device disappears in Windows.&lt;BR /&gt;4. The board is enumerated again and shows up in Windows as an "MBED microcontroller USB Device". The green LED is on. Now, there is a new file on the board USB device file system called "fail.txt" containing the text "TIMEOUT".&lt;BR /&gt;5. Steps 3 and 4 are repeated.&lt;BR /&gt;That is, the original program on the KV58F220M never starts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I, after having used the board on the Windows 10 PC, connect the board to the Vista PC, then the original KV58F220M doesn't start. I can then program the KV58F220M and start the program by pushing the reset button on the board or by disconnecting and reconnecting the board to the PC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have repeated this Windows Vista - Windows 10 cycle multiple times with the result that the KV58F220M program stops working after being connected to the Windows 10 PC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to test whether the problem was caused by the computer or Windows 10 I programmed the KV58F220M with "blinky_KV58" on the Vista PC, then I booted the "Windows 10 PC" with Linux and connected the board via USB. The "blinky_KV58" started running on the KV58F220M and kept on running. I could disconnect and reconnect the board and the "blinky_KV58" program would start running (as it should).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found this text - &lt;A href="https://mcuoneclipse.com/2016/08/01/bricking_and_recovering_opensda_boards_in_windows_8_and_10/"&gt;https://mcuoneclipse.com/2016/08/01/bricking_and_recovering_opensda_boards_in_windows_8_and_10/&lt;/A&gt; - about an issue that I thought might be related. I followed the instructions to enable the "Do not allow locations on removable drives to be added to libraries" setting in Windows 10 but the problem remains.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My guess is that the USB enumeration process in Windows 10 causes the K20 OpenSDA application on the TWR-KV58F220M board to program the KV58F220M with junk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a FRDM-K64F board which does not show this problem when connected to the Windows 10 PC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate some help answering the following questions:&lt;BR /&gt;- Is my problem caused by my specific configuration (my board + my PC), or is there a general problem with TWR-KV58F220M boards and Windows 10?&lt;BR /&gt;- Is there a solution or workaround for this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From "mbed.htm" on the TWR-KV58F220M board file system:&lt;BR /&gt;Version: 0203 Build: Jul 30 2015 13:45:39 Git Commit SHA: c541bf8976c443d8d8b2fd1262f4f343672d14da Git local mods:Yes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;David Lindstrom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2016 10:01:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-on-TWR-KV58F220M-corrupted-during-Windows-10-USB/m-p/593289#M34852</guid>
      <dc:creator>davidlindstrom</dc:creator>
      <dc:date>2016-09-06T10:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Program on TWR-KV58F220M corrupted during Windows 10 USB enumeration</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-on-TWR-KV58F220M-corrupted-during-Windows-10-USB/m-p/593290#M34853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried to updated TWR-KV58F220M board OpenSDA firmware to Segger J-Link?&lt;/P&gt;&lt;P&gt;The OpenSDA revision is V2.1. Customer could check &lt;A href="https://www.segger.com/opensda.html"&gt;here&lt;/A&gt; to download related J-Link firmware.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 06:05:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-on-TWR-KV58F220M-corrupted-during-Windows-10-USB/m-p/593290#M34853</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2016-09-09T06:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Program on TWR-KV58F220M corrupted during Windows 10 USB enumeration</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-on-TWR-KV58F220M-corrupted-during-Windows-10-USB/m-p/593291#M34854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't tried updating the board with the Segger OpenSDA firmware. On the Segger web page you are referring to, the TWR-KV58F220M is missing in the list of compatible boards. Therefore, I sent an e-mail to Segger to ask about the status for the compatibility of TWR-KV58F220M. So far I have not received a reply from Segger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A colleague of mine needed the board, so I currently don't have access to it. If I ever do try updating the board with the Segger OpenSDA firmware I'll get back with the result. However, my colleague have told me he could use that board with a Windows 10 PC which suggests that somehow my problem is related to my set up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2016 14:38:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-on-TWR-KV58F220M-corrupted-during-Windows-10-USB/m-p/593291#M34854</guid>
      <dc:creator>davidlindstrom</dc:creator>
      <dc:date>2016-09-15T14:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Program on TWR-KV58F220M corrupted during Windows 10 USB enumeration</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-on-TWR-KV58F220M-corrupted-during-Windows-10-USB/m-p/593292#M34855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to use TWR-KV58F220M board Rev.A with attached Segger J-Link firmware file and everything works as expected.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Sep 2016 01:15:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-on-TWR-KV58F220M-corrupted-during-Windows-10-USB/m-p/593292#M34855</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2016-09-18T01:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Program on TWR-KV58F220M corrupted during Windows 10 USB enumeration</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-on-TWR-KV58F220M-corrupted-during-Windows-10-USB/m-p/593293#M34856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same problems.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 15:18:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Program-on-TWR-KV58F220M-corrupted-during-Windows-10-USB/m-p/593293#M34856</guid>
      <dc:creator>andreacanepa</dc:creator>
      <dc:date>2017-09-18T15:18:49Z</dc:date>
    </item>
  </channel>
</rss>

