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
  • I understand what it's asking for. What I need to know is where to get the GNU ARM toolchain - I don't think I have that installed. In any case, I always allow published installers to install to their default directories, because I've found way too many whose developers didn't bother to check what happens if the user uses a different directory - it often breaks the product. Where should I get the GNU ARM toolchain, in a version compatible with this toolchain?

  • Sorry, I misunderstood what you were asking for. In the Getting Started Assistant there are two links at the bottom of step 1 "Install the toolchain":

    Windows 32-bit Installer (Signed for Windows 7 and later)

    Windows 32-bit Installer (Unsigned)

    We recommend to install the toolchain into the c:\gnuarmemb folder

  • Well, I'm still slogging along here. I finally got to the step of opening an nRF Connect project, entered the starting paths etc. as shown in the Getting Started Assistant, and here's the result:

    I don't understand why this process is so difficult, when I installed exactly according to the directions, and stayed with all the default directories, etc. Did anyone test this before release?

    How should I best resolve the problem reported in the box above?

  • What did you set the environment variable GNUARMEMB_TOOLCHAIN_PATH and the SES option "GNU ARM Embedded Toolchain Directory" to?

    And where did you install the arm-none-eabi toolchain?

    Regarding where to unzip SES to, the Getting Started Assistant says:

    "Extract SEGGER Embedded Studio to your preferred folder."

    I put it in C:\

  • Re: What did you set the environment variable GNUARMEMB_TOOLCHAIN_PATH and the SES option "GNU ARM Embedded Toolchain Directory" to?

    There are no such environment variables on my system. Are you referring to something other than environment variables, and if so, where would I find them?

    Re: And where did you install the arm-none-eabi toolchain?

    I don't recall seeing that. Whatever it was, I simply took the defaults at every step. This process is so long and convoluted I'm losing track of anything I did. Certainly nothing like the comparatively clean and simple installation process for the 52832 dev kit.

    Re: Regarding where to unzip SES to, the Getting Started Assistant says:
    "Extract SEGGER Embedded Studio to your preferred folder."
    I put it in C:\

    Mine is in C:\Segger. I do not recall explicitly choosing that directory.

    Another issue: Every time i start up SES, it claims there's no license installed. I request and receive an activation link for use with Nordic products, install that, and it's fine - until I close SES and later reopen it.
  • You need to create the GNUARMEMB_TOOLCHAIN_PATH environment variable (along with the ZEPHYR_TOOLCHAIN_VARIANT, though I believe they are only needed when building from the command line).

    I sent you links to the toolchain in this comment: https://devzone.nordicsemi.com/f/nordic-q-a/52266/startup-troubles-on-dev-kit/211001#211001

    Make sure that you use the "Nordic Edition" of SES, not the regular version (links here: https://devzone.nordicsemi.com/f/nordic-q-a/52266/startup-troubles-on-dev-kit/211314#211314).

    You can unzip the folder anywhere. There are no other install steps other than unzipping. When using SES with NCS, make sure that you run the correct executable, you can find it in <SES install/unzip folder>/arm_segger_embedded_studio_v418_win_x86_nordic\bin\emStudio.exe

    When you first open SES (Nordic Edition), you need to set two options. You can find them by clicking Tools > Options and select the nRF Connect tab.

    • Zephyr Base - the location of your cloned Zephyr repository (the full path to ncs/zephyr)

    • GNU ARM Embedded Toolchain Directory - the location of your GNU ARM Embedded Toolchain installation (for example, c:\gnuarmemb)

    I agree that there are a lot of dependencies to install, however, if you follow the Getting Started Assistant application in nRF Connect it should not be very hard.

  • Every time I open Embedded Studio I get this:

    Whether i answer yes or no, I always get a notice that I have no license, and have to jump thru the hoops to get the free license for Nordic users. is there any way to make the license stick?

Reply Children
Related