<?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: Help needed with MK22FN512VLL12 bring-up...</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-needed-with-MK22FN512VLL12-bring-up/m-p/842067#M50772</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lee,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have checked your schematic and your JLINK commander log, I find in your schematic, you have the JTAG and SWD interface, please tell me what the interface you have used?&lt;/P&gt;&lt;P&gt;&amp;nbsp;If you are using SWD, then in the JLINK commander, you need to input s, to select the SWD interface.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/69087i9AE43455FCBB6A0E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Your reset wave is correct, because when the chip don't have the code, it is empty, the reset pin will have the triangular wave, it's no problem, after you download the code, the reset pin will be high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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>Wed, 19 Sep 2018 10:10:02 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2018-09-19T10:10:02Z</dc:date>
    <item>
      <title>Help needed with MK22FN512VLL12 bring-up...</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-needed-with-MK22FN512VLL12-bring-up/m-p/842066#M50771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are using a Kinetics&amp;nbsp;MK22FN512VLL12 MicroController for the first time, on a pcb that we are bringing up.. We cannot connect to the processor's SWD interface. We are using a Segger J-Link adapter for the board bring-up SWD interface... with J-Link Commander software (Windows 10). When connecting to the SWD port using the Segger, there is a light on the J-Link (normally green) that turns orange, and we receive connection errors in the Commander software.&lt;/P&gt;&lt;P&gt;I have attached the log file and schematic for our design.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an aside, I took a look at the processor RESET-b line with a scope (pin 52, with nothing else connected to it), please see the attached scope shot (2V/div, 10us/div). I am wondering if this could be our issue? Looks like this may be configured as an output of some sort, since I have nothing connected to this line (J-Link removed, etc).&amp;nbsp; I have also taken the liberty of attaching this scope shot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I would very much appreciate any help with this, and thank you in advance for your time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 18:25:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-needed-with-MK22FN512VLL12-bring-up/m-p/842066#M50771</guid>
      <dc:creator>lbedatsky</dc:creator>
      <dc:date>2018-09-18T18:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed with MK22FN512VLL12 bring-up...</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-needed-with-MK22FN512VLL12-bring-up/m-p/842067#M50772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lee,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have checked your schematic and your JLINK commander log, I find in your schematic, you have the JTAG and SWD interface, please tell me what the interface you have used?&lt;/P&gt;&lt;P&gt;&amp;nbsp;If you are using SWD, then in the JLINK commander, you need to input s, to select the SWD interface.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/69087i9AE43455FCBB6A0E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Your reset wave is correct, because when the chip don't have the code, it is empty, the reset pin will have the triangular wave, it's no problem, after you download the code, the reset pin will be high.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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>Wed, 19 Sep 2018 10:10:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-needed-with-MK22FN512VLL12-bring-up/m-p/842067#M50772</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-09-19T10:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed with MK22FN512VLL12 bring-up...</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-needed-with-MK22FN512VLL12-bring-up/m-p/842068#M50773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply, and apology&amp;nbsp;for the confusion: The previous log file we sent was from a JTAG attempt at connecting to the CPU, but as you can see from the SWD log below, the SWD behavior is similar to the JTAG output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The questions we have are:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL style="margin-top: 0in;"&gt;&lt;LI style="margin-left: 0in;"&gt;What conditions would cause the J-Link to not be able to connect, or to attempt to connect using the “Connect under Reset” protocol. The J-Link documentation implies that “Connect under Reset” is typically used with STM32 processors.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;2. The J-Link indicator light is orange when connected to the SWD connector. This would seem to indicate that the&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; processor either cannot be reset or cannot be HALTed. Since the RESET line is behaving correctly from the scope&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; trace we sent, what conditions would keep the processor from being halted?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Thank you,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Lee&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;----&lt;/P&gt;&lt;P style="margin-bottom: 12.0pt;"&gt;# sudo ./JLinkExe&lt;BR /&gt; SEGGER J-Link Commander V6.34c (Compiled Aug 23 2018 10:59:18)&lt;BR /&gt; DLL version V6.34c, compiled Aug 23 2018 10:59:08&lt;BR /&gt; &lt;BR /&gt; Connecting to J-Link via USB...O.K.&lt;BR /&gt; Firmware: J-Link V10 compiled Sep 4 2018 11:24:21&lt;BR /&gt; Hardware version: V10.10&lt;BR /&gt; S/N: 50122364&lt;BR /&gt; License(s): GDB&lt;BR /&gt; VTref=3.311V&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;: MK22FN512XXX12&lt;BR /&gt; Type '?' for selection dialog&lt;BR /&gt; Device&amp;gt;&lt;BR /&gt; Please specify target interface:&lt;BR /&gt; J) JTAG (Default)&lt;BR /&gt; S) SWD&lt;BR /&gt; T) cJTAG&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 "MK22FN512XXX12" selected.&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; Connecting to target via SWD&lt;BR /&gt; InitTarget()&lt;BR /&gt; Connect Under Reset&lt;BR /&gt; Communication error while accessing MDM-AP.&lt;BR /&gt; Connect Under Reset&lt;BR /&gt; InitTarget()&lt;BR /&gt; Connect Under Reset&lt;BR /&gt; Communication error while accessing MDM-AP.&lt;BR /&gt; Connect Under Reset&lt;BR /&gt; &lt;BR /&gt; ****** Error: InitTarget(): PCode returned with error code -1&lt;BR /&gt; &lt;BR /&gt; InitTarget()&lt;BR /&gt; Connect Under Reset&lt;BR /&gt; Communication error while accessing MDM-AP.&lt;BR /&gt; Connect Under Reset&lt;BR /&gt; InitTarget()&lt;BR /&gt; Connect Under Reset&lt;BR /&gt; Communication error while accessing MDM-AP.&lt;BR /&gt; Connect Under Reset&lt;BR /&gt; &lt;BR /&gt; ****** Error: InitTarget(): PCode returned with error code -1&lt;BR /&gt; &lt;BR /&gt; Cannot connect to target.&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 17:14:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-needed-with-MK22FN512VLL12-bring-up/m-p/842068#M50773</guid>
      <dc:creator>lbedatsky</dc:creator>
      <dc:date>2018-09-19T17:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed with MK22FN512VLL12 bring-up...</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-needed-with-MK22FN512VLL12-bring-up/m-p/842069#M50774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lee,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Thanks for your updated information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; This problem mainly caused by these points:&lt;/P&gt;&lt;P&gt;1. Check the SWD connector to your JLINK JTAG interface, you must make sure the connection is correct.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/69959i1CF77D1DE3C3A4EC/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must make sure your connection is correct!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. About the hardware solder temperature, it is about 270 degree, high temperature may damage the chip.&lt;/P&gt;&lt;P&gt;3. When you select the chip, please choose MK22FN512XXX12 &amp;lt;allow security&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Then, when you meet the problem, you can input: unlock kinetis&lt;/P&gt;&lt;P&gt;&amp;nbsp; Then connect it again.&lt;/P&gt;&lt;P&gt;&amp;nbsp; If still have the connect problem, I am afraid your hardware or solder have the problem, you can try another board, when you solder the chip, please control the solder temperature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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>Thu, 20 Sep 2018 09:52:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Help-needed-with-MK22FN512VLL12-bring-up/m-p/842069#M50774</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-09-20T09:52:17Z</dc:date>
    </item>
  </channel>
</rss>

