<?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>Low Voltage (1.8V) on nRF52840 cannot program chip</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44184/low-voltage-1-8v-on-nrf52840-cannot-program-chip</link><description>I have the USB Dongle (PCA10059) which after a full erase, has been giving only 1.8Volts to the GPIOs and the VDD OUT pin. 
 I am using the Segger j-link EDU progammer/debugger and I have connected it as: 
 VTref - VDD OUT 
 GND-GND 
 SWDIO-SWDIO 
 SWCLK</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Mar 2019 13:57:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44184/low-voltage-1-8v-on-nrf52840-cannot-program-chip" /><item><title>RE: Low Voltage (1.8V) on nRF52840 cannot program chip</title><link>https://devzone.nordicsemi.com/thread/177064?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2019 13:57:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3419cb9a-cbed-4de7-bfa0-88b8ef668a7d</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Can you run&amp;nbsp;&lt;span&gt;nrfjprog -e -f nrf52 --log&lt;/span&gt;&lt;br /&gt;and share the log?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Voltage (1.8V) on nRF52840 cannot program chip</title><link>https://devzone.nordicsemi.com/thread/176087?ContentTypeID=1</link><pubDate>Thu, 14 Mar 2019 07:50:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23ae78fe-d4e1-49fb-a981-0ebccfbd2dec</guid><dc:creator>TasosR</dc:creator><description>&lt;p&gt;There is no-need to provide an 3V or 3.3V source NOR even buying the PRO version as the j-link EDU programmer by Segger can program devices with voltages 1.2-5V&amp;nbsp; (see&amp;nbsp; about j-link EDU &lt;a href="https://www.segger.com/products/debug-probes/j-link/models/model-overview/"&gt;here ).&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have another device with 1.8Volts that cannot be programmed also ....&lt;/p&gt;
&lt;p&gt;Should I open another ticket ?&lt;/p&gt;
&lt;p&gt;My system can recognize the device (dmesg output):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;[Mar14 09:42] usb 3-2.4: new full-speed USB device number 11 using xhci_hcd
[  +0,114123] usb 3-2.4: New USB device found, idVendor=239a, idProduct=8029
[  +0,000002] usb 3-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  +0,000001] usb 3-2.4: Product: Bluefruit nRF52840
[  +0,000001] usb 3-2.4: Manufacturer: Adafruit Industries
[  +0,000000] usb 3-2.4: SerialNumber: E08452754177EEC0
[  +0,000875] cdc_acm 3-2.4:1.0: ttyACM0: USB ACM device
[  +0,001314] usb-storage 3-2.4:1.2: USB Mass Storage device detected
[  +0,000531] scsi host6: usb-storage 3-2.4:1.2
[  +0,124183] usb 3-2.4: USB disconnect, device number 11
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;but the nrfjprog cannot program the device ...&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;$ nrfjprog -f nrf52 --chiperase --reset
ERROR: Cannot connect to any nRF device. Please make sure a device is
ERROR: connected to the debugger and supplied.
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Voltage (1.8V) on nRF52840 cannot program chip</title><link>https://devzone.nordicsemi.com/thread/174489?ContentTypeID=1</link><pubDate>Wed, 06 Mar 2019 10:11:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33d1ae1f-3a18-4060-8c17-818c2e41f16c</guid><dc:creator>TasosR</dc:creator><description>&lt;p&gt;Same problem with new dongle, steps I followed:&lt;/p&gt;
&lt;p&gt;1) Passed the adafruit&amp;#39;s bootloader&amp;nbsp; (&lt;a href="https://github.com/adafruit/Adafruit_nRF52_Bootloader)"&gt;github.com/.../Adafruit_nRF52_Bootloader)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;using the command&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfjprog -f nrf52 --program pca10059_bootloader-0.2.9_s140_6.1.1.hex --chiperase --reset&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;device turned to 1.8Volts, I turned it to 3.3V by using:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfjprog --memwr 0x10001304 --val 0xFFFFFFFD&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;2) I passed 2-3 times software using the Arduino IDE, everything OK&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;3 I tried giving external power to the dongle, tried a LiPo with 3.7 volts and power supply 5V&lt;/p&gt;
&lt;p&gt;connecting then to the VBUS of the Dongle, Dongle never booted (should I open new Issue ???)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;While programming it, sometime the Dongle turned to 1.8Volts again and CANNOT program it using the j-link EDU.&lt;/p&gt;
&lt;p&gt;The&lt;/p&gt;
&lt;p&gt;nrfjprog --memwr 0x10001304 --val 0xFFFFFFFD&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;returns&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;$ nrfjprog --memwr 0x10001304 --val 0xFFFFFFFD
Segmentation fault (core dumped)
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I can use the solution you provided to me earlier (Disconnect the dongle from the USB port and supply 3V externally to the VDD circuit of the dongle, then you should be able to program with the J-Link EDU or OB.)&lt;/p&gt;
&lt;p&gt;BUT I am afraid that sometime this Dongle could be damaged as well&lt;/p&gt;
&lt;p&gt;When I connect this device to the PC, dmesg gives:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;[Mar 6 12:08] usb 3-2.1: new full-speed USB device number 20 using xhci_hcd
[  +0,114336] usb 3-2.1: New USB device found, idVendor=239a, idProduct=8029
[  +0,000002] usb 3-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  +0,000002] usb 3-2.1: Product: Bluefruit nRF52840
[  +0,000002] usb 3-2.1: Manufacturer: Adafruit Industries
[  +0,000001] usb 3-2.1: SerialNumber: 8D4C5F5CB3BB6718
[  +0,000962] cdc_acm 3-2.1:1.0: ttyACM0: USB ACM device
[  +0,001351] usb-storage 3-2.1:1.2: USB Mass Storage device detected
[  +0,000192] scsi host6: usb-storage 3-2.1:1.2
[  +0,161242] usb 3-2.1: USB disconnect, device number 20&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Voltage (1.8V) on nRF52840 cannot program chip</title><link>https://devzone.nordicsemi.com/thread/174477?ContentTypeID=1</link><pubDate>Wed, 06 Mar 2019 09:40:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08b518a0-9b22-4456-a71b-8ec88e547056</guid><dc:creator>TasosR</dc:creator><description>&lt;p&gt;Even&lt;/p&gt;
&lt;p&gt;dmesg&lt;/p&gt;
&lt;p&gt;cannot recognize the dongle, I consider it as damaged and I am playing with another one this time&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Voltage (1.8V) on nRF52840 cannot program chip</title><link>https://devzone.nordicsemi.com/thread/173665?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2019 10:22:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8b6027a-3280-4a51-b965-8d494300df82</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Try &amp;#39;nrfjprog -f NRF52 -e&amp;#39; and report your result.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Voltage (1.8V) on nRF52840 cannot program chip</title><link>https://devzone.nordicsemi.com/thread/173597?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2019 05:35:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:599bd3bc-9ed8-4a77-9538-8668c07f5721</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Try the &lt;a href="http://embeddedsoftdev.blogspot.com/p/idap-link.html"&gt;IDAP-Link&lt;/a&gt;. It&amp;#39;s a lot cheaper than the JLink pro and it can reprogram the dongle through SWD interface.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Voltage (1.8V) on nRF52840 cannot program chip</title><link>https://devzone.nordicsemi.com/thread/173496?ContentTypeID=1</link><pubDate>Thu, 28 Feb 2019 13:53:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39ff375e-eaa2-4b71-84a8-4f316392fc21</guid><dc:creator>TasosR</dc:creator><description>&lt;p&gt;I tried it, my results are below. No success at all&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Voltage (1.8V) on nRF52840 cannot program chip</title><link>https://devzone.nordicsemi.com/thread/173495?ContentTypeID=1</link><pubDate>Thu, 28 Feb 2019 13:50:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c572e69-65db-423a-9ced-da7c5b5d27eb</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;Yeah VVD_OUT. REG0 might not like it, but I think it should be safe enough.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Voltage (1.8V) on nRF52840 cannot program chip</title><link>https://devzone.nordicsemi.com/thread/173467?ContentTypeID=1</link><pubDate>Thu, 28 Feb 2019 12:21:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ad8ba7f-709f-4899-8e81-547e12eebe25</guid><dc:creator>TasosR</dc:creator><description>&lt;p&gt;is there any way to check that the Dongle OR the chip are malfunctioning/burned/destroyed ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Voltage (1.8V) on nRF52840 cannot program chip</title><link>https://devzone.nordicsemi.com/thread/173432?ContentTypeID=1</link><pubDate>Thu, 28 Feb 2019 10:36:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6180ace-02f3-46d3-94fd-a22ea5a6797e</guid><dc:creator>TasosR</dc:creator><description>&lt;p&gt;same error again, device reports as 3 Volts&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;$ JLinkExe 
SEGGER J-Link Commander V6.42f (Compiled Feb 26 2019 17:01:38)
DLL version V6.42f, compiled Feb 26 2019 17:01:29

Connecting to J-Link via USB...O.K.
Firmware: J-Link V10 compiled Feb 21 2019 12:48:07
Hardware version: V10.10
S/N: 2601*****
License(s): FlashBP, GDB
OEM: SEGGER-EDU
VTref=3.006V


Type &amp;quot;connect&amp;quot; to establish a target connection, &amp;#39;?&amp;#39; for help
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;but nrfjprog gives the same error&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;$ nrfjprog -f NRF52 --program /peripheral/blinky/hex/blinky_pca10059_mbr.hex
ERROR: Cannot connect to any nRF device. Please make sure a device is
ERROR: connected to the debugger and supplied.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;also, the segmentation fault remains&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;$ nrfjprog --memwr 0x10001304 --val 0xFFFFFFFD
Segmentation fault (core dumped)
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Voltage (1.8V) on nRF52840 cannot program chip</title><link>https://devzone.nordicsemi.com/thread/173428?ContentTypeID=1</link><pubDate>Thu, 28 Feb 2019 10:23:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aad5eca4-14ee-4da7-b104-7a14de73e9d2</guid><dc:creator>TasosR</dc:creator><description>&lt;p&gt;By VDD circuit we mean the pin &amp;quot;VDD OUT&amp;quot; which is connected to the processor,right ? wont it burn the processor? I will try it instantly to see what will happen ....&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low Voltage (1.8V) on nRF52840 cannot program chip</title><link>https://devzone.nordicsemi.com/thread/173413?ContentTypeID=1</link><pubDate>Thu, 28 Feb 2019 09:36:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f072fb2f-f348-4e74-ba94-0daedbd79f2f</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;The default value of&amp;nbsp;REG0 output is 1.8V. When you erased the REGOUT0 register in UICR you accidentally removed your ability to program the device with your J-link EDU or OB. &lt;br /&gt;&lt;br /&gt;There are two ways you can re-flash your dongle with a proper value for REGOUT0:&lt;br /&gt;&lt;br /&gt;1) Get your hands on a J-link Pro.&lt;br /&gt;&lt;br /&gt;2) Disconnect the dongle from the USB port and supply 3V externally to the VDD circuit of the dongle, then you should be able to program with the J-Link EDU or OB.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>