Hi,
Having problems setting up a bootloader and application in the flash memory sectors. The program dies at sd_softdevice_vector_table_base_set(bootloader_addr); It looks like I have the bootloader in address 0x00019000;
which makes sense because the bootloader memory placement is as follows;
FLASH_PH_START=0x0
FLASH_PH_SIZE=0x30000
RAM_PH_START=0x20000000
RAM_PH_SIZE=0x6000
FLASH_START=0x19000
FLASH_SIZE=0xE000
RAM_START=0x20000000
RAM_SIZE=0x6000
I think I have the app memory placement being placed at the same area;
FLASH_PH_START=0x0
FLASH_PH_SIZE=0x30000
RAM_PH_START=0x20000000
RAM_PH_SIZE=0x6000
FLASH_START=0x19000
FLASH_SIZE=0x17000
RAM_START=0x20002EA0
RAM_SIZE=0x3160
How do I remedy this?
My suspicion is I should change the bootloader memory placement to;
FLASH_PH_START=0x0
FLASH_PH_SIZE=0x30000
RAM_PH_START=0x20000000
RAM_PH_SIZE=0x6000
FLASH_START=0x19000
FLASH_SIZE=0xE000
RAM_START=0x20002EA0
RAM_SIZE=0x3160
And I should also change the app memory placement to;
FLASH_PH_START=0x0
FLASH_PH_SIZE=0x30000
RAM_PH_START=0x20000000
RAM_PH_SIZE=0x6000
FLASH_START=0x27000 (0x19000 + 0xE000)
FLASH_SIZE=0x17000
RAM_START=0x20002EA0
RAM_SIZE=0x3160
but to be honest, reviewing the memory for the nrf52811;
all these memory placements seem out of whack.
This is related to my other post.