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

Cannot start execution

Hello, I found  an examples using ble_app_uart and and MPU6050 from different SDK's. I am trying to update the to SDK16 and have got it to build successfully but when I try to execute the debugger I get an error. I found one similar post but that solution didn't work for me. I have attached the build output an an image. 

Any help appreciated thank you for your time.

sdk16_build.txt

Parents
  • Hi, 

    Could you tell from which SDK you are upgrading ? 

    The error code suggesting that you are having overlapping between the application and the softdevice. 

    Please double check the Loader tab under the Debug option in the Project Options. It should look like this: 

    And the start address of your application, it should look like this:



    Application's flash should start at 0x26000

  • Hi Hung, the example I found was in SDK 15.0.0_a53641a. I have the same loader setup and file, the Linker SecPlacement was a little different I have attached it. I changed it to match your print screens but it still gave me the same error. Could it be the flash_placement XML? The picture in the Doc shows what the linker values were before. The source indexer reported lots of errors as well not sure what it means thought. Except for one line it's the ones that have a '1' are all complaining about an unknown register and a single line has an assert failed. I hope that make some sense with the document. Apologies if it doesn't

    debLoader.docx

  • If you are using nRF52840, then the start address of the flash FLASH_START should be 0x27000 instead of 0x26000.
    I would suggest just to use an example in SDK v16 and the put the custom code you have in the older example in to this new example. It could be an easier way than porting the old example to new SDK.

  • Thank You Hung, I got it working like before, now I can move forward. A question about the XML placement file. The file initially generated when I started the new project was very different than the original example, is this normal? Will I need to make extensive changes to this file whenever I create a project?

    Thank you for all the help

    --ggmo

Reply Children
No Data
Related