CP2012N USB to UART Bridge Controller Download Link
Download and Install CP201x VCP Windows from Silicon Labs Website.
Installing CP2102N USB to UART Driver
Unzip the downloaded file and run the 'CP201xVCPInstaller_x64'.
Installing CP2102N USB to UART Driver
If it appears under the Ports (COM & LPT), the driver has installed correctly.
Installing CP2102N USB to UART Driver
4. SetUp - nRF Connect for VS Code
(1) Download and Install 'nRF Conenct For VS Code Extension Pack'
Setup nRF Connect for VS Code
(2) Download and Install Toolchain and SDK
After installing the 'nRF Connect for VS Code Extension Pack', you can see the nRF Connect icon from the left side bar, click the nRF Connect icon, then select Manage SDKs.
Setup nRF Connect for VS Code
Select Install SDK and nRF Connect SDK.
Setup nRF Connect for VS Code
Setup nRF Connect for VS Code
You can choose and install your preferred SDK version.
I'm currently using v3.1.1.
Setup nRF Connect for VS Code
It takes about 10 minutes to install SDK. After installing SDK you need to install toolchain. Usually, installing the SDK also installs the toolchain. But, if it isn't installed, you can install it as follows:
You can choose and install your preferred Toolchain version.
I'm currently using v3.1.1.
After installing SDK and Toolchain you can see the ncs folder at C:\ncs.
Add the NCS folder path to your environment variables.
Then download and install 'nRF Util' from Nordic Website. And place the nRF Util file in the ncs folder.
Add the C:\ncs path to the PATH environment variable.
Type nrfutil install device and nrfutil install completion in the Command Prompt.
If you see this log after running nrfutil list, the installation has completed successfully.
Now you are ready to create a new application!
5. Example - Hello World
Choose 'Create a new application' at nRF Connect Extension in VS Code and 'Create a black application'.
Example - Hello World
Example - Hello World
Then you can see this window.
Example - Hello World
Copy the board file to your project folder.
Example - Hello World
Add build configuration to make a build file.
Example - Hello World
You need to select SDK, Toolchain, Board target and Base configuration files.
Example - Hello World
After build the project you can flash the project to device.
If you see log like this, the flash has completed successfully.
Command Version Description
completion 1.5.0
device 2.13.2 Device discovery, programming, and operations such as erase, reset, and recovery.
Found 2 installed command(s)
-- west flash: using runner nrfutil
-- runners.nrfutil: reset after flashing requested
-- runners.nrfutil: Flashing file: D:\CocoLinx\Projects\Csom\csom_v1_examples\helloworld\build\merged.hex
-- runners.nrfutil: Erasing address ranges touched by firmware
-- runners.nrfutil: Programming image
-- runners.nrfutil: Verifying image
-- runners.nrfutil: Reset
-- runners.nrfutil: Board(s) with serial number(s) 801032619 flashed successfully.
* Terminal will be reused by tasks, press any key to close it.