<?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>NRF52840 Dongle USB Power only works with debugger connected</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/53045/nrf52840-dongle-usb-power-only-works-with-debugger-connected</link><description>Hi, I have a holyiot NRF52840 dongle (schematic below). I am able to program it via the swd interface and have BLE examples running (as long as power is attached to VDD), but as soon as I try a USB example, the dongle is only detected as a USB device</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 21 Feb 2021 05:18:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/53045/nrf52840-dongle-usb-power-only-works-with-debugger-connected" /><item><title>RE: NRF52840 Dongle USB Power only works with debugger connected</title><link>https://devzone.nordicsemi.com/thread/295453?ContentTypeID=1</link><pubDate>Sun, 21 Feb 2021 05:18:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:533c0b47-b4de-4512-809b-039d7f59cb76</guid><dc:creator>mtsunstrum</dc:creator><description>&lt;p&gt;Seems like something may have damaged the PCA10059 ... just not sure what.&lt;/p&gt;
&lt;p&gt;From my 2nd new PC10059, I dumped complete flash contents, including UICR register&lt;/p&gt;
&lt;p&gt;(nrfjprog --readuicr --readcode xxx).hex&lt;/p&gt;
&lt;p&gt;Then I reprogrammed that into the PCA10059 where VDD_OUT is not working. Did a readback to verify code/UICR are presumably identical.&lt;/p&gt;
&lt;p&gt;With both running same code/UICR it did not address the problem with the one PCA10059. :{&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 Dongle USB Power only works with debugger connected</title><link>https://devzone.nordicsemi.com/thread/295452?ContentTypeID=1</link><pubDate>Sun, 21 Feb 2021 04:26:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ba30431-a788-47c2-90a0-116e85dd3056</guid><dc:creator>mtsunstrum</dc:creator><description>&lt;p&gt;Saw the exact same thing today. &lt;strong&gt;New PCA10059&lt;/strong&gt; (Version 1.2.0)&lt;/p&gt;
&lt;p&gt;Occurred after I successfully flashed in an application (which happened to blow away the existing USB DFU Bootloader). Application ran fine.&lt;/p&gt;
&lt;p&gt;The issue where VUSB was healthy, but VDD remained stuck at 0.45V seemed to occur after attempting a new JTAG flash attempt.&lt;/p&gt;
&lt;p&gt;Stroke VDD_OUT momentarily with a 3V3 voltage, and voila it them remains at presumably its REGOUT programmed value of 3.0V.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Remove from USB port, and problem occurs again. Stroke VDD_OUT with 3V3, and it comes alive. So weird.&lt;/p&gt;
&lt;p&gt;Gives me a feeling there is some power up sequence that is not happening properly.&lt;/p&gt;
&lt;p&gt;On the faulty unit, I also noticed that&amp;nbsp;DECUSB/C20 is measuring 0V ... on normal unit, this is 3.3V. So gives a sense that something is preventing nRF52840 USB from enabling it&amp;#39;s internal 3V3 USB supply.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 Dongle USB Power only works with debugger connected</title><link>https://devzone.nordicsemi.com/thread/215050?ContentTypeID=1</link><pubDate>Tue, 15 Oct 2019 11:39:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb49c461-f7e8-4ea8-821a-aa2061c985d1</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Is SB1 open and SB2 shorted?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;What is the voltage on the VBUS pin and VDDH in the failing scenario?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;What voltage have you configured REG0 to output?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 Dongle USB Power only works with debugger connected</title><link>https://devzone.nordicsemi.com/thread/214548?ContentTypeID=1</link><pubDate>Fri, 11 Oct 2019 09:51:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:838f13d2-f281-4c2b-8fab-326b5ed89da2</guid><dc:creator>bersaden</dc:creator><description>&lt;p&gt;I have compiled and tested the usbd, usbd_cdc_acm, usbd_hid_generic, usb_msc, usbd_hid_composite, usbd_ble_uart, ble_app_hrs, and blinky examples for both PCA10056 and PCA10059, with identical behaviour observed. In the case of blinky, I made sure to set the correct LED pin.&lt;/p&gt;
&lt;p&gt;The voltage of VDD after plugging into USB is 0.45V and nothing happens. After I use the debugger as described, VDD is 1.8V, or whatever I&amp;#39;ve defined for REGOUT0 (have also tested with 3.3V and it works) and the device comes to life and enumerates over USB, starts blinking, or starts advertising over BLE.&lt;/p&gt;
&lt;p&gt;After removing the debugger, VDD stays at 1.8V (or REGOUT0 value) and the device continues to operate on USB power.&lt;/p&gt;
&lt;p&gt;I have found an identical issue reported &lt;a href="https://lists.zephyrproject.org/g/devel/topic/nrf52840_pca10059_startup/24964407?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,20,24964407"&gt;here&lt;/a&gt; with the official pca10059 dongle, so I&amp;#39;m inclined to believe that something has broken in the regulator stages of the SOC.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 Dongle USB Power only works with debugger connected</title><link>https://devzone.nordicsemi.com/thread/214528?ContentTypeID=1</link><pubDate>Fri, 11 Oct 2019 08:27:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90cc75cb-f861-40f8-9132-2b89ee6e1c18</guid><dc:creator>haakonsh</dc:creator><description>[quote user="bersaden"]I&amp;#39;m just using the standard pca10056/pca10059 examples in SDK 15.3.0[/quote]
&lt;p&gt;I need to know exactly what example you&amp;#39;re running and for what target.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The module schematic seems to be correct.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="bersaden"]Again, the dongle does not power up until I provide power to VDD or toggle the debug lines with a 3.3V signal. [/quote]
&lt;p&gt;&amp;nbsp;What is the voltage of VDD before and after you do this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 Dongle USB Power only works with debugger connected</title><link>https://devzone.nordicsemi.com/thread/214202?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2019 14:19:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4efdc104-4462-476a-8ac3-677c159e5553</guid><dc:creator>bersaden</dc:creator><description>&lt;p&gt;Thank you for your response. I&amp;#39;m just using the standard pca10056/pca10059 examples in SDK 15.3.0 trying to get something to work, so I&amp;#39;m not sure why it wouldn&amp;#39;t be working.&lt;/p&gt;
&lt;p&gt;Reading the USB CDC ACM documentation,&amp;nbsp; it seems like the debugger is required, so I tested everything again with the ble_app_hrs examle for pca10059. Again, the dongle does not power up until I provide power to VDD or toggle the debug lines with a 3.3V signal. After doing this, the dongle starts advertising and I&amp;#39;m able to unplug the programmer and it keeps working off USB power. Perhaps the board from the schematic above is different enough that I need to define a custom board.h file, but I&amp;#39;m not sure how I&amp;#39;d go about that for this dongle. Could the way DCCH is connected to VDDH/VBUS have something to do with this problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 Dongle USB Power only works with debugger connected</title><link>https://devzone.nordicsemi.com/thread/214173?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2019 13:02:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d55fa7d-4c60-4ae1-9daa-f728ea8586e9</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;My best guess is that somewhere in your application you&amp;#39;re trying to put the system into SystemOFF at a point where you&amp;#39;d rather want to use SystemON Idle, and the SDK is set up to use &lt;a title="Emulated System OFF mode" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/power.html?cp=3_0_0_4_2_2_0#unique_142049681"&gt;Emulated System OFF mode&lt;/a&gt; whenever the debugger is attached. &lt;br /&gt;&lt;br /&gt;I&amp;#39;d double-check how your application puts the device into sleep, as it fits perfectly with the symptoms.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>