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

After press the upload button,this situation appears?

The way of entering the bootloader mode is sending the command,then run the code as follows:

void jump_to_bootloader(void) { uint8_t softdevice_enabled; uint32_t err_code; err_code = sd_softdevice_is_enabled(&softdevice_enabled); if(softdevice_enabled != 0) { err_code = sd_power_gpregret_clr(0xF0); err_code = sd_power_gpregret_clr(0xFF); err_code = sd_power_gpregret_set(0xA0); sd_nvic_SystemReset(); } }

When the device enters the bootloader mode,so I choice the .zip file to DFU.But when I press the upload button,some situations happen as the pictures present. image description image description image description image description

Finally,the device ran application again,but I know it DFU failed.

But I do not know why it failed.

Related