Hello,
I am working on nRF52832 chip using SDK 15.3.0 in segger embedded studio.
I implemented DFU in my application and it's working properly.
But my problem is when I upload HEX file of boot-loader using nRFgo Studio at that time I am getting error as shown below,
For download HEX file I am try 2 method
Method 1:
1) download soft-device HEX file,
Path: ..\..\..\components\softdevice\s132\hex\s132_nrf52_6.1.1_softdevice
2) Download bootloader HEX file,
Path: ..\..\..\Example\dfu\secure_bootloader\pca10040_ble\ses\Output\Release\Exe\secure_bootloader_ble_s132_pca10040.hex
Method 2:
Merge HEX file of bootloader setting generated by nrfutil.exe and bootloader hex file.
For merge and generate HEX file using below command,
1) Generate boot-loader settings as per our Application using below command,
nrfutil settings generate --family NRF52 --application application.hex --application-version 3 --bootloader-version 2 --bl-settings-version 2 settings_52832.hex
2) Merge HEX file using below command,
mergehex -m settings_52832.hex mergehex -m settings.hex secure_serial_bootloader.hex -o bootloader_w_settings.hex.hex -o bootloader_w_settings.hex
after this HEX file I upload same way using nRFgo Studio but getting same error.
Bootloade RAM AND FLASH address is shown below,
FLASH_PH_START=0x0 FLASH_PH_SIZE=0x80000 RAM_PH_START=0x20000000 RAM_PH_SIZE=0x10000 FLASH_START=0x78000 FLASH_SIZE=0x6000 RAM_START=0x200057b8 RAM_SIZE=0xa848
And application RAM and FLASH address is shown below,
FLASH_PH_START=0x0 FLASH_PH_SIZE=0x80000 RAM_PH_START=0x20000000 RAM_PH_SIZE=0x10000 FLASH_START=0x26000 FLASH_SIZE=0x5a000 RAM_START=0x20002640 RAM_SIZE=0xd9c0
Please give me solution for this problem as soon as possible.
Regards,
Urvisha Andani