This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error: Flash Download failed - "Cortex - M4" while flashing softdevice from Keil uVision 5

Failed to flash softdevice s132_nrf52_3.0.0_softdevice.hex using Keil uVision 5 on a nRF52 DK board PCA10040 V1.1.0. Error code:

Erase failed!
Error: Flash Download failed - "Cortex - M4"

Flashing the SDK 12.0 example project is successful. I have to manually drag and drop the softdevice from the SDK folder into the JLink USB drive. The program and softdevice runs successfully with this method. But, the Keil uVision will never be able to flash softdevice. Do I have to edit the memory map in "options for target" menu for softdevice download?

Update: I just tested on another board nRF51 DK PCA10028. I don't have problem flashing the softdevice s130_nrf51_2.0.1_softdevice.hex for this board in Keil uVision and I don't need to edit memory map in "options for target" at all. The problem seems to exist only on Keil for nRF52 DK PCA10040.

Related