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

Issue with programming S110 v7.0.0-3.alpha with nRFGo Studio

tldr; read the release notes first and use the batch file provided in the folder


Hi,

I'm trying to load the S110 v7 on an nRF51822QFABB00 and I'm getting the following error message:

Softdevice Z:/Dropbox/btle/Nordic/softdevice/s110_nrf51822_7.0.0-3.alpha/s110_nrf51822_7.0.0-3.alpha_softdevice.hex programming failed

The given hex file did not open successfully

--

v6 works without any issues but I'm really eager to try out the DFU on the v7, so I'd appreciate if you could help me out asap.

  • I also tried with the nrfjprog tool and I get the following error:

    nrfjprog --programs s110_nrf51822_7.0.0-3.alpha_softdevice.hex Parsing hex file(s). ERROR: s110_nrf51822_7.0.0-3.alpha_softdevice.hex is not a valid SoftDevice since the CLENR0 value it includes is not a valid value.

    Reading more upon the issue, I realized that the release notes contain this:

    SoftDevice The FWID is no longer stored in the UICR. The tools (nRFgo Studio, nrfjprog) will be updated to work with this. The SoftDevice hex file no longer contains the SoftDevice size in the UICR.CLENR0 register. This means that the SoftDevice is no longer protected by default. The tools (nRFgo Studio, nrfjprog) will be updated to write the SoftDevice size to the UICR.CLENR0 register by default, thereby restoring default protection.Having protection enabled may conflict with Device Firmware Update, therefore the tools will contain an option to not set the UICR.CLENR0.

    Then I found this:

    This SoftDevice release has internal changes that requires that the SoftDevice is programmed onto the chip in a specific way. To program this release onto the chip, use the batch file "s110_nrf51822_7.0.0-3.alpha_program.bat" included in the release. For this batch file to work, you will need the "nrfjprog" programmer, which is included as part of the nrf51 SDK.

  • Get the latest version of nrfGo Studio I had 1.16 and I got the same error. I updated to 1.17 works fine now.

Related