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

Unable to program the SoftDevice for nRF51822 using Keil uVision

Hi,

I would like to program a ble basic program on nRF51822 chip. I have Keil uvision MDK 5, ST Link programmer, SDK 8.0.0 and S130 softdevice + a third-party development board.

As I know I should program the Softdevice first. I chooseed the flash_softdevice to be programmed but I encountered the following errors:

Load "..\\..\\..\\..\\..\\..\\components\\softdevice\\s130\\hex\\s130_softdevice.hex" 
No Algorithm found for: 00000000H - 000007BFH
No Algorithm found for: 00001000H - 0000FFFFH
No Algorithm found for: 00010000H - 0001B4D7H
Erase skipped!
Error: Flash Download failed  -  "Cortex-M0"

I also tried another way using the nRFGo software. I connected a TTL2USB convertor and tried to program the SoftDevice hex file. The software mentioned that I should press Button 4 and Reset in order to enter the device into DFU mode. I tried this but I couldn't program the softdevice.

The program itself is flashed successfully.

What should I do?

Related