The process of ble ota is a bit long

HI ALL,

      I am using v2.8.0, NRF54L15,and peripheral_uart demo has not made any modifications except for adding the following content. The test shows that the OTA upgrade (from start to device restart) takes about 80 seconds. Through Wirshark packet capture, it was found that the air transmission only takes about 6 seconds. Is this around 80 seconds normal?

Parents
  • Hi,

    It seems like MCUBoot builds do not enable the RRAM write buffer by default. As a result, the routine that copies the updated image from the secondary slot to the primary slot becomes very slow.

    Please try to add this line to your mcuboot configuration:  

    # Increase log level in bootloader
    CONFIG_LOG_DEFAULT_LEVEL=4
    CONFIG_MCUBOOT_LOG_LEVEL_DBG=y
    # Enable write buffer for faster writes to RRAM
    CONFIG_NRF_RRAM_WRITE_BUFFER_SIZE=32

    <PROJ_DIR>/sysbuild
    └── mcuboot.conf

    Best regards,

    Vidar

Reply
  • Hi,

    It seems like MCUBoot builds do not enable the RRAM write buffer by default. As a result, the routine that copies the updated image from the secondary slot to the primary slot becomes very slow.

    Please try to add this line to your mcuboot configuration:  

    # Increase log level in bootloader
    CONFIG_LOG_DEFAULT_LEVEL=4
    CONFIG_MCUBOOT_LOG_LEVEL_DBG=y
    # Enable write buffer for faster writes to RRAM
    CONFIG_NRF_RRAM_WRITE_BUFFER_SIZE=32

    <PROJ_DIR>/sysbuild
    └── mcuboot.conf

    Best regards,

    Vidar

Children
Related