- nRF Connect For Desktop
nRF Connect For Desktop is the utility that you can use to manipulate your nRF9160 Feather. In this section we'll be focusing on two apps that will affect you the most:
You can find the download page for nRF Connect For Desktop here.
Linux usesr: nRF Connect for Desktop is distributed as an
appimage. Right click and enable running as an executable. Then you can double click and run as any other app.
The best way to debug anything cellular-related is to use the LTE Link Monitor.
- (for OSX folks) If you haven't already, install the Si2102 USB-to-Serial drivers.
- Install nRF Connect For Desktop app
- Open it up and in the list of apps find LTE Link Monitor
- Click install
- Once installed click open and let the fun begin!
For more information check out Nordic's Documentation.
Almost any code example can be used with the AT Host Library. Generally all that is needed is adding these lines to your
# AT host library CONFIG_AT_HOST_LIBRARY=y CONFIG_UART_INTERRUPT_DRIVEN=y
Alternatively, for a quick start, simply program the
at_client example to your nRF9160 Feather. Then follow these quick steps to get up an running:
- Insert your SIM into the nRF9160 Feather.
- Attach your LTE antenna.
- Plug your nRF9160 Feather into your computer's USB port.
- Ensure that Flow Control is turned off, and Show only supported devices. is also unchecked.
- Connect to it using the Device dropdown in the top left hand corner of the LTE Link Monitor.
On *nix based systems, the port will show up like
/dev/tty.SLAB_USBtoUART. On Windows, you'll have to determine which COM port is associated by using the device manager.
- With Automatic requests turned on and the nRF9160 Feather connected, press the AT+CFUN=1 button followed by the AT+CFUN? button. This will cause a few important commands to be automatically sent to your nRF9160 Feather. Additionally, your nRF9160 Feather will attempt to connect to the closest compatible tower possible.
- Review the LTE Link Monitor for connection information. Yes, the LTE Link Monitor provides some great information. Consider it your go-to tool when debugging cellular or board related issues.
The programmer is excellent for updating your application firmware. The most important function it provides is updating the modem firmware.
Another way of programming your application other firmware images is to use the nRF Connect For Desktop Programmer App.
- First, you'll need to install it if you haven't already.
- Then open it up and select your programmer
- Then add a hex file using the button on the right side.
- Click Browse to loook for your file
- Browse your Nordic Connect SDK repo for your file. For instance the
at_clienthex image is:
- Hit write to start the writing process. Remember your programmer has to be connected to the nRF910 Feather for this to work!
Handy trick! Since the nRF Connect For Desktop app is web based, you can use (Command) ⌘ + R to refresh the program. (or CTRL + R on Windows/Linux) This is great when the app goes into a weird state or if your serial device/programmer is now showing up.