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

nRF52840 DK J-link not working

Hi - I'm using a nRF52840 DK for the first time with my 2010 MacBook pro running OSX Sierra version 10.12.6. I have SEGGER Embedded Studio for ARM 4.12 installed and Segger J-link V6.40 tools running in /Applications/SEGGER/JLink. My DK board has a PCA10056 debugger chip v1.0.0. 

I have the Power switch on the DK board set to on, coin cell battery removed, power switch set to VDD. 

When I connect the DK board to my Mac via micro USB cable, I see LED5 blinking about once a second, and LED1 pulsating about once per 3 sec. 

The big problem I'm having is that I can't get the Segger Embedded Studio to see the DK; when I select "Connect J-Link" in the Target menu, I keep getting a "Can't connect to J-Link via USB" pop-up. 

Also, I don't consistently see a "JLINK" drive widget in my Finder window. And even when I do see it and tell Segger ES to connect to the board, it ejects the JLINK drive and fails to connect as it does in all other cases. 

Any ideas?

Thanks. 

  • Hi.

    I think you might have put your nRF52840 DK in Bootloader mode, can you check if the board shows up as "BOOTLOADER", and if it does, copy this file(J-Link OB-SAM3U128-V2-NordicSemi 170724.bin )to the "BOOTLOADER" folder, turn the power of the board off and on, and it should work.

    Best regards,

    Andreas

  • Hi - I don't think it's in BOOTLOADER mode because it doesn't say "BOOTLOADER" in the left side of the Finder window. I can put it in bootloader mode though by powering it up while holding down the reset button. Should I do that and copy the file where you suggested?

  • I power-cycled it while holding down reset key, copied the file into BOOTLOADER drive folder, then power cycled again, but it didn't fix any of the strange behaviors. 

  • Hi again.

    Please try/confirm the following:

    1. Does the device show up in System Information on your computer? Please try to connect and disconnect the kit a few times. It might show up with unexpected names.

    Search for System Information in Lion or later (or System Profiler in Snow Leopard and earlier versions of Mac OS) in Spotlight (press and Space).

    The program is in /Applications/Utilities and is the tool to see the connected USB devices and other hardware details. It is quite simliar to Device Manager on Windows.

    Alternatively you can access it via the Apple Menu

    -> About This Mac -> More Info... -> System Report...



    2. Have you tried a different USB cable? Faulty cables are surprisingly often the problem.

    3. Have you tried using a different computer? If it works on a different computer we know that the kit is not broken and that it is probably a driver issue.

    4. Have you measured the supply voltage on the kit? It should be somewhere between 2.8V-3.3V. If it isn't, then the hardware is probably broken.

    5. Have you made sure that you are using the latest J-Link driver version?

    6. Have you tried this guide?

    Best regards,

    Andreas

  • OK, here's the answer to your question 1. I plugged the USB cable into my mac 5 times. In one of those 5 times, I saw this in my system report

    and saw a JLINK drive icon in my finder window (see below):

    After the remaining four plug-ins, there was no JLINK drive shown in my finder window and the system report didn't include the MSD Volume info, as shown below. I'll answer your other questions sequentially after some more time. 

Related