1. Introduction

This tutorial aims to provide steps on how to support FW images of different sizes on the DA1469x. By default, both the SDK and chip configurations support running application images of up to 512 kB in size. The DA1469x Bluetooth SoC is capable of executing code from any address in FLASH. This feature is supported due to re-mapping capabilities of the M33 application CPU of the DA1469x. It is therefore necessary to configure the maximum image size in the chip and place the image in the FLASH at an address aligned with the re-mapping settings as explained later in this tutorial.

To change the default application image size configurations, the CACHE_FLASH_REG[FLASH_REGION_SIZE] bit field value should be set appropriately. To do so, the appropriate entry should be written in the Configuration Script (CS) section in OTP.

'Register Description of CACHE_FLASH_REG'

Figure 1 Register Description of CACHE_FLASH_REG

See Table 988 in DA1469x datasheet for more information on CACHE_FLASH_REG.

Note

Both the FLASH_REGION_BASE and FLASH_REGION_SIZE bit fields, are configured by the ROM booter automatically, and so there is no need for the developer to program them.