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?

  • Hi

    Just to make sure. What kind of app are you trying to flash onto the nRF here? It does indeed seem like the app is identified as a bootloader here. Does the application still run as intended here, or are you running into any errors when the application is running?

    Best regards,

    Simon

  • hi

    It seems like the app is identifiend as a bootloader here. The application maybe still run well but it has one problem.

    when it run svcall it stuck in SVC Handler like this picture. Is this problem related to that problem(=identifiend as a boot loader)
    And do you know solution of stuck in SVC Handler?

    Menboong

  • 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.

Related