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

When I build a project, it is built from a Bootloader file, not from an Application file.

I upgraded the code from sdk13 to sdk17.

The setting is the same as the original code and there is no error.

However, if I build, the original code is built with the app, but the changed code seems to be built with the bootloader.

I want to build an app and upload it on the board, can you tell me what settings I should change?

Parents
  • Hi

    The fact that the Programmer recognize your application is a fault with the Programmer app, as it's sometimes struggling to recognize applications/bootloaders/SoftDevices correctly. This should not be related to the fact that your application is stuck in the SVC handler. Since you've upgraded your project all the way from SDK v13 my guess is that the error is related to this process.

    What SoftDevice version is your project using currently? This might cause SVC numbers for example to be incorrect. Alternatively, the incorrect SoftDevice headers or similar in your startup files are used  that cause the app to stay in the SVC handler.

    Best regards,

    Simon

  • The bootloader's address was weird, so the svcall didn't work.

    The application included nrf_bootloader_info.c, but when I erased it, the bootloader's address returned to normal and the nrf connect app recognized it as normal application. Also, Svcall work well.

Reply Children
No Data
Related