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

Error while flashing the ble_app_uart exemple into the nRF52840 dongle

Hello,

My goal is to send a binary file by Bluetooth into the nRF52940 board from the terminal. I saw the ble_app_uart example. It seems to be exactly what I want to do but i have some issues. I changed the define in the precompilation in order to have the dongle included and not the PCA10056

I'm curently trying to connect the dongle (PCA10059) with the board (PCA10056) but in the nRFConnect Programmer I have the following error : 

Reopen device failed: Timeout while waiting for device F513C4296DB9 to be attached and enumerated
Nordic DFU Trigger Interface was not found.Please physically reset device.
Device not found due to failure during DFU
I am using the softdevice "s140_nrf52_6.1.1_softdevice.hex".

Thank you in advance for your answer.

Florian

Parents
  • Hi,

    This error does not indicate that there was an error during programming. You get this error message because the ble_app_uart example does not include the DFU trigger library. Therefore it is not recognized by nRF Connect programmer, but programming was still successful. You can avoid this message by including the DFU trigger library in your app if you like, or you can simply ignore it. The only practical consequence of not having the DFU trigger library is that you get this error and you have to push the sideways push-button to make the dongle start the bootloader in DFU mode. See nRF52840 Dongle Programming Tutorial for more details.

  • Hi ,

    Ok i understand but my dongle still don't work. I am using the dongle as a central device and the board as a peripheral device.

    I want to send a binary file that will be received by the nRF52840 to do a firmware update of an other chip by uart.

    So in resume i want :  PC <-ble-> nrf52840(board)<-UART-> other chip.

    Do you have any idea from where the error come from ?

    And if you don't, is there a better way to do what I want to achieve ?

  • Hi,

    The ble_app_uart is intended to be run on the DK, where the onboard debugger acts as a USB-UART bridge. This is not present on the dongle. The ble_app_uart example does not support CDC UART, so you will not see any UART traffic on your computer unless you connect a USB-UART bridge to the UART pins on the dongle (you can map UART pins to easily accessible GPIO's).

Reply Children
Related