I tried to download softdevice 8.0 and the example code of SDK8.0 (\nRF_Examples\8.0.0\dfu\bootloader\pca10028\dual_bank_ble_s110\arm5) to PCA10001.
First I Copied the dfu_dual_bank_ble_s110_pca100028 app
#define BOARD_PCA10001 in bsp\board.h first line
Changed main.c
#define
-BOOTLOADER_BUTTON from BSP_BUTTON_3 to BSP_BUTTON_1
-UPDATE_IN_PROGRESS_LED frome BSP_LED_2 to BSP_LED1
Set Target: IROM1 : Start ( 0x3C000 ) Size ( 0x3C00 ) IRAM1 : Start ( 0x20002C00) Size ( 0x1380 ) IRAM2 : Start ( 0x20003F80) Size ( 0x80 )
Rebuild by keil 5.11 erase All by nRFgo studio Program softdevice 8.0 by nRFgo studio Download dfu_dual_bank_ble_s110_pca100028 by keil
Now the LED 1 is always on, LED 2 is always off. And I can find the device (DfuTarg) on master control panel on my smart-phone. After connect the device, LED 1 is off, LED 2 is on.
Next I want to download the example code of hrm_app by bootloader
1.To support the PCA10001, are the Button and Led set changes legal? would it conflict to the hrm_app or other function?