<?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: FRDM-KV10Z Can't program (Stalling); MBED Volume 32k free space in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-KV10Z-Can-t-program-Stalling-MBED-Volume-32k-free-space/m-p/601744#M6151</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried to check if holding down the reset button during boot would give me a BOOTLOADER volume but it doesn't. &amp;nbsp;I get an MBED labeled volume whether or not the reset button is down. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this correct? &amp;nbsp;Do I have a broken reset button?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Mar 2017 02:48:55 GMT</pubDate>
    <dc:creator>eljeffo</dc:creator>
    <dc:date>2017-03-24T02:48:55Z</dc:date>
    <item>
      <title>FRDM-KV10Z Can't program (Stalling); MBED Volume 32k free space</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-KV10Z-Can-t-program-Stalling-MBED-Volume-32k-free-space/m-p/601742#M6149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this normal?&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Filesystem&amp;nbsp; &amp;nbsp; &amp;nbsp; Size &amp;nbsp; Used&amp;nbsp; Avail Capacity &amp;nbsp; iused &amp;nbsp; &amp;nbsp; ifree %iused&amp;nbsp; Mounted on&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;/dev/disk4&amp;nbsp; &amp;nbsp; &amp;nbsp; 48Ki &amp;nbsp; 16Ki &amp;nbsp; 32Ki&amp;nbsp; &amp;nbsp; 34%&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 32 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&amp;nbsp; 100% &amp;nbsp; /Volumes/MBED&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I tried to load hello_world.bin from the SDK but I got some errors:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;cp: hello_world.bin: could not copy extended attributes to /Volumes/MBED/hello_world.bin: Device not configured&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I then tried PyOCD but then I got this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;$ pyocd-flashtool -u&lt;BR /&gt;INFO:root:DAP SWD MODE initialised&lt;BR /&gt;WARNING:root:KV10Z7 in secure state: will try to unlock via mass erase&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;When that failed, I tried upgrade OpenSDA but now there's not enough free space to upload anything at all (even in bootloader mode). &amp;nbsp;The Segger OpenSDA bin files are well over 32k.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Trying to copy a smaller item results in a never finishing copy:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;$ cp k20dx128_bootloader_0x8000.bin /Volumes/MBED #stalls "forever"&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;And now trying to replace the demo app (in non-bootloader)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;$ cp ecompass.bin&amp;nbsp; /Volumes/MBED/ # stalls forever&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Perhaps there's something I'm missing?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Did my KV10Z somehow get locked and that's why I can't write a new program?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Is my bootloader working properly? &amp;nbsp;Is it showing up as the MBED volume proof enough that my bootloader isn't bricked? &amp;nbsp;If bootloader is okay, why does updating the bootloader (in bootload update mode; reset pin down on power-up) stall on copy?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 08:17:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-KV10Z-Can-t-program-Stalling-MBED-Volume-32k-free-space/m-p/601742#M6149</guid>
      <dc:creator>eljeffo</dc:creator>
      <dc:date>2017-03-21T08:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KV10Z Can't program (Stalling); MBED Volume 32k free space</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-KV10Z-Can-t-program-Stalling-MBED-Volume-32k-free-space/m-p/601743#M6150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to verify it wasn't a mac problem I tried uploading a .bin file via Windows 7. &amp;nbsp;Same issue, board completely stalls:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="FRDM-KV10Z_-_Windows_7_Upload.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/15860iAB011443B8FA71C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="FRDM-KV10Z_-_Windows_7_Upload.png" alt="FRDM-KV10Z_-_Windows_7_Upload.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 02:46:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-KV10Z-Can-t-program-Stalling-MBED-Volume-32k-free-space/m-p/601743#M6150</guid>
      <dc:creator>eljeffo</dc:creator>
      <dc:date>2017-03-24T02:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KV10Z Can't program (Stalling); MBED Volume 32k free space</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-KV10Z-Can-t-program-Stalling-MBED-Volume-32k-free-space/m-p/601744#M6151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried to check if holding down the reset button during boot would give me a BOOTLOADER volume but it doesn't. &amp;nbsp;I get an MBED labeled volume whether or not the reset button is down. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this correct? &amp;nbsp;Do I have a broken reset button?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 02:48:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-KV10Z-Can-t-program-Stalling-MBED-Volume-32k-free-space/m-p/601744#M6151</guid>
      <dc:creator>eljeffo</dc:creator>
      <dc:date>2017-03-24T02:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KV10Z Can't program (Stalling); MBED Volume 32k free space</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-KV10Z-Can-t-program-Stalling-MBED-Volume-32k-free-space/m-p/601745#M6152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay moved the Jumper and reflashed OpenSDA2 onto the KV10Z board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However... still the same copying problem. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some chance I got a locked Kinetis from the factory?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How long does this mass-erase to unlock take?&lt;/P&gt;&lt;P class="" style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;WARNING:root:KV10Z7 in secure state: will try to unlock via mass erase&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 03:22:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-KV10Z-Can-t-program-Stalling-MBED-Volume-32k-free-space/m-p/601745#M6152</guid>
      <dc:creator>eljeffo</dc:creator>
      <dc:date>2017-03-24T03:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KV10Z Can't program (Stalling); MBED Volume 32k free space</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-KV10Z-Can-t-program-Stalling-MBED-Volume-32k-free-space/m-p/601746#M6153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I'm trying with a Segger Jlink. &amp;nbsp;I cut J8 and J12 to isolate the KV10Z and here's where I am so far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) You'll see a reset attempt fail with just the SWD_DIO/CLK attached&lt;/P&gt;&lt;P&gt;2) You'll see that even pulling reset low for the KV10Z does not seem to help the situation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Initial SWD Unlock Failure&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Device "MKV10Z32XXX7" selected.&lt;BR /&gt;&lt;BR /&gt;Found SWD-DP with ID 0x0BC11477&lt;BR /&gt;Protection bytes in flash at addr. 0x400 - 0x40F indicate that readout protection is set.&lt;BR /&gt;For debugger connection the device needs to be unsecured.&lt;BR /&gt;Note: Unsecuring will trigger a mass erase of the internal flash.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;Found SWD-DP with ID 0x0BC11477&lt;BR /&gt;Protection bytes in flash at addr. 0x400 - 0x40F indicate that readout protection is set.&lt;BR /&gt;For debugger connection the device needs to be unsecured.&lt;BR /&gt;Note: Unsecuring will trigger a mass erase of the internal flash.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;&lt;BR /&gt;****** Error: Kinetis (connect): Timeout while unsecuring device. Erase never starts.&lt;BR /&gt;Kinetis (connect): Failed to unsecure Kinetis device.&lt;BR /&gt;&lt;BR /&gt;Found SWD-DP with ID 0x0BC11477&lt;BR /&gt;Protection bytes in flash at addr. 0x400 - 0x40F indicate that readout protection is set.&lt;BR /&gt;For debugger connection the device needs to be unsecured.&lt;BR /&gt;Note: Unsecuring will trigger a mass erase of the internal flash.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;Found SWD-DP with ID 0x0BC11477&lt;BR /&gt;Protection bytes in flash at addr. 0x400 - 0x40F indicate that readout protection is set.&lt;BR /&gt;For debugger connection the device needs to be unsecured.&lt;BR /&gt;Note: Unsecuring will trigger a mass erase of the internal flash.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;&lt;BR /&gt;****** Error: Kinetis (connect): Timeout while unsecuring device. Erase never starts.&lt;BR /&gt;Kinetis (connect): Failed to unsecure Kinetis device.&lt;BR /&gt;&lt;BR /&gt;Cannot connect to target.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;HR /&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Pull&amp;nbsp;RST_TGTMCU_B Low&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SEGGER J-Link Commander V6.14 (Compiled Feb 23 2017 17:31:49)&lt;BR /&gt;DLL version V6.14, compiled Feb 23 2017 17:31:36&lt;BR /&gt;&lt;BR /&gt;Connecting to J-Link via USB...O.K.&lt;BR /&gt;Firmware: J-Link ARM-OB STM32 compiled Aug 22 2012 19:52:04&lt;BR /&gt;Hardware version: V7.00&lt;BR /&gt;S/N: 20090928&lt;BR /&gt;License(s): RDI,FlashDL,FlashBP,JFlash,GDBFull&lt;BR /&gt;VTref = 3.300V&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Type "connect" to establish a target connection, '?' for help&lt;BR /&gt;J-Link&amp;gt;connect&lt;BR /&gt;Please specify device / core. &amp;lt;Default&amp;gt;: MKV10Z32XXX7&lt;BR /&gt;Type '?' for selection dialog&lt;BR /&gt;Device&amp;gt;&lt;BR /&gt;Please specify target interface:&lt;BR /&gt;&amp;nbsp; J) JTAG (Default)&lt;BR /&gt;&amp;nbsp; S) SWD&lt;BR /&gt;TIF&amp;gt;S&lt;BR /&gt;Specify target interface speed [kHz]. &amp;lt;Default&amp;gt;: 4000 kHz&lt;BR /&gt;Speed&amp;gt;&lt;BR /&gt;Device "MKV10Z32XXX7" selected.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Found SWD-DP with ID 0x0BC11477&lt;BR /&gt;Protection bytes in flash at addr. 0x400 - 0x40F indicate that readout protection is set.&lt;BR /&gt;For debugger connection the device needs to be unsecured.&lt;BR /&gt;Note: Unsecuring will trigger a mass erase of the internal flash.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;Found SWD-DP with ID 0x0BC11477&lt;BR /&gt;Protection bytes in flash at addr. 0x400 - 0x40F indicate that readout protection is set.&lt;BR /&gt;For debugger connection the device needs to be unsecured.&lt;BR /&gt;Note: Unsecuring will trigger a mass erase of the internal flash.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;&lt;BR /&gt;****** Error: Kinetis (connect): Timeout while unsecuring device. Erase never starts.&lt;BR /&gt;Kinetis (connect): Failed to unsecure Kinetis device.&lt;BR /&gt;&lt;BR /&gt;Found SWD-DP with ID 0x0BC11477&lt;BR /&gt;Protection bytes in flash at addr. 0x400 - 0x40F indicate that readout protection is set.&lt;BR /&gt;For debugger connection the device needs to be unsecured.&lt;BR /&gt;Note: Unsecuring will trigger a mass erase of the internal flash.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;Found SWD-DP with ID 0x0BC11477&lt;BR /&gt;Protection bytes in flash at addr. 0x400 - 0x40F indicate that readout protection is set.&lt;BR /&gt;For debugger connection the device needs to be unsecured.&lt;BR /&gt;Note: Unsecuring will trigger a mass erase of the internal flash.&lt;BR /&gt;Device will be unsecured now.&lt;BR /&gt;&lt;BR /&gt;****** Error: Kinetis (connect): Timeout while unsecuring device. Erase never starts.&lt;BR /&gt;Kinetis (connect): Failed to unsecure Kinetis device.&lt;BR /&gt;&lt;BR /&gt;Cannot connect to target.&lt;BR /&gt;J-Link&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 18:00:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-KV10Z-Can-t-program-Stalling-MBED-Volume-32k-free-space/m-p/601746#M6153</guid>
      <dc:creator>eljeffo</dc:creator>
      <dc:date>2017-03-24T18:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KV10Z Can't program (Stalling); MBED Volume 32k free space</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-KV10Z-Can-t-program-Stalling-MBED-Volume-32k-free-space/m-p/601747#M6154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried in windows as well but no luck&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="3E6C658B-9EB0-4445-93E4-0B6EA94B5E72.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16031i697494564A417CF7/image-size/large?v=v2&amp;amp;px=999" role="button" title="3E6C658B-9EB0-4445-93E4-0B6EA94B5E72.png" alt="3E6C658B-9EB0-4445-93E4-0B6EA94B5E72.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="F15A11BC-3E9F-4CD5-B135-E1F04DCA1F62.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16075i0FF6507725757DAD/image-size/large?v=v2&amp;amp;px=999" role="button" title="F15A11BC-3E9F-4CD5-B135-E1F04DCA1F62.png" alt="F15A11BC-3E9F-4CD5-B135-E1F04DCA1F62.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 18:21:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/FRDM-KV10Z-Can-t-program-Stalling-MBED-Volume-32k-free-space/m-p/601747#M6154</guid>
      <dc:creator>eljeffo</dc:creator>
      <dc:date>2017-03-24T18:21:29Z</dc:date>
    </item>
  </channel>
</rss>

