<?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 custom board does not work when powered by VBUS and not found by J-link</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87017/nrf52840-custom-board-does-not-work-when-powered-by-vbus-and-not-found-by-j-link</link><description>Hello everyone 
 I have a bunch of custom dongles from the company I work for and two of them started to behave in a strange way after I tried to erase and program them through the PCA10056 board. They all are nRF52840 based dongles. The other dongles</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 Apr 2022 13:47:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87017/nrf52840-custom-board-does-not-work-when-powered-by-vbus-and-not-found-by-j-link" /><item><title>RE: NRf52840 custom board does not work when powered by VBUS and not found by J-link</title><link>https://devzone.nordicsemi.com/thread/365225?ContentTypeID=1</link><pubDate>Wed, 27 Apr 2022 13:47:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50225acf-89bd-4f14-aa04-0464386e4846</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You&amp;nbsp;can just try to power VDD with 3V while programming instead of VDDH. You should be able to program the device then. With new firmware that you are programming , you can set the REG0 output to 3V. You should be able to flash with the DK later, even when VDDH is powered.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Kazi Afroza Sultana&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRf52840 custom board does not work when powered by VBUS and not found by J-link</title><link>https://devzone.nordicsemi.com/thread/364554?ContentTypeID=1</link><pubDate>Sat, 23 Apr 2022 12:38:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a95e0087-be9e-4bd1-b243-e675a37921ca</guid><dc:creator>Vahidreza</dc:creator><description>&lt;p&gt;Hello Kazi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for your reply&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It looks like the problem is what you mentioned, as the voltage on SWDIO pin is less that 1V when connecting the dongle to the DK. The voltage on SWDIO pin is about 2.7V for the other dongles when connecting to the DK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So I need an external debug&amp;nbsp;probe. But I&amp;#39;m confused which version is good to buy. According to the link you shared I need a programmer&amp;nbsp;&lt;span&gt;that adapts the logic levels to the target device. J-link Pro is offered in there. Does that mean that I can&amp;#39;t use a J-Link Base for&amp;nbsp;adapting the logic levels to the target device? I can&amp;#39;t&amp;nbsp;afford buying a J-Link Pro now, that&amp;#39;s why I&amp;#39;m asking. I tried to find the differences in Segger official website but I&amp;nbsp;&lt;/span&gt;couldn&amp;#39;t find anything about &amp;quot;Adapting logic levels&amp;nbsp;to the target device&amp;quot;.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;There are also some other devices with a very low price. They are called Emulators. What about them?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And please tell me if I&amp;#39;m right about the need of external debugger as the voltage on SDWIO pin is less that 1V when connecting to the DK. The voltage on&amp;nbsp;this pin is 2.7V when not connected to the DK but&amp;nbsp;it is not fixed. It&amp;nbsp;sometimes drops down to 1V and sometimes to 0 also. IT IS NOT BEHAVING NORMALLY BY THE WAY.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In&amp;nbsp;conclusion: according to what I explained about the voltage on SWDIO pin, would using an external debugger help? if yes, do I have to buy a J-link Pro or the J-link Base or those cheap Emulators will solve the issue?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRf52840 custom board does not work when powered by VBUS and not found by J-link</title><link>https://devzone.nordicsemi.com/thread/363910?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 12:16:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12907809-ba41-4952-9c4f-bc1d66682b15</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello Vahidreza,&lt;/p&gt;
&lt;p&gt;The nRF52840 chip on the dongle hardware is configured in high voltage mode. This uses REG0 to lower the chip supply voltage (VDD) and the default value is 1.8 V, configured by the REGOUT0 register in UICR. This value is too low to be used with the onboard programmer on the nRF52840 DK, so erasing or programming with a firmware that does not configure the regulator for a higher VDD will leave it in a state where it can not be reprogrammed from a DK.&lt;/p&gt;
&lt;p&gt;I think that&amp;#39;s why you are having these issues. You can check this dongle programing tutorial&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;(+) nRF52840 Dongle Programming Tutorial - Getting Started - nRF5 SDK guides - Nordic DevZone (nordicsemi.com)&lt;/a&gt;&amp;nbsp;to have the idea.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Kazi Afroza Sultana&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRf52840 custom board does not work when powered by VBUS and not found by J-link</title><link>https://devzone.nordicsemi.com/thread/363412?ContentTypeID=1</link><pubDate>Tue, 19 Apr 2022 05:35:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d771bdf9-8f5d-42e3-8e90-7e522fb3ccf6</guid><dc:creator>Vahidreza</dc:creator><description>&lt;p&gt;DCDC is disabled and there is no configuration for the VDD voltage. So the values are as defaults.&lt;/p&gt;
&lt;p&gt;I wish I knew what exactly happens after that pulse? Why the pulse is needed? I thought the internal regulator is damaged, but if it is that way, how does it work after the pulse?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As I mentioned, I&amp;#39;m not able to program the dongles as no J-Link can find them. What should I do about that?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Can the voltage cause the issue? if YES so how the other dongles are working without a problem?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRf52840 custom board does not work when powered by VBUS and not found by J-link</title><link>https://devzone.nordicsemi.com/thread/363389?ContentTypeID=1</link><pubDate>Mon, 18 Apr 2022 18:21:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0f48a95-2a53-469f-a450-4ff91346a0bb</guid><dc:creator>mytzyiay</dc:creator><description>&lt;p&gt;Not sure, but I would check:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If&amp;nbsp;you&amp;#39;re using high voltage mode and you don&amp;#39;t have the LC circuit on DCCH, make sure the regulator (DCDCEN0) is configured to use LDO mode rather than DC/DC mode&lt;/li&gt;
&lt;li&gt;In high voltage mode, VDDH needs to be at least 0.3V higher than VDD. What voltage is your VDD configured for, anyway?&amp;nbsp; It looks like that&amp;nbsp;voltage is not correct even after applying the pulse?&lt;/li&gt;
&lt;li&gt;Some more hints in&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/76855/nrf52840-high-voltage-mode-specs"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/76855/nrf52840-high-voltage-mode-specs&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRf52840 custom board does not work when powered by VBUS and not found by J-link</title><link>https://devzone.nordicsemi.com/thread/363336?ContentTypeID=1</link><pubDate>Mon, 18 Apr 2022 05:55:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3056b8e-bea2-4317-9af4-82c3a5683a06</guid><dc:creator>Vahidreza</dc:creator><description>&lt;p&gt;Thanks for your reply&lt;/p&gt;
&lt;p&gt;I did not make any change on UICR in my code personally. But the company sent me HEX file which can erase the whole chip by itself when you program the chip by that. I did that. And I thing what that I did wrong was that I didn&amp;#39;t give the chip enough time to be erased completely and interrupted it by removing the power.&lt;/p&gt;
&lt;p&gt;In my circuit VBUS and VDDH are short-circuited so that here it looks like that the problem is that the dongle does not work in High Voltage mode until it is powered up in low voltage mode. VDD and DCCH are short-circuited as well and the voltage measured on these pins on one of the malfunctioning boards are as below:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;when putting 2.94V on VDDH the voltage on VDD (and DCCH) is 0.44V and when I give a very short pulse of 2.98V to VDD, the voltage on this pin is remained on 2.7V and the dongle works.&lt;/li&gt;
&lt;li&gt;when putting 5v on VDDH the voltage on VDD (and DCCH) is 0.45V and by giving a pulse as explained above the dongle starts working.&lt;/li&gt;
&lt;li&gt;when putting 2.98V on DVV the voltage on VDDH is 2.71V and the dongle works.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;In one of the good boards that I measured, when putting 2.97V on VDDH the voltage on&amp;nbsp;VDD is 2.94V and the dongle works without the need of that pulse.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRf52840 custom board does not work when powered by VBUS and not found by J-link</title><link>https://devzone.nordicsemi.com/thread/363325?ContentTypeID=1</link><pubDate>Sun, 17 Apr 2022 16:59:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48d7d902-315c-4643-91f3-7428b5668dc2</guid><dc:creator>mytzyiay</dc:creator><description>&lt;p&gt;Are you using Normal Voltage mode or High Voltage mode?&amp;nbsp; Did you erase UICR during programming?&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf52840%2Fpower.html"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf52840%2Fpower.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In order to better assess what the chip is doing, it might be helpful to measure + post the voltages on VDD, VDDH, DCCH, VBUS from 1) the good boards; and 2) the&amp;nbsp;malfunctioning boards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>