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

Migrating to nRFConnect SDK and tool chain

Hi,

I like to use nRFSDK in my future project, but I don't like the hectic steps to open a project when using nRFConnect SDK. I cannot open Segger IDE directly instead go to nRF Connect App first, open nRF tool chain, and then open IDE.

Is there any way directly open Segger IDE? nRFConnect always opens a different version of Segger, which I cannot see in the start menu.

  • Hi,

    You must use SES Nordic Edition with NCS. When you have installed NCS with the Toolchain Manager you can open SES Nordic Edition using the emStudio.exe file located in ncs/toolchain/segger_embedded_studio/bin/emStudio.exe. Another option is to install SES Nordic Edition manually. If you want a longer explanation of the former option, please read below:

    When you click "Open IDE" in the Toolchain Manager, you're actually running a .cmd (Windows Command Script) file, which does two things: set up the environment variables and open SES. You can find this file in you toolchain folder under the NCS folder: ncs/toolchain/SEGGER Embedded Studio.cmd. The way it sets up the environment variables is by calling the file ncs/toolchain/cmd/env.cmd, which in turn adds the required tools to the path, as well as setting GNUARMEMB_TOOLCHAIN_PATH, ZEPHYR_TOOLCHAIN_VARIANT, NCS_TAG, and ZEPHYR_BASE .These are all things you must set yourself if you install NCS manually. If you look in the .cmd file you'll also see that to open SES it runs the file emStudio.exe, which I mentioned above. So if you don't want to open SES through the Toolchain Manager, you can just open this emStudio.exe file, which you can create a shortcut for or pin to start for easier access. If you open it with this file, please make sure that the build environment is set up, and that the tools are added to your path and the correct SES environment settings are set. This might already be in place if you've opened SES with "Open IDE" before, but it's something to be aware of. You can see how to do this in my link about installing NCS manually

    Best regards,

    Marte

Related