Passion Mission Action

News & Blog

Mar.13.2023

How To Get Started With nRF5340 Program Coding and Compiling

After the coding and compiling process done, we could get the separate zephyr.hex file respectively which are used for BLE module FW.

How To Get started with MDBT53/53V Demo Board Set up (MDBT53-DB-40/MDBT53V-DB-40)

 Firmware Development Steps : Code Building / Compiling
Case Study : 
    NON-Audio Project
   nRFConnect SDK V2.1.2

Nordic Example code -“hci_rpmsg” & “peripheral_uart”
  1. Nordic example code of “hci_rpmsg” extracted for coding and we will get zephyr.hex file for net core
  2. Nordic example code of “peripheral_uart” extracted for coding and we will get zephyr.hex file for application core
圖片 15


Step 1. Net core Layer

1a) Activate “Open VS Code” IDE in NCS V2.1.2

圖片 16

1b) Select “Add an existing application” and extract “hci_rpmsg” file moving forward
圖片 17

1c) Click “Add Build Configuration” icon
圖片 18

1d) Select “nrf5340dk_nrf5340_cpunet” and check Nordic boards, then Execute “Build Configuration”
圖片 19

1e) zephyr.hex file is successfully generated for net core layer if the coding process is properly executed
圖片 20

Step 2. Application core Layer:

2a) Activate “Open VS Code” IDE in NCS V2.1.2
圖片 21

2b) Select “Add an existing application” and extract “peripheral_uart” file moving forward
圖片 22

2c) Click “Add Build Configuration” icon
圖片 23

2d) Select “nrf5340dk_nrf5340_cpuapp” and check Nordic boards, then Execute “Build Configuration”
圖片 24

2e) zephyr.hex file is successfully generated for application core layer if the coding process is properly executed
圖片 25