(/attachment/a19553b9bc11b942e3ae7f600ceedda2)
(/attachment/a19553b9bc11b942e3ae7f600ceedda2)
I'd start by selecting the "Program SoftDevice" tab rather than the "Program Application" and see if that helps, or at least changes the error.
Are you trying to program the softdevice or the application? Which SDK and softdevice versions are you using? Which example from the SDK are you trying to program?
I am programming the softdevice and the application back to back. I am using nrf51422 kit with keil uVision5 and my softdevice version is s130_nrf51_1.0.0. I am trying to program ble_app_beacon example. I downloaded nRF connect app to my phone and I am trying to see my nrf51 kit in this 'nrf connect' app's bluetooth connection. I want to send and receive datas between my phone and nrf kit using Keil. Maybe you can suggest me a different way or what am I doing wrong?
Did you merge the softdevice and application or did you program softdevice first and then application? If you did the last one, did the softdevice flash without errors? Are you sure the softdevice version is supported by the SDK version where you found the example (you can check this in the file documentation\release_notes.txt?
You can also program the softdevice and application using nrfjprog:
nrfjprog --family nrf51 --eraseall
nrfjprog --family nrf51 --program "path/to/softdevice/hex/softdevice.hex"
nrfjprog --family nrf51 --program "path/to/application/hex/application.hex"
I programmed the softdevice first and then application. Softdevice flashed without errors. The versions are supported, example is s130 and softdevice is s130. How do I use this nrfjprog code? in which file do I write this code?