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

Error in softdevice s310 programming using keil in nrf51422

Hi, i am using the sru232 module (having nrf51422) in my project. I just want to program the softdevices-s310 using Keil-5 but i am not able to do so, while i am trying the same i am getting error
Erase Failed! Error: Flash Download failed - "Cortex-M0"

plz describe how to fix the issue

Parents
  • Based on the settings in the SDK examples, the following settings should have worked:

    SoftDevice: IROM1: start 0x0, size 0x40000 and IRAM1: start 0x20000000, size 0x8000

    Application: IROM1: start 0x1D000, size 0x23000 and IRAM1: start 0x20002200, size 0x5E00

    Does it not work even when setting those settings, erasing the flash, recompiling the application, downloading application and then downloading SoftDevice?

    Have you previously successfully installed SoftDevices and/or applications on the device?

  • yes i have downloaded the s310 soft device successfully using nrfgo-studio before and hence my application working fine with nrf54122 with jlink as programmer but i am trying to do the same using Stlink(SWD), and not able to do the same

Reply Children
No Data
Related