
ANNA-B4 series - System integration manual
UBX-21000517 - R03
Contents
Page 36 of 74
C1-Public
Memory sizes can vary depending on the SoftDevice radio stack software running on the module. In
the nRF Connect Programmer, drag and drop the hex files you want to program into the GUI and then
flash them to the module using the GUI.
Figure 16: Selecting hex files in nRF Connect Programmer
4.5.2.1
Building applications to be flashed using the bootloader
To flash an application to the module without destroying the master boot record (MBR) pre-flashed
in the factory, the start address in flash must be revised to
0x27000
(for applications with S140
SoftDevice) or
0x1000
(applications without SoftDevice). In a similar way to how the
BOARD_CUSTOM
flag
Create a custom board support file for Nordic SDK
, the start address can be changed by
modifying the
FLASH_START
macro in the nRF5 SDK. In
Project Options
, select
FLASH_START
placement
macro to revise the address, as shown in
Figure 17: Setting the FLASH_START macro
☞
Also reduce the
FLASH_SIZE
to fit the application below the bootloader.