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

Creating Bootloader with FreeRTOS

Hi,

We have 2 projects in pre-production stage that use nRF52840. We are also using FreeRTOS for both projects.

Now we need to create an OTA bootloader for both. There is a standard bootloader from Nordic that uses the power management module from SDK, and there is a standard demo for FreeRTOS, but without a bootloader. We also found that FreeRTOS uses its own power management functions, so there is a collision here.

Could you please advise what is the best way of merging those 2 demos?

Parents
  • Hi Andrew,

    If you are using FreeRTOS in your application only and you have a bootloader project without FreeRTOS, then i guess both can live together in the same device without any issues. This is because when the bootloader is started, application gives away control and application gets control only after the bootloader is done.

    Which examples exactly were in mind to merge? merging something with nrf_pwr_management and FreeRTOS power management is not very straightforward and needs some architectural considerations.

Reply
  • Hi Andrew,

    If you are using FreeRTOS in your application only and you have a bootloader project without FreeRTOS, then i guess both can live together in the same device without any issues. This is because when the bootloader is started, application gives away control and application gets control only after the bootloader is done.

    Which examples exactly were in mind to merge? merging something with nrf_pwr_management and FreeRTOS power management is not very straightforward and needs some architectural considerations.

Children
Related