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

Startup Troubles on Dev Kit

I was able one time to power up the nRF9160 dev kit and see it connect to the cellular network and to nRF Cloud. Since then, it will only blink LED3, which indicates that it can't connect. I would like to re-flash the firmware, but I'm totally lost in all the circular links in the documentation. I have used the nRF52832 dev kit extensively so I'm quite familiar with the process, but it appears the nRF9160 dev kti adds several more layers of complexity. I would like to be able to load a simple "hello world" application, and then build on that with my application source code. Please guide me to some concise documentation.

Parents
  • Well, the install procedure for this version of nRF Connect is the longest and most tedious I've ever run across. With a few wrong turns and corrections along the way, I've finally battered my way *almost* thru it. When I got to the last step, after creating a project and clicking OK, I got this:

    I strongly suspect I missed a step somewhere, when I was to have installed the GNU ARM Toolchain, and it should have showed up in C:\gnuarmemb. I can't find any such step. I could google for something like that, and likely stumbel all over a dozen wannabees, but I don't have time to tinker. Can you please point me to the correct toolchain and installation process, and correct any other incorrect assumptions I've made.

Reply
  • Well, the install procedure for this version of nRF Connect is the longest and most tedious I've ever run across. With a few wrong turns and corrections along the way, I've finally battered my way *almost* thru it. When I got to the last step, after creating a project and clicking OK, I got this:

    I strongly suspect I missed a step somewhere, when I was to have installed the GNU ARM Toolchain, and it should have showed up in C:\gnuarmemb. I can't find any such step. I could google for something like that, and likely stumbel all over a dozen wannabees, but I don't have time to tinker. Can you please point me to the correct toolchain and installation process, and correct any other incorrect assumptions I've made.

Children
  • It seems like it is unable to find the toolchain.

    There are 2 environment variables that need to be set:

    ZEPHYR_TOOLCHAIN_VARIANT should be set to gnuarmemb

    GNUARMEMB_TOOLCHAIN_PATH should be set to the directory where you have the bin folder of the toolchain. In my case, that is C:\gnuarmemb, but if you installed it in a different folder, your path will be different. Here is a picture of the folder you should set it to:

    In addition, in SES you must set two paths in the options. Select tools->option from the top menu, then nRF Connect from the selection on the left side of the new window. Then, you must set "GNU ARM Embedded Toolchain Directory" to the same path as GNUARMEMB_TOOLCHAIN_PATH.

    You must also set "Zephyr Base" to the "zephyr" folder inside your NCS installation (though it seems like you have done that correctly).

Related