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 am trying to use the nRF Connect v1.0 RC with the pca10040 board. I followed the instructions of your [page] and when i open the serial port i got an error (Error occurred opening serial port. (NRF_ERROR_TIMEOUT)) as shown in the attached figure. I programmed the “connectivity_115k2_with_s132_2.0.1.hex” file by two ways: via drag and drop and by nrfjprog tool (version 8.4 and also 8.0) and i programmed ble example applications (with and without uart initialisation) with Keil uVision5. I noticed that the board receives the ASCII characters “*” “NUL” “ENQ” “NUL” “*” “*” and not respond any data. Any suggestion what i might be doing wrong or not doing? image description

Parents
  • I programmed in the same board (pca10040). My windows version is windows 7 64 bits. I am not running windows in a virtual machine. Regarding the application that I program, it is working properly. i already programmed an application that initialises and uses the uart but this one only calls my interrupt events of uart. I also have tried to put an application that don’t uses at all any uart function, but I don’t know how the softdevice (“connectivity_115k2_with_s132_2.0.1.hex”) can interact with uart communication of nRF52 to respond to NRF Connect software on windows. Do i have to do some initialisation? What are the pins that uart communication of the softdevice use? (Are P0.08 and P0.06?). Note: I can see the serial message from the nRF Connect in windows (by Jlink CDC UART Port) but i don’t see any response from board.

Reply
  • I programmed in the same board (pca10040). My windows version is windows 7 64 bits. I am not running windows in a virtual machine. Regarding the application that I program, it is working properly. i already programmed an application that initialises and uses the uart but this one only calls my interrupt events of uart. I also have tried to put an application that don’t uses at all any uart function, but I don’t know how the softdevice (“connectivity_115k2_with_s132_2.0.1.hex”) can interact with uart communication of nRF52 to respond to NRF Connect software on windows. Do i have to do some initialisation? What are the pins that uart communication of the softdevice use? (Are P0.08 and P0.06?). Note: I can see the serial message from the nRF Connect in windows (by Jlink CDC UART Port) but i don’t see any response from board.

Children
  • I fail to see what your other application has to do with nRF Connect, sorry if I'm missing anything obvious here. The merged connectivity and softdevice firmware (connectivity_115k2_with_s132_2.0.1.hex) needs to be programmed and run alone on the nRF52. No initialization is required, the connectivity application and nRF Connect synchronize automatically over uart (P0.08 and P0.06 + RTS/CTS on P0.05 and P0.07).

Related