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

nRF Connect Error "NRF_ERROR_TIMEOUT"

I plugged my nRF52 evaluation board to PC using a micro USB cable, dragged a ble_peripheral hex file from Nordic examples to the mounted JLINK drive, started up nRF Connect v2.2.1, launched Bluetooth Low Energy app, chose the recognized COM port, confirmed the message suggesting to program the kit with the required firmware, then I get this error:

10:28:35.9290 Connectivity firmware version 1.2.1 detected
10:28:35.9350 Opening adapter connected to COM39
10:28:36.4700 Successfully opened COM39. Baud rate: 1000000. Flow control: none. Parity: none.
10:28:36.4730 Reset performed on adapter COM39
10:28:38.4770 Error occured when opening port. Errorcode: NRF_ERROR_TIMEOUT (0xd)

Environment:
Windows 7
nRF Connect v2.2.1
PCA10040, V1.2.1
Tried hex file: ble_app_uart_s132_pca10040.hex , ble_app_alert_notification_s132_pca10040.hex

Thanks

  • Hi Alaa,

    Have you tried to test and make sure UART interface works with your computer ? Have you tried UART example in the SDK and use a terminal application PC to interface?

    Which Jlink driver version you have on your board ?

    I don't understand why you have to "drag a ble_peripheral hex file" to the chip ?

  • Nordic provides compiled hex examples. Such as ble_app_alert_notification. And to burn it on the board you can drag it to the mounted drive. And then you should be able to connect to it with nRF Connect. I find the board with another Bluetooth device (smartphone) and I can connect to it. But nRF Connect keeps failing when I choose the COM port

  • Note that you need 2 boards to test with NRFConnect. One board you plug into PC so nRFConnect use that board as the BLE hardware (nRFConnect won't use the integrated BLE chip on the PC ). And on the second board you flash the peripheral hex file. The second board is the Device Under Test, the first board is the tester needed for NRFConnect.

    But you need to test if the UART communication between PC and the tester board works fine as I suggested above.

Related