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

nRF Connect (Mac v. 2.4.0) can't scan

Just installed Mac v. 2.4.0 of nRF Connect, and the "Start Scan" button is disabled. Here's the log:

2018-07-05T13:43:15.834Z INFO Application data folder: /Users/rob/Library/Application Support/nrfconnect/pc-nrfconnect-ble
2018-07-05T13:43:15.987Z DEBUG App pc-nrfconnect-ble v2.2.0 official
2018-07-05T13:43:15.987Z DEBUG App path: /Users/rob/.nrfconnect-apps/node_modules/pc-nrfconnect-ble
2018-07-05T13:43:15.987Z DEBUG nRFConnect 2.4.0 is supported by the app (^2.4.0)
2018-07-05T13:43:15.987Z DEBUG nRFConnect path: /Applications/nRF Connect.app/Contents/Resources/app.asar
2018-07-05T13:43:15.987Z DEBUG HomeDir: /Users/rob
2018-07-05T13:43:15.987Z DEBUG TmpDir: /var/folders/hh/xsjc40cx0k19q4k8hfcck0hh0000gn/T/
2018-07-05T13:43:16.005Z VERBOSE Could not fetch serial number for serial port at /dev/tty.Bluetooth-Incoming-Port
2018-07-05T13:43:16.006Z VERBOSE Could not fetch serial number for serial port at /dev/tty.RobsiPhone-WirelessiAP
2018-07-05T13:43:16.006Z ERROR Error while probing devices: Error occured when get serial numbers. Errorcode: CouldNotOpenDLL (0x7)
Lowlevel error: JLINKARM_DLL_NOT_FOUND (ffffff9c)

System is a 2015 MacBook Pro with macOS 10.13.5.

My understanding is that "DLL" is a Windows term, not appropriate for Mac.

  • Hi,

    The file ending .dll is most known for Windows, yes, but dynamically linked libraries are used on all platforms.

    Can you try downloading and installing version 6.22g of the J-Link Software and Documentation Pack, from Segger?

    Regards,
    Terje

  • OK, first I'm trying the current version, 6.32h. Is there some reason to use the older version?

    What now?

  • Hi,

    I recommend version 6.22g because that is the latest version known to work flawlessly with nRF Command Line Tools. (There were some issues there lately, with the newest J-Link drivers.)

    When you have installed the J-Link Software and Documentation Pack nRF Connect should work. If you are still seeing problems with it, please provide the logs and full description of what you do and what version of the J-Link driver you are currently using.

    Regards,
    Terje

  • Sorry, still doesn't work after installing 6.22g and removing the newer version. I launch nRF Connect, then click the Launch Bluetooth Low Energy button. The "Start scan" button is still grayed out/disabled. I verified that the Mac's Bluetooth is on.

    The log is different this time: instead of complaining about a DLL it now complains about serial numbers for serial ports(?)

    2018-07-09T17:23:39.238Z INFO Application data folder: /Users/rob/Library/Application Support/nrfconnect/pc-nrfconnect-ble
    2018-07-09T17:23:39.400Z DEBUG App pc-nrfconnect-ble v2.2.0 official
    2018-07-09T17:23:39.400Z DEBUG App path: /Users/rob/.nrfconnect-apps/node_modules/pc-nrfconnect-ble
    2018-07-09T17:23:39.400Z DEBUG nRFConnect 2.4.0 is supported by the app (^2.4.0)
    2018-07-09T17:23:39.400Z DEBUG nRFConnect path: /Applications/nRF Connect.app/Contents/Resources/app.asar
    2018-07-09T17:23:39.400Z DEBUG HomeDir: /Users/rob
    2018-07-09T17:23:39.400Z DEBUG TmpDir: /var/folders/hh/xsjc40cx0k19q4k8hfcck0hh0000gn/T/
    2018-07-09T17:23:39.418Z VERBOSE Could not fetch serial number for serial port at /dev/tty.Bluetooth-Incoming-Port
    2018-07-09T17:23:39.418Z VERBOSE Could not fetch serial number for serial port at /dev/tty.RobsiPhone-WirelessiAP

  • Hi,

    From what I can see that is the same log as previously, just without the Segger J-Link errors.

    I do not see any log entries for trying to establish serial port connection to a local device. What device are you using for connectivity, does it list properly in the "Select device" dropdown, and does anything fail if selecting it? nRF Connect for desktop doesn't use BLE hardware on the computer itself, rather it uses an nRF DK or Dongle for providing BLE capabilities.

    Regards,
    Terje

Related