<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Possibility to debugging and flashing the 52840 DK while PPK is on top.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61395/possibility-to-debugging-and-flashing-the-52840-dk-while-ppk-is-on-top</link><description>Is there a possibility to debug and flash the DK while the PPK is connected via the headers? Right now I am taking the PPK off to flash; debuging is not possible. 
 If not, what is the recommended setup? Using one DK to debug and connect the PPK via External</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 May 2020 13:35:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61395/possibility-to-debugging-and-flashing-the-52840-dk-while-ppk-is-on-top" /><item><title>RE: Possibility to debugging and flashing the 52840 DK while PPK is on top.</title><link>https://devzone.nordicsemi.com/thread/251730?ContentTypeID=1</link><pubDate>Tue, 26 May 2020 13:35:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:909a5452-2f47-484c-9ea6-4040ca5054ec</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Yes, even if __WFI() is called, the current consumption will be high in debug mode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Possibility to debugging and flashing the 52840 DK while PPK is on top.</title><link>https://devzone.nordicsemi.com/thread/249954?ContentTypeID=1</link><pubDate>Thu, 14 May 2020 12:23:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e498996-3545-4ae2-90df-f503a68048c9</guid><dc:creator>rico</dc:creator><description>&lt;p&gt;Thanks for the answer.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="4556" url="~/f/nordic-q-a/61395/possibility-to-debugging-and-flashing-the-52840-dk-while-ppk-is-on-top/249930"]Anyways, the chip in debug mode has a constant current draw of about 3 mA. So you might not get that much information from measuring the current while debugging.[/quote]
&lt;p&gt;I think that is fine, since the workflow would be to make some changes,flash&amp;amp;debug them, disconnect the debugger and make a current consumption check.&lt;/p&gt;
&lt;p&gt;Is this still true even if __WFI() is called for example?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Possibility to debugging and flashing the 52840 DK while PPK is on top.</title><link>https://devzone.nordicsemi.com/thread/249930?ContentTypeID=1</link><pubDate>Thu, 14 May 2020 11:35:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bab11b09-917e-4d48-a747-8c7dc6cd67ca</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Hi, there&amp;#39;s a switch on the PPK that selects which chip to flash. SW3 (COM). I think maybe the naming is wrong, so that the DK position is the PPK, and EXT is the DK.&lt;/p&gt;
&lt;p&gt;You can&amp;#39;t debug while using the PPK (PPK on top of the DK), because the PPK uses the debugger on the DK to communicate with the PC.&lt;/p&gt;
&lt;p&gt;If you want to debug while using the PPK you will need a separate DK or debugger. You can power the nRF5240 DK through the DUT supply -&amp;gt; external supply on DK. Then on the DK you need to set the VEXT-&amp;gt;nRF switch to ON and the SW6 to the nRF ONLY position so that the external supply header is not powering everything else on the DK. You must also have a USB cable connected to the USB port on the DK so that the debugger chip is powered. Otherwise the debugger chip will be powered through the SWD lines and RESET line, which will give a high leakage current.&lt;/p&gt;
&lt;p&gt;Anyways, the chip in debug mode has a constant current draw of about 3 mA. So you might not get that much information from measuring the current while debugging.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>