nRF5340 netboot

I have followed the tutorial of nRF5340: Network core bootloader to test the bootloader on app. core & net core.

I chose to use VS code to develop.

I am successful to use the Bluetooth: Peripheral UART sample as a basis and enabled the MCUBoot on the app. core.

However, I don't quite understand how to do the step 2:

"Enable the Peripheral CPU DFU (PCD) library for MCUboot by setting the CONFIG_PCD option when building its image."

using the VS code.

Reference output of app. core:

*** Booting Zephyr OS build v2.6.99-ncs1 ***
Attempting to boot slot 0.
Attempting to boot from address 0x8200.
Verifying signature against key 0.
Hash: 0xc8...e2
Firmware signature verified.
Firmware version 1
*** Booting Zephyr OS build v2.6.99-ncs1 ***
I: Starting bootloader
I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Boot source: none
I: Swap type: none
I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Boot source: none
I: Swap type: none
I: Bootloader chainload address offset: 0x28000
ÿ*** Booting Zephyr OS build v2.6.99-ncs1 ***
Starting Nordic UART service example
?±v2.6.99-ncs1 ***
Starting Nordic UART service example

Net core:

*** Booting Zephyr OS build v2.6.99-ncs1 ***
*** Booting Zephyr OS build v2.6.99-ncs1 ***

Parents Reply Children
No Data
Related