This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF51822-EK DFU example not working

I have a nRF51822-EK Evaluation Kit (PCA10001) that I am trying to run example code for OTA DFU on as detailed in the tutorial here:

devzone.nordicsemi.com/.../

I have tried the dfu_dual_bank_ble_s110_pca10028 project, modifying the preprocessor symbol from BOARD_PCA10028 to BOARD_PCA10001. I have loaded SoftDevice S110 V8.0.0 onto the EK board, flashed the dongle, and am using SDK V9.0.0 or later. Because the PCA10001 board does not have four buttons and 3 LEDS, I have modified the #define in the project main.c so that BOOTLOADER_BUTTON is BSP_BUTTON_0 and UPDATE_IN_PROGRESS_LED is BSP_LED_0. When following the tutorial directions, everything flashes to the boards but I cannot find the EK board on the Master Control Panel.

When flashing the project to the EK, I am using the default memory ranges: IROM1: Start 0x3C000; Size 0x3C00 IRAM1: Start 0x20002C00; Size 0x5380 IRAM2: Start 0x20007F80; Size 0x80; No init checked

I should note that I am able to run the example project ble_ap_uart_s110_pca10028 correctly when that is flashed onto the PCA10001.

I haven't been able to find any other forum post with this problem or a solution. Any assistance would be very much appreciated. Thanks.

Parents
  • The PCA100028 (nRF51 DK) uses a nRF51422 QFAC variant, i.e. 256 kB Flash and 32kB RAM. You have to modify the memory settings in order to run the example on a chip with 16kB RAM (PCA10001 QFAA). You can edit the memory settings by going to

    Options for Target >> Target >> Read/Only Memory Areas and Read/Write Memory Areas

    and input the following settings:

    IROM1 Start: 0x0003C000 Size: 0x3C00
    
    IRAM1 Start: 0x20002C00 Size: 0x1380
    
    IRAM2 Start: 0x20003F80 Size: 0x80 (NoInit Checked)
    
Reply
  • The PCA100028 (nRF51 DK) uses a nRF51422 QFAC variant, i.e. 256 kB Flash and 32kB RAM. You have to modify the memory settings in order to run the example on a chip with 16kB RAM (PCA10001 QFAA). You can edit the memory settings by going to

    Options for Target >> Target >> Read/Only Memory Areas and Read/Write Memory Areas

    and input the following settings:

    IROM1 Start: 0x0003C000 Size: 0x3C00
    
    IRAM1 Start: 0x20002C00 Size: 0x1380
    
    IRAM2 Start: 0x20003F80 Size: 0x80 (NoInit Checked)
    
Children
No Data
Related