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

PCA10056 1.0.0 2018.35 boards won't program with nrfGo 1.21.2.10

Please help me fix my computer to allow nrfStudio to program pca10056.

I just received 2 pca10056 1.0.0 2018.35.

I am on 2 computers A and B: both with windows 10 64bit and nrfStudio 1.21.2.10.

On machine A:

With both boards plugged directly into computer, nRFgo recognizes both pca10056  boards correctly allowing me to program.

On machine B:

I am able to program my other PCA10040 boards and have been doing so for some time. However...

With both pca10056 boards plugged directly into computer, I get the following error in nrfGo:

nrf52 Development dongle - 683007377

No device detected, or readback protection may be set.

Help.

  • Hi Ricco.

    Have you downloaded the latest nRF5x Command Line Tools on both PC's?

    The installer for 64-bit Windows is here, and the installer for 32-bit Windows is here. The issue might be that when you installed nRFstudio you also installed some old Segger drivers, as explained here.

    But, I highly recommend you start using nRF Connect instead of nRFstudio.

    nRF Connect also has the possibility to program development kits now.

    This can be done with one of the Apps in nRF Connect called Programmer (experimental)

    Here is how you do it:

    Open nRF Connect v2.5.0.
    Click on "Add/Remove apps".
    Find the app called "Programmer (experimental)" and install this.

    (Note that I have already installed it)


    Click on "Launch app" and Launch the "Programmer (experimental)" app.



    When the app is open, click on "Select Device" and select the device you wish to program.

    When you want to program the device you simply click on "Add a .hex file" and "Browse", and navigate to the folder you have stored your .hex file.

    For example, here I have loaded the SoftDevice S140 v6.1.0 .hex file, to program it I click on "Erase all & write"


    This will do the following nrfjprog commands:
    nrfjprog -e
    nrfjprog --recover
    nrfjprog -r
    nrfjprog --program
    nrfjprog --verify
    nrfjprog -r

    The device is now programmed with you desired .hex file.

    ----------------------------------------------------------------------------------------------------------------------------------------

    nRF Connect can also check if the flash area overlap or are to large, as you can see here:

    In this picture I've added two SoftDevices on top of each other, and you can clearly see that I got an error.

    Hope this little guide helps!

    - Andreas

  • Andreas,

    Thanks, nrf Connect does the trick.

    Richard

Related