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

nRFgo Studio does not see my nRF51-DK anymore

I run a laptop which previously ran this fine on Windows 7 x64. I now run Windows 10 x64. I cleaned out j-link, nrfgo studio, libusb etc and reinstalled nRFgo Studio again to be sure. The version is 1.20.0. www.nordicsemi.com/.../65589710

This is how it looks now:

5ou6cIr.png

Before this I ran nrfjprog as usual, but the parameters have changed on the new version 7.5.2 (I tried the version shipped with nrfgo studio installer later):

nrfjprog.exe --reset --program ARM/Debug/nrf51422_xxac_s110.hex

ERROR: Two arguments were provided that cannot be combined. Use --help to read ERROR: about the valid argument combinations.

I tried running it with --chiperase --program instead, but then the LEDs and everything went black. Did that pulverize everything on the chip?

If I do not supply it: "The area to write is not erased."

Also it seems to flash it fine because I get no errors, but the LEDs are completely off, indicating that the code hasn't executed, and as mentioned nRFgo Studio does not display it.

Did --chiperase take the softdevice too? "If --chiperase is given, all the available user flash (including UICR) will be erased before programming*"

I guess the same case is with 7.5.0 which I am using now with --clean ?

This is my final build output:

1>  C:/Program Files (x86)/Nordic Semiconductor/nrf5x/bin/nrfjprog.exe --clean --program ARM/Debug/nrf51422_xxac_s110.hex
1>  Parsing hex file.
1>  Erasing code and UICR flash areas.
1>  Applying system reset.
1>  Checking that the area to write is not protected.
1>  Reading flash area to program to guarantee it is erased.
1>  Programing device.

I guess this means that my softdevice is gone... How would I get it back if nrfgo doesn't work? I hope it is not bricked!

Is it dangerous to do this in that case?

image description

I guess that won't make a difference as for detecting it in nRFgo

  • Yes I'll try an older version. But the newer version 7.5.0 has no automatic erasure of the USER flash. I only see options for complete erasure. --clean in 7.5.0 and --chiperase in 7.5.2

    Could you please document somewhere what's changed in the newer versions and how to actually erase the program area (not the softdevice area) ?

    Also soft device is programmed in Region 1 and not Region 0 using your instructions. But now that I got nRF go Studio working, I put it in Region 0.

  • Allright, I got it working with nRFgo Studio as well.

    This is what works in Windows 10 so far

    • nRF tools 6.2.2
    • nRF go Studio 1.19
    • J-Link 4.98c

    I hope that the changes will be documented and tested for Windows 10 in the newer nRF tools! :)

Related