<?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: Problem flashing for the first time in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-flashing-for-the-first-time/m-p/505408#M31709</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Buca Zeug,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please do some modification to your board:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. Reset pin, Add 4.7K to 10K pullup resistor in the reset pin, and connect 0.1 uf capacitor to ground.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, NMI pin, add 4.7K to 10K pullup resistor.&lt;/P&gt;&lt;P&gt;&amp;nbsp; To a new chip, the Reset have the sawtooth wave is correct, after the chip is programmed, the reset pin will be pulled up.&lt;/P&gt;&lt;P&gt;&amp;nbsp; After you modify the board, use the JLINK COMMANDER to check whether it can dedicate the ARM core M0+.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Besides, what the solder temperature when you soldering your chip to the board? From the datasheet, the solder temperature should below than 260 °C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;If you still have question, please contact with me!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jingjing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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, 04 Mar 2016 07:48:01 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2016-03-04T07:48:01Z</dc:date>
    <item>
      <title>Problem flashing for the first time</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-flashing-for-the-first-time/m-p/505407#M31708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in aspiration to lose the fog of my current ignorance, I appreciate any help to get back on track.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TL;DR&lt;/P&gt;&lt;P&gt;Can't get my Kinetis KL27 custom board to do anything.&lt;/P&gt;&lt;P&gt;No USB Enumeration / SWD (J-Link) detects secured device.&lt;/P&gt;&lt;P&gt;At POR RESETb gets pulled down internally after short strobe (~1ms). Could this be the watchdog in action?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me guide you to my current setup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="board.png"&gt;&lt;IMG alt="board.png" src="https://community.nxp.com/t5/image/serverpage/image-id/56292i6D8A72748E7C01E7/image-size/large?v=v2&amp;amp;px=999" title="board.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following some schematics. VDD = 3.3V.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="mcu.jpg"&gt;&lt;IMG alt="mcu.jpg" src="https://community.nxp.com/t5/image/serverpage/image-id/56363i63762CAB7C4E41DA/image-size/large?v=v2&amp;amp;px=999" title="mcu.jpg" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="swd.png"&gt;&lt;IMG alt="swd.png" src="https://community.nxp.com/t5/image/serverpage/image-id/56364i48878C1B89103632/image-size/large?v=v2&amp;amp;px=999" title="swd.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="usb.jpg"&gt;&lt;IMG alt="usb.jpg" src="https://community.nxp.com/t5/image/serverpage/image-id/56395i49A55B17859701FE/image-size/large?v=v2&amp;amp;px=999" title="usb.jpg" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Following the first Power-on, no USB-Enumeration happened. Examining closer the isolated MCU consumes 3mA @ 3.3V. Strangely RESETb is pulled low. As is the J-Link probes orange LED indicating.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;J-Link command&lt;/P&gt;&lt;P&gt;&amp;gt; JLinkExe -if swd -device MKL27Z64XXX4 -speed 1000&lt;/P&gt;&lt;P&gt;followed by&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; connect&lt;/P&gt;&lt;P&gt;outputs&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14570353532443034" data-renderedposition="2160.7666015625_50_798_176" jivemacro_uid="_14570353532443034" modifiedtitle="true"&gt;&lt;P&gt;Device "MKL27Z64XXX4" selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Found SWD-DP with ID 0x0BC11477&lt;/P&gt;&lt;P&gt;Secured Kinetis device detected. For debugger connection the device needs to be unsecured.&lt;/P&gt;&lt;P&gt;Device will be unsecured now.&lt;/P&gt;&lt;P&gt;Note: Unsecuring will trigger a mass erase of the internal flash.&lt;/P&gt;&lt;P&gt;Found SWD-DP with ID 0x0BC11477&lt;/P&gt;&lt;P&gt;Secured Kinetis device detected. For debugger connection the device needs to be unsecured.&lt;/P&gt;&lt;P&gt;Device will be unsecured now.&lt;/P&gt;&lt;P&gt;Note: Unsecuring will trigger a mass erase of the internal flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****** Error: Kinetis (connect): Timeout while unsecuring device. Erase never starts.&lt;/P&gt;&lt;P&gt;Kinetis (connect): Failed to unsecure Kinetis device.&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me resolve this situation and uncover any design flaws. Any help is really appreciated.&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Luca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 13:28:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-flashing-for-the-first-time/m-p/505407#M31708</guid>
      <dc:creator>buca</dc:creator>
      <dc:date>2020-11-02T13:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem flashing for the first time</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-flashing-for-the-first-time/m-p/505408#M31709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Buca Zeug,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please do some modification to your board:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. Reset pin, Add 4.7K to 10K pullup resistor in the reset pin, and connect 0.1 uf capacitor to ground.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, NMI pin, add 4.7K to 10K pullup resistor.&lt;/P&gt;&lt;P&gt;&amp;nbsp; To a new chip, the Reset have the sawtooth wave is correct, after the chip is programmed, the reset pin will be pulled up.&lt;/P&gt;&lt;P&gt;&amp;nbsp; After you modify the board, use the JLINK COMMANDER to check whether it can dedicate the ARM core M0+.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Besides, what the solder temperature when you soldering your chip to the board? From the datasheet, the solder temperature should below than 260 °C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;If you still have question, please contact with me!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jingjing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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, 04 Mar 2016 07:48:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-flashing-for-the-first-time/m-p/505408#M31709</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-03-04T07:48:01Z</dc:date>
    </item>
  </channel>
</rss>

