<?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: How to program qn9080-dk with external J-Link Debugger in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/How-to-program-qn9080-dk-with-external-J-Link-Debugger/m-p/696364#M3444</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gerardo,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply, what you recommended is the first thing I tried... It doesn't work. &amp;nbsp;Just to be clear I connected my micro USB to J1 and then connected my jlink plus to the p1 connector. &amp;nbsp;Both my USB cable and my Jlink-plus work well. &amp;nbsp;I currently use my jlink-plus on 3 other projects and it works fine. &amp;nbsp;You mentioned that I need to isolate myself from the LPC, I thought the same. &amp;nbsp;From looking at the schematic it doesn't appear that isolating my self is as simple as not powering the LPC... The JTAG/SWD lines that are on the P1 connector don't appear to run directly to the QN9080 chip which is another reason why I can't simply use the P1 connector. &amp;nbsp;I also tried what you recommended with another qn9080 dev kit ( i have 2 ) and no dice, have you tried your recommendation? &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, I have also asked the same question to Hy Mai a field rep for NXP and he is also having problems using an external J-Link debugger.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Sep 2017 18:10:07 GMT</pubDate>
    <dc:creator>danieldelatorre</dc:creator>
    <dc:date>2017-09-11T18:10:07Z</dc:date>
    <item>
      <title>How to program qn9080-dk with external J-Link Debugger</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/How-to-program-qn9080-dk-with-external-J-Link-Debugger/m-p/696362#M3442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I’m currently writing code for QN908X dev kit and I’m having issues programming my dev kit using my j-link plus debugger via SWD.&amp;nbsp; In the QN908x DK User’s Guide it states that the 9-pin debug connector is for programming “off-board” targets which tells me this is simply for programming other arm cortex chips.&amp;nbsp; When I looked at the schematic section of the same user’s guide I also noticed that the debug connector’s IO lines run directly to the LPC MCU (ISP programmer) instead of the QN9080 chip which makes sense because the LPC is acting as the ISP.&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;So my questions are:&lt;BR /&gt;1. is my understanding correct that the debug connector is simply for programming other chips – this seems odd to me because I typically see a jumper option to disable the ISP and use the external debug connected.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;BR /&gt;2. If my understanding is correct, is there a recommended approach for using an external J-Link debugger? &amp;nbsp;I'm currently looking into hacking up my dev board (going to start cutting traces) but before I do I wanted to see if perhaps I'm missing something.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;3. Is there a pdf for just the schematic, the schematic drawings in the User's Guide are not the best quality. &amp;nbsp;In some cases I can't read part numbers, and if I zoom in too much the image gets very pix-elated.&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;BTW, I can program the board just fine using the ISP along with properly configuring my IDE’s CMSIS DAP settings.&amp;nbsp; Although I need to verify that we can use an external swd interface for validating our new hardware.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2017 23:21:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/How-to-program-qn9080-dk-with-external-J-Link-Debugger/m-p/696362#M3442</guid>
      <dc:creator>danieldelatorre</dc:creator>
      <dc:date>2017-09-06T23:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to program qn9080-dk with external J-Link Debugger</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/How-to-program-qn9080-dk-with-external-J-Link-Debugger/m-p/696363#M3443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To answer your questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1 &amp;amp; 2:&lt;/STRONG&gt; You can use the same P1 connector with an external probe to program the QN9080, however, you need to isolate the LPC from these lines, as it interferes with the external debugger if powered on. The easiest way to do this is by powering the QN9080DK board via the J1 connector, this way only the QN9080 gets powered and the LPC remains off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3.&lt;/STRONG&gt; I will request internally to see if they can upload the .pdf schematics of the QN9080DK to the website. I will keep you updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gerardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2017 21:41:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/How-to-program-qn9080-dk-with-external-J-Link-Debugger/m-p/696363#M3443</guid>
      <dc:creator>gerardo_rodriguez</dc:creator>
      <dc:date>2017-09-08T21:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to program qn9080-dk with external J-Link Debugger</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/How-to-program-qn9080-dk-with-external-J-Link-Debugger/m-p/696364#M3444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gerardo,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply, what you recommended is the first thing I tried... It doesn't work. &amp;nbsp;Just to be clear I connected my micro USB to J1 and then connected my jlink plus to the p1 connector. &amp;nbsp;Both my USB cable and my Jlink-plus work well. &amp;nbsp;I currently use my jlink-plus on 3 other projects and it works fine. &amp;nbsp;You mentioned that I need to isolate myself from the LPC, I thought the same. &amp;nbsp;From looking at the schematic it doesn't appear that isolating my self is as simple as not powering the LPC... The JTAG/SWD lines that are on the P1 connector don't appear to run directly to the QN9080 chip which is another reason why I can't simply use the P1 connector. &amp;nbsp;I also tried what you recommended with another qn9080 dev kit ( i have 2 ) and no dice, have you tried your recommendation? &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, I have also asked the same question to Hy Mai a field rep for NXP and he is also having problems using an external J-Link debugger.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 18:10:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/How-to-program-qn9080-dk-with-external-J-Link-Debugger/m-p/696364#M3444</guid>
      <dc:creator>danieldelatorre</dc:creator>
      <dc:date>2017-09-11T18:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to program qn9080-dk with external J-Link Debugger</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/How-to-program-qn9080-dk-with-external-J-Link-Debugger/m-p/696365#M3445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to program the QN9080 with an external J-Link and powering the board through J1 with both MCUXpresso&amp;nbsp;v10.0.2 and IAR 8.11. Here is a picture of my setup:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/28585i17B630149F74398F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.jpg" alt="pastedImage_1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the version of your QN9080DK?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The QN_PA23_TMS_SWDIO signal&amp;nbsp;from the QN9080 module is connected directly to P1 pin 2 (IF_TMS_SWDIO) and&amp;nbsp;QN_PA22_TCK_SWDCLK signal from the QN9080 module is connected by U3 (double-throw analog switch) to P1 pin 4 (IF_TCK_SWCLK). Can you verify we have the same jumper connections from the picture above?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 21:34:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/How-to-program-qn9080-dk-with-external-J-Link-Debugger/m-p/696365#M3445</guid>
      <dc:creator>gerardo_rodriguez</dc:creator>
      <dc:date>2017-09-11T21:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to program qn9080-dk with external J-Link Debugger</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/How-to-program-qn9080-dk-with-external-J-Link-Debugger/m-p/696366#M3446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! My issue was with JP16, I didn't have a jumper there so it was expecting a batter! &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 22:18:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/How-to-program-qn9080-dk-with-external-J-Link-Debugger/m-p/696366#M3446</guid>
      <dc:creator>danieldelatorre</dc:creator>
      <dc:date>2017-09-11T22:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to program qn9080-dk with external J-Link Debugger</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/How-to-program-qn9080-dk-with-external-J-Link-Debugger/m-p/696367#M3447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Geraldo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm also having problem with using Segger J-Link debug probe and MCUXpresso IDE to debug the QN908x DK board. I see the picture and thread you posted above, it looks like you were able to "program" the board successfully. Were you using the QN9080 Programmaning tool just to program it, or were you actually using MCUXpresso IDE to conduct a debug session via J-Link probe? If it is the latter, I'm very interested in learning how you set it up. I have all the jumper setting just like yours. I also connect the power to J1 and dubug probe to P1 (I had to remove pin 7 of the connector to fit the Segger J-Link probe). I followed the instruction in section 4.4 of the Quick Start User Guide:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/nxp/user-guides/UM11097.pdf" title="https://www.nxp.com/docs/en/nxp/user-guides/UM11097.pdf"&gt;https://www.nxp.com/docs/en/nxp/user-guides/UM11097.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to change the debug mode to J-Link. I also get latest version of JLink driver.&lt;/P&gt;&lt;P&gt;Despite all that, it still fails on me.&lt;/P&gt;&lt;P&gt;The attached picture shows my hardware setup.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="JLINK_QN908x.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/11495iF0EFF452C3EA251D/image-size/large?v=v2&amp;amp;px=999" role="button" title="JLINK_QN908x.jpg" alt="JLINK_QN908x.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The following shows my Debug Config menu in MCUXpresso IDE:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture6.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/11413iA629DCBC16FABF68/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture6.PNG" alt="Capture6.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The following shows the result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture9.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/11451iB90C751FF6E2D362/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture9.PNG" alt="Capture9.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would appreciate your review and pointing out anything that I might have missed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Daniel Truong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 01:10:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/How-to-program-qn9080-dk-with-external-J-Link-Debugger/m-p/696367#M3447</guid>
      <dc:creator>danieltruong</dc:creator>
      <dc:date>2018-03-08T01:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to program qn9080-dk with external J-Link Debugger</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/How-to-program-qn9080-dk-with-external-J-Link-Debugger/m-p/696368#M3448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this setup I could use&amp;nbsp;MCUXpresso IDE to conduct a debug session via J-Link probe. I find strange in your debug Configuration window that the &lt;EM&gt;JLink interface&lt;/EM&gt; and &lt;EM&gt;Device&lt;/EM&gt; was not detected correctly. See below my window, where the&amp;nbsp;&lt;EM&gt;JLink interface&amp;nbsp;&lt;/EM&gt;displays the S/N of my JLink probe and the&amp;nbsp;&lt;EM&gt;Device&lt;/EM&gt; is "QN9080C".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/12969iB8134FAA84DEA967/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you create the debug configuration manually? If so, please delete this debug configuration and instead use the &lt;EM&gt;Debug "project_name"&lt;/EM&gt; option from the&amp;nbsp;&lt;STRONG&gt;Quickstart Panel&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13183iEF78AEE65C8F9D9B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This button will start a debug probe discovery and create the debug configuration accordingly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13217iCA891337CB46E0B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this solves the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gerardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 20:36:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/How-to-program-qn9080-dk-with-external-J-Link-Debugger/m-p/696368#M3448</guid>
      <dc:creator>gerardo_rodriguez</dc:creator>
      <dc:date>2018-03-08T20:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to program qn9080-dk with external J-Link Debugger</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/How-to-program-qn9080-dk-with-external-J-Link-Debugger/m-p/696369#M3449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gerardo,&lt;/P&gt;&lt;P&gt;Yes, I did create it manually. I followed your advice and deleted it. Now I'm using the button&amp;nbsp;"Debug_&amp;lt;project name&amp;gt;"&amp;nbsp; in the Quickstart panel. Unfortunately, I got no luck with the following response:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture9.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/11502iC2BF467C98752302/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture9.PNG" alt="Capture9.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It couldn't detect the J-Link probe. What kind of probe are you using? I wonder I got the wrong probe (J-Link base) as in the above picture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 21:17:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/How-to-program-qn9080-dk-with-external-J-Link-Debugger/m-p/696369#M3449</guid>
      <dc:creator>danieltruong</dc:creator>
      <dc:date>2018-03-08T21:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to program qn9080-dk with external J-Link Debugger</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/How-to-program-qn9080-dk-with-external-J-Link-Debugger/m-p/696370#M3450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gerardo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I made a mistake not to delete all configurations. I only deleted the one I manually created, leaving still the one in the "C/C++ (NXP Semiconductors MCU Application" menu. That's why I got the error message. Now after I deleted all configurations and started over by pressing "Debug &amp;lt;project name&amp;gt;" button, it can discover the J-link probe now.&lt;/P&gt;&lt;P&gt;With great pleasure, I'm informing that I solved my problem, mostly thanks to your advice in this post.&lt;/P&gt;&lt;P&gt;Thanks so much and have a great day!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 22:01:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/How-to-program-qn9080-dk-with-external-J-Link-Debugger/m-p/696370#M3450</guid>
      <dc:creator>danieltruong</dc:creator>
      <dc:date>2018-03-08T22:01:41Z</dc:date>
    </item>
  </channel>
</rss>

