This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Can no longer connect to pca100028

Hi, I purchased and received the pca100028/nRF51-DK on Friday (12/19).

I've upgraded to Keil 5.12, loaded the 7.10 sdk pack, loaded the radio_test_pca100028 example (I doubt that that matters) in uVision, compiled, successfully connected to the JLink on the nRF51-DK and downloaded the hex file to the target device.

I had just started to get the debugger to step through the source 'C' code when, and I'm not sure exactly at which point this started to occur, I began getting dialog popups indicating the JLink interface had a "Second debugger connection to the same J-Link detected". At this point I could no longer connect, download, or debug this board.

When I attempt to use the J-Link Commander V4.9.4j, it successfully detected the board, returned the correct s/n, identified the VTarget voltage correctly, but states "No devices found on JTAG chain" and then "No devices found on SWD".

So I opened a command prompt and ran "nrfjprog --recover" which returned:

WARNING: Attempting to recover the device. This operation may take up to 30s.
Applying system reset.
ERROR: JLinkArm.dll returned an error condition. Try again. 
  If the condition persists, please report the error to Nordic Semiconductor support 
  with the text "sys_reset_request: return code 8".      

nrfjprog then restarted itself and then hangs after displaying the Warning message above. I've Ctl-C out of that and restarted it a few times. It now simply hangs without displaying that ERROR message.

What's odd is that when I open the J-Link V4.9.4j - Control Panel gui it initially doesn't seem to detect the Device, but shortly turns both indicators to green and updates the device field to "NRF51 (compatible to NRF51822" (the msg is truncated). But it also states that it's Busy in the lower left hand corner of the gui showing (periodically flashing/updating) "JLINK_Connect (Executing)".

I've tried using nRFgo Studio which displays the "nRF51 development board" with the correctly indented "Segger 'S/N'" for the device, but when I try to select it, the main panel states: "No device detected" and "This could also be caused by the Firmware going to SystemOff too soon after reset. To recover from this situation use the Recover button" which is grayed out.

I originally had two nRF51 devices connected via usb, but early on in the troubleshooting I removed my older pca10001 and rebooted (too many times).

Any idea what next step I can take?

  • FormerMember
    0 FormerMember

    The "power" LED on the PCA10028 board indicating that the device is connected to USB, is it lightening constant, or is it blinking rapidly? If it is blinking rapidly, try to reboot your PC. Let me know if that doesn't work.

    It should normally work fine to debug on one board, while another board is connected.

    "Second debugger connection to the same J-Link detected" would normally occur if you try to do an operation in nRFgo Studio while the chip is in debug mode in Keil.

  • Hey Kristin, thanks for your insights. The board's led does rapidly flash when first attached to the usb but then quickly changes and remains solid-on. I have rebooted, uninstalled and reinstalled all of the drivers, and nothing. It's most strange that J-Link appears to see the board, correctly reports its s/n, but says it cannot connect.

  • I should note, in reference to Kristin's comments below, that the LED does initially flash when the board is first plugged attached to the usb. Within 1-2 seconds the flashing stops and it remains solid. Of note is when I launch nRFgo, the board is correctly listed under 'nRF51 development boards' but when I select the listed board, the device's LED turns off while nRFgo attempts to connect, and then turns back on at the same time nRFgo displays 'No device detected'.

  • Attempting to identify whether this issue was with the board or my system, I loaded all of the various bits onto my laptop and voilà, I can now connect, download, etc. to the pca100028!

    I'm not sure exactly what the specific issue is on my desktop, but I now know that the board is good and an issue with my development machine.

    Time to uninstall/re-install all of the bits and drivers on my devbox.

    Thanks Kristin for your time and help!

    Jeff

Related