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

Issue programming example on S132 SDK12/13 with PCA10040

When I try to program an example with nRF go Studio from the new SDK12 or SDK13(fresh download) I get the following error:

image description

It does not show up if I don't program the softdevice first, but then ble doesen't works. I also get an error in keil where it just says "Error: Flash Download failed - "Cortex-M4" ". I did not have such issues with the old SDK11.

Edit: Yes, I do erase all before writing.

Parents
  • You need to set the starting memory address IROM1 START in options for target. Most versions of the SoftDevice have different memory requirements. Your application needs to start after the SD. Review the release notes for your SD for the correct memory settings.

  • Ok, make sure to review the API changes for your current sdk and softdevice. Also, some of the library files will change. Occasionally you can just modify your existing library files to move to a new SD. You really have to just read through the release notes to figure out what to change when moving through code versions. I have never found an easier way to do it. Even Android just gives me a bunch of compiler errors and deprecated notices when they update Android Studio. So Android OS isn't easier. Same too for iOS.

Reply
  • Ok, make sure to review the API changes for your current sdk and softdevice. Also, some of the library files will change. Occasionally you can just modify your existing library files to move to a new SD. You really have to just read through the release notes to figure out what to change when moving through code versions. I have never found an easier way to do it. Even Android just gives me a bunch of compiler errors and deprecated notices when they update Android Studio. So Android OS isn't easier. Same too for iOS.

Children
No Data
Related