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

How App switch to bootloader_secure

Hi, I am use nRF51422 and SDK 12.3 sd130. I can use nRFTool App update FW to nRF51422. but I dont know how to switch App to bootloader in BLE not button. which function I can use and reset mcu itself to go back bootloader.

Thanks

Parents Reply
  • Hi Petter, I did and implement ble_dfu and other related file into my project and it does work. but I still have a question: In nrf_dfu_flash_buttonless.c

    FS_REGISTER_CFG(fs_config_t fs_dfu_config) = { .callback = fs_evt_handler, // Function for event callbacks. .p_start_addr = (uint32_t)MBR_SIZE, .p_end_addr = (uint32_t)BOOTLOADER_SETTINGS_ADDRESS + CODE_PAGE_SIZE
    

    //.num_pages = 1, // Number of physical flash pages required. //.priority = 0xFE // Priority for flash usage. };

    I used to set .num_pages = 1 or 2 or more but here it has set address. My question is: May I still can set num_pages and use Flash Storage function.

    Thanks

Children
No Data
Related