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

nRF52840 Dongle connect

Hi,

I've tried connecting to the nRF52840 Dongle using nRF connect as explained in : ://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.tools%2Fdita%2Ftools%2FnRF_Connect%2FnRF_Connect_intro.html&cp=4_2

I get the following error message: ERROR Error while setting up device E439E2FEFB96: Timeout while waiting for device E439E2FEFB96 to be attached and enumerated

Please advise, 

Daniel

Parents Reply Children
  • Hi Daniel,

    Got a hold of a v1.0.0 52840 dongle. I had none of the issues you describe. The dongle was in bootloader mode when I attached it to my laptop, then nrf connect ble v2.2.0 asked to update the connectivity fw, I said yes & the dongle was connected to successfully. I can successfully scan for other BLE devices in the vicinity.

    Below is a copy of the log from the nrf connect application:

    2018-08-14T11:23:13.106Z INFO Application data folder: C:\Users\bjkv\AppData\Roaming\nrfconnect\pc-nrfconnect-ble
    2018-08-14T11:23:13.264Z DEBUG App pc-nrfconnect-ble v2.2.0 official
    2018-08-14T11:23:13.264Z DEBUG App path: C:\Users\bjkv\.nrfconnect-apps\node_modules\pc-nrfconnect-ble
    2018-08-14T11:23:13.264Z DEBUG nRFConnect 2.4.0 is supported by the app (^2.4.0)
    2018-08-14T11:23:13.264Z DEBUG nRFConnect path: C:\Users\bjkv\AppData\Local\Programs\nrfconnect\resources\app.asar
    2018-08-14T11:23:13.264Z DEBUG HomeDir: C:\Users\bjkv
    2018-08-14T11:23:13.264Z DEBUG TmpDir: C:\Users\bjkv\AppData\Local\Temp
    2018-08-14T11:23:13.274Z VERBOSE Could not fetch serial number for serial port at COM3
    2018-08-14T11:23:19.680Z INFO Validating connectivity firmware for device with serial number D5A12E3BB551...
    2018-08-14T11:23:37.487Z INFO Connectivity firmware is valid.
    2018-08-14T11:23:37.491Z INFO Connectivity firmware version: ble-connectivity 0.1.0+May-28-2018-12-30-56. SoftDevice API version: 3. Baud rate: 1000000.
    2018-08-14T11:23:37.537Z INFO Opening adapter connected to COM37
    2018-08-14T11:23:38.185Z INFO Reset performed on adapter COM37
    2018-08-14T11:23:38.186Z INFO Successfully opened COM37. Baud rate: 1000000. Flow control: none. Parity: none.
    

    Could you please put the dongle in bootloader mode by attaching the dongle to the computer & pressing the reset button on the dongle (not the big white one, but the smaller one that is angled perpendicular to SW1). Then, open the bluetooth low energy application again & redownload the connectivity FW.

    Kind Regards,

    Bjørn

  • Thanks Bjorn - it works!

    I'm using Segger embedded studio (using the PCA10056). Can you recommend the best way to upload my program to the dongle?

    Thanks again,

    Daniel

  • Great to hear! Currently, the nrf connect programmer app does not support a merged download of both the softdevice & an application. If you wait around three weeks, the newest nrf connect v2.5.0 update will be available. This nRF Connect together with the v1.0.0-3 experimental Programmer app will be able to do a merged softdevice & application device firmware update (DFU). I have tested this myself & this works very well.

    The PCA10056 is quite different from the PCA10059 when it comes to the GPIO pins, etc (even though both use the 52840 SoC). I would recommend taking a look at the ble_app_blinky example from the newest nrf5 sdk. This example works out of the box on the dongle (open the pca10059 example) with nrf connect v2.5.0.

    Currently, there is no way to program the dongle via Segger Embedded Studio unfortunately. I would take a look at the differences between the ble_app_blinky example & your example, especially taking a look at the pca10059.h board file.

    Some people have managed to program the dongle via a special SWD cable & connected it to the 10 pins on the back of the dongle. The other side of the SWD cable is connected to some kind of JLink programmer (either via a dedicated JLink programmer or via the debug out port on a nRF52 DK). There should be a few devzone questions related to this.

  • Bjorn,

    Thanks again! I'll check all the options you mentioned.

    Best regards,

    Daniel

Related