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

nRF9160 AT_client Example Issues

I have trying to test out the latest alpha build (v0.7.0-15.alpha) of the modem firmware with a board that I have been previously running some tests on and which the original bootloader and application had been overwritten.

In order to update the modem firmware I had to install the one of  the bootloaders from either 'nrf/bootloader' or 'nrf/samples/nrf9160/spm'. The modem firmware update completes successfully, but I have been having issues with running the AT_client example in order to test it out.

I am using the nRF SDK cloned on 8th May at v0.4.0-rc2,
Other repositories installed using 'west'. 
Building with SES v4.16.

This is what I have tried and the results I got:

First the 'nrf/samples/nrf9160/spm' project was installed on the board from a clean configuration and built for 'nrf9160_pca10090'.

Building and installing the 'nrf/samples/nrf9160/at_client' project(from a clean configuration and built for the secure 'nrf9160_pca10090') results is the following is shown on reset, and no response  given to any AT commands or other input:

***** Booting Zephyr OS v1.14.99-ncs1-rc2 *****
The AT host sample started

Looking at the project configuration, the required libraries are not enabled (e.g. 'AT HOST Library for nrf91'). Attempts to enable these libraries via the 'Configure nRF Connect SDK Project' dialog always results in a build error saying that it must be built as non-secure.

Building and installing the 'nrf/samples/nrf9160/at_client' project(from a clean configuration and built for non-secure  'nrf9160_pca10090ns') results in no startup message.

I have also seen the device enter a boot loop where the startup message plus the listing of the secure and non-secure components and regions is printed out in a constant loop. However, I have not exactly sure what combination of elements was causing this.

Any guidance on how to get this working, and what combination is required, would be appreciated.

I also have another DK board which apparently running an older version of the AT_client example (the startup prints '***** Booting Zephyr OS v1.13.99-ncs1-1823-g715d2df3dd *****') without issue.

Related