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

nRF Connect Error while setting up device : Cannot read property 'toLowerCase' of undefined

I'm currently working on u-blox Nina B302 and I'm trying out program examples from the nRF52 SDK on an evaluation board.
To try out BLE connections, I'm using the nRF Connect v3.0.0 software with the Bluetooth Low Energy application (v2.3.0) as recommended.
I downloaded my code onto the EVK board and launched the BLE app to test the connection.
The board appears in the 'Select Device' drop down list with the appropriate serial port (it is connected to my PC with USB), but when I select it, I get the following sequence of messages in the log:


Application data folder: C:\Users\...\AppData\Roaming\nrfconnect\pc-nrfconnect-ble

Validating connectivity firmware for device with serial number 000483065974...

Error while setting up device 000483065974: Cannot read property 'toLowerCase' of undefined

Device closed.

I could not find any solutions except to attempt to update the BLE app or the nRF Connect software, which I did, but the error remained.
I tried reinstalling both, but the result is the same.

EDIT:

As some of the replies/comments suggested, I tried installing previous versions (2.6.0 and 2.7.0) of the nRF Connect software, but the problem was that the BLE app requires you to update the nRF Connect software.
The pseudo-solution I found was simply to use the mobile nRF Connect app on my Android phone. I am able to connect to my U-Blox microcontroller and test out some of the examples from the SDK. I'm still having some issues with the Nordic UART Service, but I'll keep you posted for any changes.
Thanks for the advice, I hope for a final solution or a better work-around soon.

Parents
  • I have the same problem,... Please help I am using macOS nRF Connect 3.0.0 

    00:54:43.115
    Validating firmware for device with s/n 000063630424
    00:54:43.778
    Error while setting up device 000063630424: Cannot read property 'toLowerCase' of undefined
    00:54:43.778
    Deselecting device
    00:54:43.783
    Serial port is closed
  • Unfortunately there doesn't seem to be any recent response from Nordic regarding this issue, making the nRF Connect 3.0.0 unusable.

    Following the suggestion by , I've been able to get v2.6.0 working by using the following procedure:

    • Uninstall prior versions of nRF Connect
    • Delete all of the nRF Connect plugins.  On Windows, I deleted all of the files from C:\Users\<user>\.nrfconnect-apps
    • Download and install nRF Connect v2.6.0
    • Create local plugins folder C:\Users\<user>\.nrfconnect-apps\local as per github.com/.../pc-nrfconnect-ppk
    • Inside this folder, clone the PPK sources from GitHub at https://github.com/NordicSemiconductor/pc-nrfconnect-ppk
    • Check out the source for tag v2.1.0.  e.g. git checkout v2.1.0 inside pc-nrfconnect-ppk directory.
    • Follow the Building instructions at https://github.com/NordicSemiconductor/pc-nrfconnect-ppk#building.  You'll need to install node to be able to install dependencies and run the app.
    • After running `npm run dev`, start nRF Connect.  Don't apply any updates as a result of popups.
    • If everything worked you should see the 'Power Profiler' app available with version 'local, v2.1.0' which can then be launched.
Reply
  • Unfortunately there doesn't seem to be any recent response from Nordic regarding this issue, making the nRF Connect 3.0.0 unusable.

    Following the suggestion by , I've been able to get v2.6.0 working by using the following procedure:

    • Uninstall prior versions of nRF Connect
    • Delete all of the nRF Connect plugins.  On Windows, I deleted all of the files from C:\Users\<user>\.nrfconnect-apps
    • Download and install nRF Connect v2.6.0
    • Create local plugins folder C:\Users\<user>\.nrfconnect-apps\local as per github.com/.../pc-nrfconnect-ppk
    • Inside this folder, clone the PPK sources from GitHub at https://github.com/NordicSemiconductor/pc-nrfconnect-ppk
    • Check out the source for tag v2.1.0.  e.g. git checkout v2.1.0 inside pc-nrfconnect-ppk directory.
    • Follow the Building instructions at https://github.com/NordicSemiconductor/pc-nrfconnect-ppk#building.  You'll need to install node to be able to install dependencies and run the app.
    • After running `npm run dev`, start nRF Connect.  Don't apply any updates as a result of popups.
    • If everything worked you should see the 'Power Profiler' app available with version 'local, v2.1.0' which can then be launched.
Children
Related