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

Bootloader with the 128kB/16kB Version?

Hello all,

I want to use a single bank bootloader with the ISP1302 Module (nRF51822 Chip) and S110 (V8) Soft Device, SDK 10, for application update

Can I use the BLE Bootloader, in spite of the few memory? If so, what IRAM and IRAM settings should I use?

I found only the dual bank BLE S110 bootloader example in SDK 10. Can I simple modify it for single bank operation?

thanks a lot and best regards

Parents
  • Well, the S110 v8.0.0 requires 96kB ( 0x18000 bytes) and the bootloader requires 16kB ( 15kB for the bootloader + 1kB for the bootloader settings page), which leaves you 16kB(0x4000 bytes) for the application.

    So yes, you can use the BLE bootloader if our application is not going to be larger than 16kB.

    The Read/Only Memory Areas and Read/Write Memory Areas settings should then be set to the following

    IROM1 Start: 0x0001C000 Size: 0x3C00
    
    IRAM1 Start: 0x20002C00 Size: 0x1380
    
    IRAM2 Start: 0x20003F80 Size: 0x80 (NoInit Checked) 
    

    You can convert the S110 Dual Bank Bootloader to a Single Bank Bootloader by replacing , dfu_dual_bank.c with dfu_single_bank.c.

    -Best regards

    Bjørn

  • Happy to help :) I would appreciate if you could mark the answer as correct/accepted by clicking the checkmark in a circle to the left of the answer.

Reply Children
No Data
Related