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

  • 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  (see  about j-link EDU here ).

    I have another device with 1.8Volts that cannot be programmed also ....

    Should I open another ticket ?

    My system can recognize the device (dmesg output):

    [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
    

    but the nrfjprog cannot program the device ...

    $ 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.
    

  • Can you run nrfjprog -e -f nrf52 --log
    and share the log?

Related