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

System auto reset when using DFU

Hi everybody.

I am making an application which combine ANCS and UART on PC100028 (nrf51 SDK 9.0.0). This program worked properly. However when I add DFU service (dfu_dual_bank) follow as this instruction the program automatically reset when I try to connect my phone to the circuit as in image bellow:

image description

Could you please help me to solve this problem.

Here is setting of DFU bootloader in dfu_type.h:

  1. #define BOOTLOADER_REGION_START 0x0003C000
  2. #define BOOTLOADER_SETTINGS_ADDRESS 0x0003FC00
  3. #define DFU_APP_DATA_RESERVED 0x1400
  4. #define DFU_BANK_PADDING (DFU_APP_DATA_RESERVED % (2 * CODE_PAGE_SIZE))

Thank you very much

Related