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

nRF connect can't create a server.

Hi.
I tried to create a server using nRF connect but the error below appears.

2019-10-21T10:17:16.432Z INFO Application data folder: C:\Users\XXXX\AppData\Roaming\nrfconnect\pc-nrfconnect-ble
2019-10-21T10:17:16.725Z DEBUG App pc-nrfconnect-ble v2.3.1 official
2019-10-21T10:17:16.725Z DEBUG App path: C:\Users\XXXX\.nrfconnect-apps\node_modules\pc-nrfconnect-ble
2019-10-21T10:17:16.726Z DEBUG nRFConnect 3.2.0 is supported by the app (^3.0.0)
2019-10-21T10:17:16.726Z DEBUG nRFConnect path: C:\Users\XXXX\AppData\Local\Programs\nrfconnect\resources\app.asar
2019-10-21T10:17:16.726Z DEBUG HomeDir: C:\Users\XXXX
2019-10-21T10:17:16.726Z DEBUG TmpDir: C:\Users\XXXX\AppData\Local\Temp
2019-10-21T10:17:23.040Z INFO Validating connectivity firmware for device with serial number 000682164785...
2019-10-21T10:17:27.299Z ERROR Error while setting up device 000682164785: Error when programming Error occured when program. Errorcode: CouldNotCallFunction (0x9)
Lowlevel error: INVALID_PARAMETER (fffffffd)

2019-10-21T10:17:27.307Z INFO Device closed.

I tried to install all the previous versions, but they all failed.

I use the PCA10040 V0.9.0 board.

Parents
  • Hi, 

    Could you update to the latest version, nRF Connect v3.2.0 and Programmer v.1.2.3?

    It will ask to update the J-Link Software version 6.44. Please agree to install it. 

    Please let me know it helps or not. If not, please provide the complete log again. Thanks. 

    -Amanda H.

Reply
  • Hi, 

    Could you update to the latest version, nRF Connect v3.2.0 and Programmer v.1.2.3?

    It will ask to update the J-Link Software version 6.44. Please agree to install it. 

    Please let me know it helps or not. If not, please provide the complete log again. Thanks. 

    -Amanda H.

Children
  • Hi.
    Amanda. Thank you.
    I'm using nRF Connect v3.2.0 now. I updated everything.
    J-Link Software is also using version 6.44e.
    The previous log was written to the log file.
    This is the log displayed in the log window.

    09:15:12.556
    Application data folder: C:\Users\kr044\AppData\Roaming\nrfconnect\pc-nrfconnect-ble
    09:15:22.380
    Validating connectivity firmware for device with serial number 000682164785...
    09:15:25.169
    Error while setting up device 000682164785: Error when programming Error occured when program. Errorcode: CouldNotCallFunction (0x9) Lowlevel error: INVALID_PARAMETER (fffffffd)
    09:15:25.173
    Device closed.

  • Hi,

    Could you try to open the command line and use the nrfjprog to recover the board?

    -Amanda H.

  • Sorry ... The problem is not solved yet.

  • Hi, 

    Click Add/remove apps (uninstall nRFconnect), go into {user}/AppData and removed everything that has *nrf*connect in the name, and then install apps or update existing apps. If this still cannot help, you can try to flash the server image manually by the following command lines and images.

    • s132_nrf52_6.1.1_softdevice.hex is under <nRF5_SDK_15.3.0>\components\softdevice\s132\hex
    • ble_connectivity_s132_uart_pca10040.hex is under <nRF5_SDK_15.3.0>\examples\connectivity\ble_connectivity\hex

    -Amanda H.

  • Hi,

    I cannot use the bl_connectivity_s132_aut_pca10040.hex. When I execute the command, the following message is displayed.

    ERROR: The file specified is not a valid hex file, has data outside valid areas
    ERROR: or does not have data in valid areas.

    I think I should use the Hexa file for pca10040e.
    However, there is no hexafile for pca10040e in s132.

    So I programmed Ble_connectivity_s112_aut_pca10040e.hex using s112 but the same problem still appeared.