I have compiled the nRF51-ble-bcast-mesh's examples: "LED_mesh_SDK7" and "BLE_Gateway_SDK7" on Keil uVision v5.14.0.0. But, I am facing problems flashing them on to my nRF51422.
As mentioned in the instructions, I used nRFGoStudio to flash the nRF51422 with the Softdevice S110_nRF51822_7.1.0, it flashed without any errors. Then, I tried to flash the .hex file of "LED_mesh" compiled in uVision with nRFGoStudio, but it gives the following error: "Application programming failed. This hex file has data in SoftDevice region. Try programming using "Program Soft Device", or erase all before programming". I tried both the suggestions for programming(flashing), but received similar kind of error. I also tried Flashing it using Keil uVision but it also gives an error: "Flash Download Failed: Cortex-M0". I don't know what it means by that.
I obtained same errors in case of "BLE_Gateway" example. Please guide me on how can I Flash these examples on nRF51422.