<?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: Not able to connect with MKE15Z using J-Link in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Not-able-to-connect-with-MKE15Z-using-J-Link/m-p/1034916#M56639</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="355542" data-username="xpress-embedo" href="https://community.nxp.com/people/xpress-embedo"&gt;xpress-embedo&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems that your kinetis is blocked, I suggest you refer to this post &lt;A ___default_attr="440212" _jive_internal="true" data-orig-content=" Communication error while accessing MDM-AP." href="https://community.nxp.com/thread/440212" jivemacro="thread" title=" Communication error while accessing MDM-AP."&gt; Communication error while accessing MDM-AP.&lt;/A&gt;&amp;nbsp; in order to unlock your micro.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if the suggestion is helpful,&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Omar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Apr 2020 21:07:19 GMT</pubDate>
    <dc:creator>Omar_Anguiano</dc:creator>
    <dc:date>2020-04-03T21:07:19Z</dc:date>
    <item>
      <title>Not able to connect with MKE15Z using J-Link</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Not-able-to-connect-with-MKE15Z-using-J-Link/m-p/1034915#M56638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am new to NXP and Cortex based Micro-controllers, and working on a project.&lt;BR /&gt;Everything was working fine, but I think I messed up a setting in the project and due to which I am not able to connect with my board.&lt;/P&gt;&lt;P&gt;The board is based on&amp;nbsp;the MKE15Z256VLH7 micro-controller. It was working fine without any problem but suddenly after some changes in the code, it stopped working.&lt;/P&gt;&lt;P&gt;I am not sure, but it looks like that I accidentally change the Pin Mux associated with the RESET pin.&lt;/P&gt;&lt;P&gt;By Default PTA5 is RESET_b and I changed it to ALT_0 (As per datasheet, nothing is present on this setting), by mistake, this is done.&lt;/P&gt;&lt;P&gt;Is there, anyway, I can program and debug my board again.&lt;/P&gt;&lt;P&gt;I tried to connect using J-Link commander, the following is the scenario I am getting.&lt;/P&gt;&lt;PRE __default_attr="info" __jive_macro_name="alert" alert="info" class="jive_text_macro jive_macro_alert"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SEGGER J-Link Commander V6.54c (Compiled Nov 7 2019 17:01:56)
DLL version V6.54c, compiled Nov 7 2019 17:01:02&lt;/P&gt;&lt;P&gt;Connecting to J-Link via USB...O.K.
Firmware: J-Link V9 compiled May 17 2019 09:50:41
Hardware version: V9.30
S/N:&amp;nbsp;XXXXXXX
License(s): GDB
VTref=4.616V&lt;/P&gt;&lt;P&gt;
Type "connect" to establish a target connection, '?' for help
J-Link&amp;gt;connect
Please specify device / core. &amp;lt;Default&amp;gt;: MKE15Z256XXX7
Type '?' for selection dialog
Device&amp;gt;MKE15Z256XXX7
Please specify target interface:
 J) JTAG (Default)
 S) SWD
 T) cJTAG
TIF&amp;gt;S
Specify target interface speed [kHz]. &amp;lt;Default&amp;gt;: 4000 kHz
Speed&amp;gt;1000
Device "MKE15Z256XXX7" selected.&lt;/P&gt;&lt;P&gt;
Connecting to target via SWD
InitTarget()
Connect Under Reset
Communication error while accessing MDM-AP.
Connect Under Reset
InitTarget()
Connect Under Reset
Communication error while accessing MDM-AP.
Connect Under Reset&lt;/P&gt;&lt;P&gt;****** Error: InitTarget(): PCode returned with error code -1&lt;/P&gt;&lt;P&gt;InitTarget()
Connect Under Reset
Communication error while accessing MDM-AP.
Connect Under Reset
InitTarget()
Connect Under Reset
Communication error while accessing MDM-AP.
Connect Under Reset&lt;/P&gt;&lt;P&gt;****** Error: InitTarget(): PCode returned with error code -1&lt;/P&gt;&lt;P&gt;Cannot connect to target.
J-Link&amp;gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;I even tried with MKE15Z256XXX7 (ALLOW SECURITY), but still, it didn't connect.&lt;/P&gt;&lt;P&gt;With IAR I am getting this error now. (As I am not able to connect)&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="Controller Problem.PNG"&gt;&lt;IMG alt="Controller Problem.PNG" src="https://community.nxp.com/t5/image/serverpage/image-id/104571i375A87B450DB1ED7/image-size/large?v=v2&amp;amp;px=999" title="Controller Problem.PNG" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some few additional points:&lt;/P&gt;&lt;P&gt;* RESET pin is pulled high in hardware using 10k resistor.&lt;/P&gt;&lt;P&gt;* I already tried a basic/simple program, to turn on the led, and I have the same problem now with all projects.&lt;/P&gt;&lt;P&gt;Please let me know if some more information is required from my side.&lt;/P&gt;&lt;P&gt;Reset Circuit is as below.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="Reset.PNG"&gt;&lt;IMG alt="Reset.PNG" src="https://community.nxp.com/t5/image/serverpage/image-id/104675i8CCACF8868841EF1/image-size/large?v=v2&amp;amp;px=999" title="Reset.PNG" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 14:37:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Not-able-to-connect-with-MKE15Z-using-J-Link/m-p/1034915#M56638</guid>
      <dc:creator>arun07</dc:creator>
      <dc:date>2020-11-02T14:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to connect with MKE15Z using J-Link</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Not-able-to-connect-with-MKE15Z-using-J-Link/m-p/1034916#M56639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="355542" data-username="xpress-embedo" href="https://community.nxp.com/people/xpress-embedo"&gt;xpress-embedo&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems that your kinetis is blocked, I suggest you refer to this post &lt;A ___default_attr="440212" _jive_internal="true" data-orig-content=" Communication error while accessing MDM-AP." href="https://community.nxp.com/thread/440212" jivemacro="thread" title=" Communication error while accessing MDM-AP."&gt; Communication error while accessing MDM-AP.&lt;/A&gt;&amp;nbsp; in order to unlock your micro.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if the suggestion is helpful,&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Omar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Apr 2020 21:07:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Not-able-to-connect-with-MKE15Z-using-J-Link/m-p/1034916#M56639</guid>
      <dc:creator>Omar_Anguiano</dc:creator>
      <dc:date>2020-04-03T21:07:19Z</dc:date>
    </item>
  </channel>
</rss>

