Since nRF51 SDK version 8.0.0 SoftDevices binary files have become a part of the release. In order to make it easier to flash proper type and version of SoftDevice a new feature was added: each project that is using SoftDevice contains additional target called ‘flash_softdevice’ which can be used to program SoftDevice. Solution works with ARM Keil uVision 4 and 5 (with and without CMSIS Packs) and Makefiles. It is ensured that SoftDevice binary file matches SoftDevice header files used by the example.
Flashing SoftDevice using Makefile target works only on Windows platform. It is using command line tool called ‘nrfjprog.exe’ which is a part of the nRF51-Tools package. Location of ‘nrfjprog.exe’ must be in PATH environmental variable.
As the new player you can come and learn more things about the theimpossiblequiz.online
GCC on *nix systems use the following code in the makefile
flash: release flash.jlink
printf "r\nloadbin $(OUTPUT_BINARY_DIRECTORY)/$(OUTPUT_FILENAME).bin $(FLASH_START_ADDRESS)\nsleep 500\nr\ng\nexit\n" > flash.jlink
printf "r \nw4 4001e504 1\nloadbin $(SOFT_DEVICE_PATH)/$(SOFTDEVICE_NAME)" > flash_softdevice.jlink
Yes it is possible to flash using CMSIS-DAP. See here embeddedsoftdev.blogspot.ca/.../ehal-nrf51.html
If it's possible to flash nrf51822 softdevice 8 or 7 with CMSIS-DAP compatible programmer?
And the same question for bootloader flashing?