<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>nRF52840 dongle with J-Link EDU Mini fails in VSCode debugging and also fails with external power supply</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/88472/nrf52840-dongle-with-j-link-edu-mini-fails-in-vscode-debugging-and-also-fails-with-external-power-supply</link><description>Having developed a dual-role Central and Peripheral BLE app, I&amp;#39;ve been trying to use the Dongle to do power measurements. My app works fine in VSCode with the nrf52 on a RF9160DK, but fails to run/debug when built for the dongle and J-Link. 
 In an effort</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Thu, 02 Jun 2022 17:00:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/88472/nrf52840-dongle-with-j-link-edu-mini-fails-in-vscode-debugging-and-also-fails-with-external-power-supply" /><item><title>RE: nRF52840 dongle with J-Link EDU Mini fails in VSCode debugging and also fails with external power supply</title><link>https://test-devzone.nordicsemi.com/thread/370748?ContentTypeID=1</link><pubDate>Thu, 02 Jun 2022 17:00:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51a86e68-0552-4363-ac73-4bcdc257b328</guid><dc:creator>user90435</dc:creator><description>&lt;p&gt;This seems to be the case I added &amp;quot;&lt;span&gt;CONFIG_BOARD_HAS_NRF5_BOOTLOADER&lt;/span&gt;&lt;span&gt;=n&amp;quot; to my proj.conf file and now VSCode can run/debug on the dongle through the J-Link Mini.&amp;nbsp; The Dongle&amp;#39;s normal bootloader resides in the first 0x1000 offset which doesn&amp;#39;t apply when using a debugger which wipes out the bootloader...&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 dongle with J-Link EDU Mini fails in VSCode debugging and also fails with external power supply</title><link>https://test-devzone.nordicsemi.com/thread/370518?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2022 16:24:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76fc1f6c-e126-4b58-9ed0-2cb08759b80d</guid><dc:creator>user90435</dc:creator><description>&lt;p&gt;Apparently the behavior&amp;nbsp;changes with which&amp;nbsp;board you select.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I used VSCode to compile the same code (both blinky and my app), but changed the target board from the nRF52840dongle_nrf52840 to&amp;nbsp;&lt;span&gt;nRF52840dk_nrf52840&amp;nbsp;and now both codes work with an external supply.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So there must be some configuration discrepancy between the two.&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Perhaps it has to do with the&amp;nbsp;presence of the DFU bootloader and startup vector or something.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 dongle with J-Link EDU Mini fails in VSCode debugging and also fails with external power supply</title><link>https://test-devzone.nordicsemi.com/thread/370492?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2022 14:46:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b051e1f-cf77-4c63-8cda-b99404322cb3</guid><dc:creator>user90435</dc:creator><description>&lt;p&gt;I took an un-modified dongle and programmed the blinky hex file using DFU and the Programmer 3.0.0.&lt;/p&gt;
&lt;p&gt;Then modified it for external supply...yes it apparently worked (blinks) from 3.3v external supply.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 dongle with J-Link EDU Mini fails in VSCode debugging and also fails with external power supply</title><link>https://test-devzone.nordicsemi.com/thread/370471?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2022 13:30:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8406d23-6db5-4369-b633-c62333a97d6a</guid><dc:creator>user73165</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;I was able to flash and execute the blinky example on the Dongle with NCS v1.8.0.&lt;/p&gt;
&lt;p&gt;If you set the device in DFU mode, does it show up on your computer? Can you try to reprogram the bootloader by following &lt;a href="https://test-devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;this &lt;/a&gt;guide?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>