---
description: Build and Run Hello World sample on development board using Segger IDE
---

# Hello World - Sample

## 1. Open Segger IDE

![Open Segger Embedded Studio](https://2991813265-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIyqKXDyhKUqrSzdB8ppO%2Fuploads%2FJwK05G2U3Pb0MUsm6AiS%2F%ED%99%94%EB%A9%B4%20%EC%BA%A1%EC%B2%98%202021-10-12%20130052.png?alt=media\&token=fe29bb1c-0c55-4d7c-8019-35b5dbe56019)

## 2. Open 'Hello World' Sample Project

### 2.1 File->Open nRF Connect SDK Project...

![](https://2991813265-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIyqKXDyhKUqrSzdB8ppO%2Fuploads%2FEmX4ASsI9aeRBicDcawv%2F%ED%99%94%EB%A9%B4%20%EC%BA%A1%EC%B2%98%202021-10-12%20130307.png?alt=media\&token=bf7d1d9a-70ac-453d-bb3d-b19afc3c609a)

{% hint style="info" %}
**All sample projects** are located at...

C:\ncs\v1.7.0\zephyr\samples

C:\ncs\v1.7.0\nrf\samples
{% endhint %}



### 2.2 Select Project and Board

1. Select 'hello\_world' project.
2. Check '3rd party kits'
3. Select 'soonisys\_sldev\_nrf9160ns'
4. OK

![](https://2991813265-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIyqKXDyhKUqrSzdB8ppO%2Fuploads%2F26d1k4MPTcykiSu05PzS%2F%ED%99%94%EB%A9%B4%20%EC%BA%A1%EC%B2%98%202021-10-12%20130614.png?alt=media\&token=bb1d430f-a77e-49a3-8718-efdc0ec73c63)

{% hint style="info" %}
Board name should be 'soonisys\_sldev\_nrf9160ns'

If you don't see this board name, see the [#4.-copy-the-board-files-to-sdk-zephyrh](../installation#4.-copy-the-board-files-to-sdk-zephyrh "mention")
{% endhint %}

### 2.3 main.c

You can see the 'main.c' source file.

Project Items Windows->Solution 'build'->Project 'app/libapp.a'->C\_COMPILER\_app->main.c

![](https://2991813265-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIyqKXDyhKUqrSzdB8ppO%2Fuploads%2FHC04HmwbdeFebmbtAJs4%2F%ED%99%94%EB%A9%B4%20%EC%BA%A1%EC%B2%98%202021-10-12%20131054.png?alt=media\&token=6f713617-0ca4-4327-a7d0-7c3dfeca6184)

## 3. Build and Debug

### 3.1 Build

![](https://2991813265-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIyqKXDyhKUqrSzdB8ppO%2Fuploads%2Ff7044u7GOSleSuFeNPmv%2F%ED%99%94%EB%A9%B4%20%EC%BA%A1%EC%B2%98%202021-10-12%20131128.png?alt=media\&token=b3d5624e-f06b-45b9-9d0f-ef34f9daf349)

### 3.2 Debug

![](https://2991813265-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIyqKXDyhKUqrSzdB8ppO%2Fuploads%2FJvFcLajqnoDPMlIuXBcr%2F%ED%99%94%EB%A9%B4%20%EC%BA%A1%EC%B2%98%202021-10-12%20131141.png?alt=media\&token=54716901-a536-4cb4-953d-50e2842c827d)

## 4. Windows Serial Terminal

To see the board console strings, You can use any windows serial terminal.

Hello World serial baud rate is 115200.

We use 'teraterm' for serial terminal.

{% embed url="https://osdn.net/projects/ttssh2/releases" %}

