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 Reply
  • 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?

Children
  • 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?

  • Hi.

    1. The Segger Embedded Studio Nordic Edition zip should contain all the necessary parts, and installing a package should not be necessary. I have never encountered that message before, and from the path mentioned in the pop-up, it does not look like you are using the Nordic Edition of SES. Can you confirm that you are using the correct SES version?

    2. I just tried to set up NCS on two different Linux VMs and encountered your license issue on one of them until I was able to open one of our example projects. For now, you should be able to simply press "continue", while we sort out your other issues.

    3. Can you send me a screenshot of the "nRF Connect" tab of SES's options window, as well as the content of the folder, pointed to by the "GNU ARM Embedded Toolchain Directory" setting?

    Best regards,

    Didrik

Related