mcuboot to perform peripheral diagnostics on bootup

Hi,

I am using a BL653, on which I have the following peripherals:

  1. SPI
  2. I2C
  3. UART
  4. ADC
  5. PWM
  6. BLE controller

Upon bootup I want mcuboot to diagnose these 6 peripherals, sort of a health check up.

Can you kindly suggest how & where in mcuboot source code I can make changes..?

Thanks,

Parents Reply
  • You typically don't want to introduce possible bugs to the bootloader, because if the device fails, then it is bricked. Also, it introduces several images (applications) that you need to maintain when you update the SDK version, instead of keeping only one application, and use the default/standard bootloader.

    But, in theory, you can do whatever you like from the bootloader. 

    You can make changes (at your own risk) in the bootloader's main.c file, which is located in:

    v1.9.1\bootloader\mcuboot\boot\zephyr\main.c

    Best regards,

    Edvin

Children
No Data
Related