IQ 3.1.0 Beta 2 BLE - Can't connect

Any tips on getting the development board to connect with the simulator?

I've tried:

- NRF52 DK board with the CIQ firmware downloaded from here: https://developer.garmin.com/downloads/connect-iq/connectivity_2.0.1_115k2_with_s132_5.0.zip

- Installed drivers. - Tested that board can connect to the Thingy using the NRF connect BLE app. Used NRF Connect and flashed the CIQ firmware.

- Installed JDK8

- Set Up Eclipse CIQ Plugin

- Downloaded and set up the 3.1.0 Beta2 SDK

- Launched the NordicThingy52 app in the Simulator. Getting the Device 0/0 prompt.

- Clicked BLE Settings - entered COM3 (based on device manager info)

- Getting "BLE Initialization Failed. Check port name.". From here any attempts will not trigger the error message anymore but the simulator won't connect either.

Tried the above on Windows, OS X and Linux.

Can anyone that has it working export the device firmware out of NRF Connect? I'm ready to give up on this thing Disappointed

  • There's instructions in the 3.1.0-beta2 programmer's guide to set up the nRF52 DK board.

    Once the FW is loaded to it, if you use nRF Connect to do something like launch the Nordic BLE Low Energy app, that wipes out the FW on the board and it needs to be reloaded as it loads it's own app to the board..  

  • Thanks! I was aware of the instructions in the programmer's guide and like I said, I used nRFConnect app to flash the Garmin firmware on the board. At this point I don't think the firmware linked in the guide is any good.

    If it works for you would you mind exporting it out for me? You can do that from the Programmer app:

    - Start nRF Programmer app and connect to the board

    - Click "Read" and then "Save as file" from the "Device" menu on the right.

    Thank you!

  • Awesome! Thanks, I'll try it out this evening.

  • I loaded the .hex from the file linked to in the programmer's guide with no problem.  After you tried, did you try unplugging the nrf52 dk and plugging it back in and then checking the com port?  Did you see an errors in the nRF connect console?

  • I was able to get your example (the one you posted in the other thread) going. However, the sample app in the SDK that connect's to the thingy won't work for me... I added some debugging messages it seems like it never scans for devices.

    In the end I had to run the simulator as root (using sudo) on Linux otherwise it would never open the port. My user has permissions on the USB device port and the NRF software works just fine with user level permissions.

    Anyway, at least I can use your working example as a starting point. My end goal is to write a custom data field and write the values received from the BLE device in the .FIT file.

    Thanks again!

  • What's not working with the sample?  The "NordicThingy52" one in the SDK doesn't do anything until you long press "up" and start scanning. then you'll see the scan result, and when you press start, it connects and you see the data.  The NordicThingy52CoinCollector scans and when it finds a thing, plays a sound on it every couple seconds.

  • I'll try again but I must have clicked those buttons a dozen times... The only one that did anything was the lap button (bottom right) and that turned the app off.

  • long press up, and you get a menu, with start scan and stop scan.

  • Yes.. Finally :) Thanks!