Programming an application
• For nRF51 devices: nrfjprog --family nRF51 --eraseall
• For nRF52 devices: nrfjprog --family nRF52 --eraseall
8.2 Importing Keil projects
If you are using a version of the SDK that supports SES, thus nRF5 SDK v14.1.0 or later, you should open
one of the supplied SES projects and skip this step. If you are using an older version of the SDK, for
example, nRF5 SDK v12.3.0 for nRF51 Series devices, you must create your own SES projects based on the
supplied Keil projects.
Before you begin, install the CMSIS-CORE Support Package. To do so, open SES, go to Tools > Package
Manager, and select and install CMSIS-CORE Support Package.
Figure 1: SES Package Manager
Complete the following steps to import a Keil project into SES:
1. Select File > Import Project > Import Keil MDK Project.
In SES versions before 3.40, this option was located under File > Import IAR EWARM / Keil MDK
Project.
2. Navigate to the folder that contains the nRF5 SDK and select the example that you want to import.
Use the *.uvprojx file that is located in the arm5_no_packs folder.
3. In the Import Build Configuration window that appears, select Internal Toolchain.
1159720_163 v1.1
16