Nrf52840 and nRF Connect Bluetooth Low Energy 4.0.0 - impossible to connect properly

I'm trying to connect my nrf52840 to the App but I have error message and impossible to continue ...

Here the log of the app standalone :

2022-10-07T21:50:58.341Z INFO Device closed.
2022-10-07T21:51:09.606Z INFO Selected device with s/n ECB4F7FBA69EA943
2022-10-07T21:51:09.609Z INFO Device setup completed
2022-10-07T21:51:09.609Z INFO Connectivity firmware version: ble-connectivity 4.1.4+Mar-11-2021-08-36-04. SoftDevice API version: 5. Baud rate: 1000000.
2022-10-07T21:51:09.610Z INFO Opening adapter connected to COM16
2022-10-07T21:51:10.559Z INFO Successfully opened COM16. Baud rate: 1000000. Flow control: none. Parity: none.
2022-10-07T21:51:10.560Z DEBUG State change: STATE_START -> STATE_RESET
2022-10-07T21:51:10.560Z DEBUG        1 ->  [N/A] type:          RESERVED_5 reliable: no seq#:0 ack#:0 payload_length:0 data_integrity:0 err_code:0x0
2022-10-07T21:51:10.565Z INFO Reset performed on adapter COM16
2022-10-07T21:51:10.869Z DEBUG State change: STATE_RESET -> STATE_UNINITIALIZED
2022-10-07T21:51:10.870Z DEBUG        2 ->  [01 7e ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:2 data_integrity:0 err_code:0x0 [SYNC]
2022-10-07T21:51:11.120Z DEBUG        3 ->  [01 7e ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:2 data_integrity:0 err_code:0x0 [SYNC]
2022-10-07T21:51:11.385Z DEBUG        4 ->  [01 7e ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:2 data_integrity:0 err_code:0x0 [SYNC]
2022-10-07T21:51:11.635Z DEBUG        5 ->  [01 7e ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:2 data_integrity:0 err_code:0x0 [SYNC]
2022-10-07T21:51:11.887Z DEBUG        6 ->  [01 7e ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:2 data_integrity:0 err_code:0x0 [SYNC]
2022-10-07T21:51:12.138Z DEBUG        7 ->  [01 7e ] type: LINK_CONTROL_PACKET reliable: no seq#:0 ack#:0 payload_length:2 data_integrity:0 err_code:0x0 [SYNC]
2022-10-07T21:51:12.403Z ERROR Received status with code 0 PKT_SEND_MAX_RETRIES_REACHED, message: 'No response from device. Tried to send packet 6 times.'
2022-10-07T21:51:12.404Z DEBUG State change: STATE_UNINITIALIZED -> STATE_NO_RESPONSE
2022-10-07T21:51:13.569Z DEBUG serial port read on port COM16 aborted.
2022-10-07T21:51:13.584Z ERROR Error occured when opening port. Errorcode: NRF_ERROR_TIMEOUT (0xd)

Is it possible to have an idea of solution ?

Best regard

Claude (from France...)

Parents
  • Hello Claude,

    The errors indicate that there is a communication issue between your PC and the connectivity board/dongle, but I don't see any indication of what is causing it. Are you using the nRF52840 Dongle to test with?

    Best regards,

    Vidar

  • Hello Vidar

    First many thanks for the first response

    this product is the Dongle Usb of Makerdiary....

    I don't know where is the problem....When I connect the dongle led passed to green (when I push the reset button...)

    After this It appear on usb to serial

    But impossible to access to this peripheral with nrfutil, adafruit-nrfutil and your software nrfconnect

    But after many and many test and more and more hours, after a change of the product of Makerdiary I have an issue with wizzard....

    When I reset the dongle (while connecting) the dongle pass green to red blink and after it return green

    Other try the led is green, I reset the dongle, the led pass in blank and so after in green

    I have reset by clicking the reset button and magic it appear in the nrfconnect

    With this soft I can scan BLE and pass on other app so the Nrfconnect ask to me flashing at each time .... I think it is the normal mode ??

    I would like to have this dongle into wireshark so I follow the tutorial in Elektor :

    https://www.elektormagazine.fr/magazine/elektor-275/61031

    With many try and many hours (night !!) impossible to change the bootloader...

    But one chance I succeed to flash the bootloader and normally the dongle must start and appear like USB key but nothing !!

    After research I found this link :

    https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_sniffer_ble%2FUG%2Fsniffer_ble%2Fintro.html

    It will OK at this time but I don't know why it function or not and why it impossible to enter in DFU mode (reset at connection) each time and not one time or one time....

    There is a solution to verify the flash, bootloarder and other parameter on this dongle ??

  • I don't have this Makerdiary dongle here to test with, so I can tell if this is expected behavior or not, unfortunately. We only test nRF connect app with the following boards:

    (nRF Connect Bluetooth Low Energy)

    And the nRF sniffer:

    titou4307 said:
    With this soft I can scan BLE and pass on other app so the Nrfconnect ask to me flashing at each time .... I think it is the normal mode ??

    What Softdevice did you use, and how did you program it?

    titou4307 said:
    But one chance I succeed to flash the bootloader and normally the dongle must start and appear like USB key but nothing !!

    What bootloader are you trying to flash, the UF2 or the open bootloader?

    titou4307 said:
    It will OK at this time but I don't know why it function or not and why it impossible to enter in DFU mode (reset at connection) each time and not one time or one time....

    Did you manage to load the sniffer FW .hex (sniffer_nrf52840dongle_nrf52840_4.1.0.hex) to your dongle?

Reply
  • I don't have this Makerdiary dongle here to test with, so I can tell if this is expected behavior or not, unfortunately. We only test nRF connect app with the following boards:

    (nRF Connect Bluetooth Low Energy)

    And the nRF sniffer:

    titou4307 said:
    With this soft I can scan BLE and pass on other app so the Nrfconnect ask to me flashing at each time .... I think it is the normal mode ??

    What Softdevice did you use, and how did you program it?

    titou4307 said:
    But one chance I succeed to flash the bootloader and normally the dongle must start and appear like USB key but nothing !!

    What bootloader are you trying to flash, the UF2 or the open bootloader?

    titou4307 said:
    It will OK at this time but I don't know why it function or not and why it impossible to enter in DFU mode (reset at connection) each time and not one time or one time....

    Did you manage to load the sniffer FW .hex (sniffer_nrf52840dongle_nrf52840_4.1.0.hex) to your dongle?

Children
  • I have done many and many tests and try with nrfutil, adafruit-nrfutil and nrfconnect....So at this time my memory is in default ...sorry I not give to your all the tests and procedure

    I have follow the Elektor process without success...

    The Oem firmware if I not say error is openbootloader so I have try to pass in UF2 bootloader...

    And yes in final this is the firmware "sniffer_nrf52840dongle_nrf52840_4.1.0.hex" I use ....

  • Thanks for the clarification. But I'm not sure if it really matters if you run the UF2 or open bootloader on the device as long as you are able upload the application image (i.e. sniffer_nrf52840dongle_nrf52840_4.1.0.hex or the connectivity hex).

    Are you able to upload 'sniffer_nrf52840dongle_nrf52840_4.1.0.hex' to the dongle without errors, and does it show up as a USB device afterwards?

Related