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
  • When you are getting that error the cause could be two things, from what I understand. One, the selected target is not the one you are using, or the IRAM and IROM don't have the right sizes or locations in the memory. You can see them in "Target options" and see if they match to your setup.

  • yes i have tried the same but also i am getting the same Error the default value of the IROM-0X0 AND SIZE-0X40000 AND THE IROM-0X20000000 SIZE- 0X8000 . I have changed the location to IROM-0X16000 SIZE-0X29000 AND IROM-20002000 SIZE-0X2200 but still getting the error. I am using the STlink debugger and using the same i am able to program my application without any issue only i am not able to program the softdevice s310v3 .Plz let me know your answer

Reply
  • yes i have tried the same but also i am getting the same Error the default value of the IROM-0X0 AND SIZE-0X40000 AND THE IROM-0X20000000 SIZE- 0X8000 . I have changed the location to IROM-0X16000 SIZE-0X29000 AND IROM-20002000 SIZE-0X2200 but still getting the error. I am using the STlink debugger and using the same i am able to program my application without any issue only i am not able to program the softdevice s310v3 .Plz let me know your answer

Children
No Data
Related