This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Low Voltage (1.8V) on nRF52840 cannot program chip

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-SWCLK

also I have connected the Dongle to the computer's USB port at the same time

I have searched the forum and the internet, the 2 possible solutions are:

Solution 1:

The command

(gdb) set *0x10001304 = 5

from here which doesn't see to work, I get the error:

Cannot access memory at address 0x10001304

Solution 2:

The command:

nrfjprog --memwr 0x10001304 --val 0xFFFFFFFD

which results:

nrfjprog --memwr 0x10001304 --val 0xFFFFFFFD

while dmesg command records the following:

[ 1972.462260] nrfjprog[3893]: segfault at fffffffffffffff9 ip 00007fede43f604f sp 00007ffd9c3bc450 error 5 in libjlinkarm_unknown_nrfjprogdll.so.9.8.1[7fede43ed000+15000]

The 2nd solution in a windows 10 machine  doesn't return any errors but never changes the Voltage to the desired 3-3.3V

Parents
  • The default value of 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.

    There are two ways you can re-flash your dongle with a proper value for REGOUT0:

    1) Get your hands on a J-link Pro.

    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. 

Reply
  • The default value of 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.

    There are two ways you can re-flash your dongle with a proper value for REGOUT0:

    1) Get your hands on a J-link Pro.

    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. 

Children
Related