Hi,
After successful building of pca10040_s132_ble_debug example with changes to project :
- excluding SEGGER_RTT_Syscalls_SES.c from build
- from flash_placement.xml in deleting size="0x4" from <ProgramSection alignment="4" load="Yes" name=".text" /> and <ProgramSection alignment="4" load="Yes" name=".rodata" />
- use oberon instead of ECC with changes to sdk_config.h
NRF_CRYPTO_BACKEND_MICRO_ECC_ENABLED to 0
NRF_CRYPTO_BACKEND_NRF_SW_ENABLED to 0
NRF_CRYPTO_BACKEND_OBERON_ENABLED to 1
- section placement macros
FLASH_PH_START=0x0
FLASH_PH_SIZE=0x80000
RAM_PH_START=0x20000000
RAM_PH_SIZE=0x10000
FLASH_START=0x71000
FLASH_SIZE=0xd000
RAM_START=0x20005968
RAM_SIZE=0xa698
Bootloader is built successfully, and after download to the board with Softdevice s132, board is not advertising anything.
However, when I flash same Softdevice s132 hex, with already precompiled hex image from examples/dfu/secure_dfu_test_images - bootloader_secure_ble_debug_without_bonds_s132.hex then everything works.
I tried to flash Softdevice and bootloader both from SEGGER and using nrfjprog from command line, and result is the same.
I would kindly appreciate your help.
Best.
Link to built hex file is here :
https://www.dropbox.com/s/ed7p28kc3asozd9/secure_bootloader_ble_s132_pca10040_debug.hex?dl=0