<?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: Kinetis: cannot enter background mode with P&amp;E GDB server  in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-cannot-enter-background-mode-with-P-E-GDB-server/m-p/458032#M27322</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Earl Orlando,&lt;/P&gt;&lt;P&gt;thanks for the reply.&lt;/P&gt;&lt;P&gt;My JTAG was originally routed the wrong way but I fixed it in my cable. My configuration is as shown in your figure 2-8 besides pin 9 which is grounded on the connector. The MCU pin EZP_CS_B is floating. I have a 10k pull-up on both JTAG_TMS and reset_b. I have also added a 100n capacitor to ground. Still the same problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also tried to use the JTAG tool from the KDS on Linux. The debugger detects the tool but debugging fails with the following message:&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/54288i52E5E049FFA8CEFC/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;The board was programmed with some simple code by another company before I got it, but it shouldn't matter, should it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jul 2015 10:37:37 GMT</pubDate>
    <dc:creator>yuliap</dc:creator>
    <dc:date>2015-07-08T10:37:37Z</dc:date>
    <item>
      <title>Kinetis: cannot enter background mode with P&amp;E GDB server</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-cannot-enter-background-mode-with-P-E-GDB-server/m-p/458030#M27320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to connect to a custom board using P&amp;amp;E multilink tool and P&amp;amp;E GDB server for Kinetis. My MCU is MK60DN512VMD10.&lt;/P&gt;&lt;P&gt;I get the error message as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Server running on 127.0.0.1:7224&lt;/P&gt;&lt;P&gt;P&amp;amp;E Interface detected - Flash Version 9.33&lt;/P&gt;&lt;P&gt;Can not enter background mode&amp;nbsp; .&lt;/P&gt;&lt;P&gt;Unable to initialize PEDebug.&lt;/P&gt;&lt;P&gt;PE-ERROR: Failed to Initialize Target&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to change device name, additional options (SWD mode on/off, erase on connect on/off) and debug speed, but still the same message. When I measure on the JTAG with an oscilloscope, I detect activity on the reset, TCK, TMS and TDI lines. The levels look correct. But there is no activity on TDO!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't have an external oscillator in my design. The EZP_CS_b pin is not connected either. Could any of this be the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yulia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 12:48:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-cannot-enter-background-mode-with-P-E-GDB-server/m-p/458030#M27320</guid>
      <dc:creator>yuliap</dc:creator>
      <dc:date>2015-07-07T12:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis: cannot enter background mode with P&amp;E GDB server</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-cannot-enter-background-mode-with-P-E-GDB-server/m-p/458031#M27321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yulia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It usually is due to hardware problems. Could you please share your schematic (at least the debug interface)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the &lt;A href="http://cache.freescale.com/files/32bit/doc/quick_ref_guide/KQRUG.pdf?fasp=1" title="http://cache.freescale.com/files/32bit/doc/quick_ref_guide/KQRUG.pdf?fasp=1"&gt;KQRUG&lt;/A&gt; in the section 2.1.5.3 Debug interface are shown the hardware considerations for the JTAG and SWD interfaces.&lt;/P&gt;&lt;P&gt;&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/52233iB5C8951291B77B6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&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/52246iF781FB717824D736/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;There can be seen that the data line needs a pull up resistor. Also, it is needed a pull up resistor and a ~100 nF capacitor in the reset line, this is not shown in those schematics.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please confirm that you have that hardware in your board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Beast regards,&lt;/P&gt;&lt;P&gt;Earl Orlando.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 20:21:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-cannot-enter-background-mode-with-P-E-GDB-server/m-p/458031#M27321</guid>
      <dc:creator>EarlOrlando</dc:creator>
      <dc:date>2015-07-07T20:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis: cannot enter background mode with P&amp;E GDB server</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-cannot-enter-background-mode-with-P-E-GDB-server/m-p/458032#M27322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Earl Orlando,&lt;/P&gt;&lt;P&gt;thanks for the reply.&lt;/P&gt;&lt;P&gt;My JTAG was originally routed the wrong way but I fixed it in my cable. My configuration is as shown in your figure 2-8 besides pin 9 which is grounded on the connector. The MCU pin EZP_CS_B is floating. I have a 10k pull-up on both JTAG_TMS and reset_b. I have also added a 100n capacitor to ground. Still the same problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also tried to use the JTAG tool from the KDS on Linux. The debugger detects the tool but debugging fails with the following message:&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/54288i52E5E049FFA8CEFC/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;The board was programmed with some simple code by another company before I got it, but it shouldn't matter, should it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 10:37:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-cannot-enter-background-mode-with-P-E-GDB-server/m-p/458032#M27322</guid>
      <dc:creator>yuliap</dc:creator>
      <dc:date>2015-07-08T10:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis: cannot enter background mode with P&amp;E GDB server</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-cannot-enter-background-mode-with-P-E-GDB-server/m-p/458033#M27323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yulia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please be sure that the cable is ~15 cm (or shorter). Also in the KQRUG, you can see that the NMI_b pin needs a pull up resistor and the RESET_b capacitor needs to be as closer to the MCU as possible.&lt;/P&gt;&lt;P&gt;&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/57501i9E342879473D1B17/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;Also, in the &lt;A href="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4835.pdf" title="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4835.pdf"&gt;AN4835&lt;/A&gt;​ in the section 3. Programming interfaces is mentioned that the EZP_CS pin (pin 9 in the 10-pin debug interface) must be in high to enable the SWD/JTAG functions. Please add a pull up resistor.​&lt;/P&gt;&lt;P&gt;&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/57539iC290B1709BF72F64/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;Best regards,&lt;/P&gt;&lt;P&gt;Earl.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 20:08:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-cannot-enter-background-mode-with-P-E-GDB-server/m-p/458033#M27323</guid>
      <dc:creator>EarlOrlando</dc:creator>
      <dc:date>2015-07-08T20:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis: cannot enter background mode with P&amp;E GDB server</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-cannot-enter-background-mode-with-P-E-GDB-server/m-p/458034#M27324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I finally solved it. The schematic was wrong and the pin-out of the JTAG was not correct relative to the HW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yulia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 11:59:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-cannot-enter-background-mode-with-P-E-GDB-server/m-p/458034#M27324</guid>
      <dc:creator>yuliap</dc:creator>
      <dc:date>2015-07-14T11:59:25Z</dc:date>
    </item>
  </channel>
</rss>

