Note: This guide is for Windows only

Set up the SEGGER Embedded Studio environment

  1. Download and install SEGGER Embedded Studio for ARM V7.12 for Windows
    • Leave all of the settings default
  2. Download and install the nRF5 SDK V17.0.2
    1. Go to the download page
    2. Scroll down and select 17.0.2 nRF5 SDK

      Select 17.0.2 nRF5 SDK

    3. Scroll down and unselect all of the options in SoftDevices

      Unselect all SoftDevice options

    4. Scroll down and download the zip file

      Download the zip

    5. Extract the sdk to your desired location
      • Note that you will have to do two extractions to get to the SDK folder
      • The resulting folder name should be nRF5_SDK_17.0.2_d674dde
  3. Navigate to the following folder in the nRF5 SDK: nRF5_SDK_17.0.2_d674dde\examples\ble_peripheral
  4. Download ble_app_uart_c_multilink.zip
  5. Extract the .zip file to nRF5_SDK_17.0.2_d674dde\examples\ble_peripheral
  6. Navigate to nRF5_SDK_17.0.2_d674dde\examples\ble_peripheral\ble_app_uart_c_multilink\pca10056\s140\ses
  7. Launch ble_app_uart_c_pca10056_s140.emProject (by double clicking)

Now that you’ve done this, launching segger should default to opening this project and main.c.

Programming the blue board

  1. Launch SEGGER Embedded Studio and open the project. If the project does not open automatically, folow steps 7-8 of the previous section to reopen the project.
  2. Plug the Blue Board into your computer
    • A file explorer should pop up with a title of JLINK

      JLINK in file explorer

  3. In SEGGER, go to the top left and select Target->Connect J-Link

    Menu item for connecting

    • If you are prompted with a firmware update, select Yes
    • You can check that the Blue Board is properly connected by clicking on Target in the top left. The menu should look like this:

      Menu after successful connection

  4. Go to the top left and select Build->Build and Run

    Menu item for building and running the firmware

    • The console at the bottom should show the following after a successful build:

      Console displaying a successful build

  5. The Blue Board is now ready to be used with the GUI!