<?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>Kinetis MicrocontrollersのトピックRe: Custom mkw21d512 board not programming</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Custom-mkw21d512-board-not-programming/m-p/411606#M23295</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Adam Rea:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you show the connections to the JTAG pins? In particular the JTAG_TMS pin should have a pull-up resistor, as shown in this diagram:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52445iFEE8E08086A42F68/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, how is PTA4 wired? This is the NMI/EZP pin, which could cause this kind of problem if it is somehow grounded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And finally, I see you tried a couple of things, but the recommended connection for the Reset_b pin is with a 10k pull-up and a 100 nF capacitor to ground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Aug 2015 17:38:36 GMT</pubDate>
    <dc:creator>Jorge_Gonzalez</dc:creator>
    <dc:date>2015-08-10T17:38:36Z</dc:date>
    <item>
      <title>Custom mkw21d512 board not programming</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Custom-mkw21d512-board-not-programming/m-p/411605#M23294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am getting the "Kinetis (connect): Timeout while unsecuring device. Erase never starts; Kinetis (connect): Failed to unsecure the Kinetis device." error when I try to program my chip.&amp;nbsp; Ironically, this is a re-spin of a board to fix the RF power domain issue I had (one VERY small edit to the PCB) and the old version just fired up and programmed with no issues.&amp;nbsp; Looking at the signals all of them look right except the resetb which never goes high.&amp;nbsp; With the board plugged into the jlink, the orange LED only lights when I power my board.&amp;nbsp; There is no short to ground (or adjacent pins) on resetb.&amp;nbsp; A pullup resistor (10k) makes no difference.&amp;nbsp; I can short the resetb line to V3 and it moves up to that level freely (thus supporting no short to ground.)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been through the archives and tried the jlink commander unlock kinetis command. No luck.&amp;nbsp; I have held reset low myself, started the command and released the line.&amp;nbsp; No luck.&amp;nbsp; I have RC slowed the resetb pin (10uF || 470R to GND).&amp;nbsp; No luck.&amp;nbsp; I have tried the jlink commander 'scripts' for the k20 and k60 that I have found.&amp;nbsp; No luck.&amp;nbsp; This is clearly an MCU issue (as evidenced by the resetb pulling low only when powered) but I am at a loss to get around it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(schematic included for completeness)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/54559i879A6A301E24402F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 01:29:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Custom-mkw21d512-board-not-programming/m-p/411605#M23294</guid>
      <dc:creator>area</dc:creator>
      <dc:date>2015-08-05T01:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Custom mkw21d512 board not programming</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Custom-mkw21d512-board-not-programming/m-p/411606#M23295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Adam Rea:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you show the connections to the JTAG pins? In particular the JTAG_TMS pin should have a pull-up resistor, as shown in this diagram:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52445iFEE8E08086A42F68/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, how is PTA4 wired? This is the NMI/EZP pin, which could cause this kind of problem if it is somehow grounded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And finally, I see you tried a couple of things, but the recommended connection for the Reset_b pin is with a 10k pull-up and a 100 nF capacitor to ground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 17:38:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Custom-mkw21d512-board-not-programming/m-p/411606#M23295</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-08-10T17:38:36Z</dc:date>
    </item>
  </channel>
</rss>

