<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Stand alone modem requirements</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80293/stand-alone-modem-requirements</link><description>Hello Nordic team, 
 
 I am building an IoT solution and plan to use the nrf9160 just as a stand alone modem. App will reside on a separate MCU and talk to Nrf9160 on uart. 
 My questions are: 
 1) I believe I need to flash the SLM (serial link monitor</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Oct 2021 00:13:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80293/stand-alone-modem-requirements" /><item><title>RE: Stand alone modem requirements</title><link>https://devzone.nordicsemi.com/thread/332912?ContentTypeID=1</link><pubDate>Thu, 07 Oct 2021 00:13:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca64b492-3826-4f5a-881a-17522d083849</guid><dc:creator>haricane</dc:creator><description>&lt;p&gt;Hello Helsing,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you very much for the detailed responses.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hari&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stand alone modem requirements</title><link>https://devzone.nordicsemi.com/thread/332604?ContentTypeID=1</link><pubDate>Tue, 05 Oct 2021 12:06:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a315aa6-d6c3-449e-a875-e65f5fe0bf1d</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hello Hari,&lt;/p&gt;
&lt;p&gt;In short, I would say it is generally recommended to acquire an nRF9160 DK for development and learn how to &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.0/nrf/gs_modifying.html#modifying-an-application"&gt;modify the application&lt;/a&gt; you are planning to run on nRF9160. Testing and debugging is difficult without being able to compile by yourself.&lt;/p&gt;
&lt;p&gt;You would need to download nRF Connect for Desktop, then install Toolchain Manager, then install nRF Connect SDK. The &lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial"&gt;nRF Connect SDK Tutorial series&lt;/a&gt; - Part 0 to 3 is likely to answer many of your questions when you are getting started. Also see nRF Command Line Tools.&lt;/p&gt;
&lt;p&gt;In your case, where you would like to fire the commands from your host MCU you need to make sure the serial_lte_modem application is configured and compiled to be &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.0/nrf/applications/serial_lte_modem/doc/slm_description.html#connecting-with-an-external-mcu"&gt;connecting with an external MCU&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;During development you may choose command line or VSCode as alternatives to Segger Embedded Studio(SES).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Below are answers to your specific questions. Some of this might already be known to you.&lt;/p&gt;
[quote user=""]1) I believe I need to flash the SLM (serial link monitor) on to the nrf9160.[/quote]
&lt;p&gt;I assume you are talking about the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.0/nrf/applications/serial_lte_modem/README.html"&gt;serial_lte_modem&lt;/a&gt;.&lt;/p&gt;
[quote user=""]Is this available as a hex?[/quote]
&lt;p&gt;The serial_lte_modem is available as a compiled hex for the nRF9160 DK(recommended starting point) as well as for Thingy:91(prototyping platform). If you are using custom HW you need to compile your own hex(this also applies if you are using a third party module which is different from the DK or Thingy:91).&lt;/p&gt;
&lt;p&gt;Please navigate to the respective downloads page for either the &lt;a href="https://www.nordicsemi.com/Products/Development-hardware/nRF9160-DK/Download#infotabs"&gt;DK&lt;/a&gt; or &lt;a href="https://www.nordicsemi.com/Products/Development-hardware/Nordic-Thingy-91/Download#infotabs"&gt;Thingy:91&lt;/a&gt;. Select the version of choice and click the blue link(highlighted in yellow). &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img height="95" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1633424807156v3.png" width="196" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The .zip contains multiple hex files. The CONTENTS.txt file will help you select the correct hex, for example &amp;quot;img_fota_dfu_hex/serial_lte_modem_2021-06-25_7a076c22.hex&amp;quot;. This hex is compiled using nRF Connect SDK v1.6.0.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]2) Is there any need to install and config NCS/ Zephyr in my use case?[/quote]
&lt;p&gt;Most likely, yes. Please let us know more about your use case, and it would be easier to say. Are you building a prototype for demo purposes? Are you aiming for high volume production?&lt;/p&gt;
&lt;p&gt;Using the hex &amp;#39;as is&amp;#39; might get you connected. However, I assume it is very common to modify the serial_lte_modem to some degree. As mentioned, the available hex files are compiled for either the DK or Thingy:91. If you would like to use custom HW you will need to install the nRF Connect SDK and compile your own modified version of the serial_lte_modem application. &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]Will there be any limitation in *not* doing so?[/quote]
&lt;p&gt;If you compile your own version you will be able to adapt the application to your own project. Please browse through the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.0/nrf/applications/serial_lte_modem/doc/slm_description.html#configuration"&gt;configs for serial_lte_modem&lt;/a&gt; to get a small flavor of how you will be able to modify the application if you compile it yourself.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]3) Is segger embedded studio sufficient to flash hex / binaries, or are any other tools needed?[/quote]
&lt;p&gt;SES will allow you to flash the application. You could also use &lt;em&gt;nRF Connect-&amp;gt;Programmer&lt;/em&gt; or &lt;em&gt;nrfjprog&lt;/em&gt; to flash the hex. &lt;/p&gt;
&lt;p&gt;Please see &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf91_dk_gsg/UG/nrf91_DK_gsg/testing_prebuilt.html"&gt;Testiing a prebuilt application&lt;/a&gt; in the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_nrf91_dk_gsg%2FUG%2Fnrf91_DK_gsg%2Fintro.html"&gt;nRF9160 DK Getting started&lt;/a&gt; guide.&lt;/p&gt;
&lt;p&gt;Please also consult the getting starting tutorials mentioned at the top and let us know if you get stuck. The need for &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-command-line-tools/download"&gt;nRF Command Line Tools&lt;/a&gt; is mentioned in part 0 of the tutorial.&lt;/p&gt;
[quote user=""]Is there any other configuration needed beyond just flashing the SLM hex ?[/quote]
&lt;p&gt;Again, this depends on your use case. You might also need to update the nRF9160 modem FW. You could do so using &lt;em&gt;nRF Connect-&amp;gt;Programmer&lt;/em&gt; or &lt;em&gt;nrfjprog&lt;/em&gt;. It is also possible to update the modem over the air(FOTA).&lt;/p&gt;
&lt;p&gt;When your board is programmed with serial_lte_modem you may start configuring the device using AT commands. How this is done depends on your use case as well as where in the world your device is located and what your SIM card and carrier of choice allows. You may provide the AT commands trough &lt;em&gt;nRF Connect-&amp;gt;LTE Link Monitor&lt;/em&gt; or through a serial terminal(&lt;em&gt;Termite&lt;/em&gt;, for instance).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>