Clarification on Bootloader on nRF52840

Hi,

I have working with Bootloader development on nrf52840 controller, for that i followed devacedemy course for firmware update using Uart and able to update firmware using those mcumgr commands.

In that I have one clarification like where the bootloader related code or APIs has been usen because i have checked in the project no code related to bootloader but only in the prj.conf file have some configurations on that. How the bootloader here working here like these i want to know the clarity.

Another thing is How can we check the mcumgr commands are running, how it is taking via uart.

Thank you in advance

Parents
  • When you configure your project to use a bootloader (or two if you use an upgradable bootlaoder), these bootloader(s) are added as child image(s). (Techincally this terminologi is used up to sysbuild which is the default from nRF Connect SDK 2.7.0, but the over al principle remains the same). If you look at the build process and the build output you will see that it is not just your application that is built, but also MCUboot, which is a separate project, but the build systsem handles it for you. The code for MCUboot is located under bootloader/mcuboot/.

    Another thing is How can we check the mcumgr commands are running, how it is taking via uart.

    Can you elaborate on this question?

Reply
  • When you configure your project to use a bootloader (or two if you use an upgradable bootlaoder), these bootloader(s) are added as child image(s). (Techincally this terminologi is used up to sysbuild which is the default from nRF Connect SDK 2.7.0, but the over al principle remains the same). If you look at the build process and the build output you will see that it is not just your application that is built, but also MCUboot, which is a separate project, but the build systsem handles it for you. The code for MCUboot is located under bootloader/mcuboot/.

    Another thing is How can we check the mcumgr commands are running, how it is taking via uart.

    Can you elaborate on this question?

Children
Related