This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

MCUBoot doesn't run

I am trying to build a project with Visual Studio Code that uses MCUBoot.  I have created a new project based off of the "Hello World" sample, which runs on my nrf52840 without issue.  But when I add CONFIG_BOOTLOADER_MCUBOOT=y to my prj.conf file, it builds okay but doesn't run.  Upon launching the debugger, the call stack lists:

??@0x00001106 Unknown Source

??@0x000033b6 Unknown Source

and never branches to my application.  What settings am I missing?  And is it possible to debug into the MCUBoot code to see why it's going off the rails?

Parents Reply
  • I made a new application based on a sample and added the applicable files and these lines to CMakeLists.txt

    set(mcuboot_DTC_OVERLAY_FILE ${CMAKE_CURRENT_SOURCE_DIR}/child_image/mcuboot_dtc.overlay)
    set(mcuboot_CONF_FILE ${CMAKE_CURRENT_SOURCE_DIR}/child_image/mcuboot.conf)

    It is working again now, I'm not sure what went wrong with the previous build environment, as I don't see any obvious differences.  Regardless I'm moving forward.

Children
No Data
Related