Currently I learn the current DFU example from nrf_sdk but I failed in the last step:
-
I compiled the bootloader example secure_bootloader\pca10056_uart
-
in the process i created private keys
-
-
I burn the bootloader into the evaluation board pca10056 using Segger Studio tool (SES)
-
I run the board and I got 2 leds (leds 1,3) on as expected. now the bootloader run on the evaluation board and wait for the application
-
I compiled an example simple blinky tool without ble: peripheral\blinky\pca10056
-
I created a zip file using this tool
-
nrfutil pkg generate --hw-version 52 --sd-req 0x00 --application-version 1 --application blinky_pca10056.hex --key-file private.pem blinky_dfu.zip
-
-
I tried to upload create example zip file using:
-
nrfutil dfu serial -pkg blinky_dfu.zip -p COM27 -b 115200 -fc 1
-
-
The nrfutil burn it via the bootloader and I a message in the terminal: Device programmed
-
The evaluation board didn't blink any led. It means the example failed to run after burning
-
Why the blinky application doesn;t work after burning ?
maybe the some macros has wrong values ?
FLASH_PH_START=0x0
FLASH_PH_SIZE=0x100000
RAM_PH_START=0x20000000
RAM_PH_SIZE=0x40000
FLASH_START=0x1000
FLASH_SIZE=0xFF000
RAM_START=0x20000008
RAM_SIZE=0x3FFF8