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

Error when trying to program user app into nrf52840

Hello, I can program properly (the "--verify" command passed) my softdevice s140 into the chip, using nrfjprog 9.x. But now I can't use my keil uv5 to program my user app into the chip.

I suspect that I did not properly configure the flash range my user app can be programmed to, because I did not configure that at all.

So can someone tell me where I can find such related tutorials? Or if you are kind enough to tell me what range to go for?

Also, I don't have to worry about the range of the softdevice, nrfjprog takes care of that, right? Or do I still have to modify an ini file somewhere?

  • It is;) I quote from page 2:

    SoftDevice properties

    • This alpha version of the SoftDevice contains the Master Boot Record (MBR) version 2.1.0.
    • The combined MBR and SoftDevice memory requirements for this version are as follows:
    • Flash: 143 kB (0x24000 bytes).
    • RAM: 5.18 kB (0x14B8 bytes) This is the minimum required memory. The actual requirements depend on the configuration chosen at sd_ble_enable() time.
Related