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

Error Flash Download failed - "Cortex-M4" problem

This question has been asked several times but none of the answers is solving my problem. I am developing a ble application which was loading with no problems. I switched over to the heart rate service example and was going to run it to get some comparisons. However the hrs failed to download with the following message:Error:Flash Download failed - "Cortex-M4". I then returned to my original program and found that it too would no longer download. No settings had been changed. I went to the Options for target dialog box and under the debug tab checked to see if the programming algorithm had changed. It had not. I went to nRFgo Studio and tried erasing the flash and reprogramming the softdevice. I am using Keil v5 and softdevice s132_nrf52_2.0.0_softdevice the addresses did not change but are as follows IROM1 0x1c000 with size 0x64000 IRAM1 0x20002080 with size 0xded8. Any help would be appreciated 

Related