Hi,
I have a really hard time with nRF connect. I wrote a simple app for my Dongle and when I want to program it via nRF connect it says that Device not found due to failure during DFU.
As you can see I copied the ble_app_blinky and started writing my own program. I did everything that the tutorial said. I am really exhausted and I have no idea what to do.
20:38:28.978 Does not need to be reloaded: /Users/bronsun/Desktop/Nordic/workspace/ex00/ble_app_blinky/hex/ble_app_blinky_pca10059_s140.hex
20:38:28.980 SdReq for SoftDevice is set as 0x00.
20:38:28.982 Hash is generated by SHA256
20:38:28.982 Hash is generated by SHA256
20:38:28.987 Performing DFU. This may take a few seconds
20:38:28.995 DFU procedure starts. This may take a few seconds.
20:38:37.747 DFU for SoftDevice completed successfully!
20:38:37.747 1 dfu package(s) left.
20:38:37.747 Waiting for device
20:38:37.750 DFU procedure starts. This may take a few seconds.
20:38:41.023 DFU for Application completed successfully!
20:38:41.024 0 dfu package(s) left.
20:38:41.024 Waiting for device
20:38:46.027 Reopen device failed: Timeout while waiting for device C6611B5503C0 to be attached and enumerated
20:38:46.027 Nordic DFU Trigger Interface was not found.Please physically reset device.
20:38:46.029 Device not found due to failure during DFU
20:38:46.035 Target device closed.
Here is my code
#include "boards.h"
int main(){
bsp_board_init(BSP_INIT_LEDS | BSP_INIT_BUTTONS);
while (true){
if(bsp_board_button_state_get(BSP_BOARD_BUTTON_0)) {
bsp_board_led_on(BSP_BOARD_LED_2);
} else {
bsp_board_led_off(BSP_BOARD_LED_2);
}
}
}