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

About OTA for nRF52810 on SDK v14.1

Hi

Now I'm using nRF52810 base on SDK v14.1 and I want to do the OTA for it. When I combile the bootloader project, I get so many error "No space in execution regions....." . The error wouldn't occur on SDK v14.0.

image description

Because the nRF52810 just have 196KB flash and the softdevice would use 100KB then the bootloader would use 32 KB. My aplicaiton is about 60KB, so could I use the bootloader to do OTA for nRF52810?

Besides, I can see the start address of the bootloader is 0x78000, if use it to do OTA for nRF52810, how could I set the starting address and the IRAM1 in the Keil setting? Thanks.

52810_OTA.rar

Parents Reply
  • So sorry that I have a business trip for some days.Now I have update nrfutil to the latest version v3.4.0. I just flash the bootloader and the softdevice. After the update, I found that crc != s_dfu_settings.bank_0.image_crc in the nrf_dfu_app_is_valid function. Could you run application after the update? The command as follow:

    nrfutil settings generate --family NRF52 --application Clife.hex --application-version 1 --bootloader-version 1 --bl-settings-version 1 Clife_setting.hex
    

    Merge them into one file:

    mergehex -m s112_nrf52810_5.1.0-2.alpha_softdevice.hex bootloader.hex Clife_setting.hex -o 123.hex 
    mergehex -m 123.hex Clife.hex -o Clife_APP_SD_BL.hex
    
Children
No Data
Related