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

nRF52840 on nRF9160-DK and Softdevice S140

This Subject has been translated with a translation tool
-----------
This is about writing to nRF52840.
I have created software on the evaluation board nRF52840-DK.
When I write it with s140_nrf52_7.2.0_softdevice.hex, the evaluation board starts BLE advertise output when it is booted.

I tried to write that software to nRF52840 on nRF9160-DK.
I switched SW10 on the nRF9160-DK to nRF52 to write the software, but it does not start the advertise output.

I have confirmed that when I write the Sotfdevice it shows "Device is protected", is this related?

I have also confirmed that software created for the nRF9160 that does not use softdevice can write to and read from the nRF52840 on the nRF9160-DK when built with the configuration for the nRF52840.

Thank you.

  • Hello,

    I have confirmed that when I write the Sotfdevice it shows "Device is protected", is this related?

    Yes, that may very well be related. 

    Do you have nRF Command Line Tools installed? If so, you can use the command "nrfjprog --recover" when the debugger is connected to the nRF52840 to turn off the readback protection.

    Disclaimer:

    The nRF52840 on the nRF91DK is not intended for "normal use". It acts as a board controller for the nRF91 DK, and the rest of the board will not work as normal if you program a custom application on the nRF52840 on the nRF91 DK. It is probably possible to program the original application to the nRF52840 at a later point in time, but I am not sure what is programmed on it when it is shipped (since I don't typically work with the nRF91 series). 

    However, it is technically possible to program the softdevice on the nRF52 on the nRF91-DK, and you can probably run a simple BLE application from there, but if you expect to use a lot of GPIOs, they will not be routed out to the LEDs and buttons or the GPIO headers on the board. If you want to use this, I recommend that you try to get hold of an nRF52840 DK instead.

    Best regards,

    Edvin

Related