Custom Net Core DFU Files for NRF5340

Hello, I need help understanding how MCUBOOT produces signed_by_b0_app.hex file from app.hex on the network core of nrf5340. My goal is to have a DFU updatable hex file (net_core_app_moved_test_update.hex), and from what I understand I can get it by signing signed_by_b0_app.hex with imgtool. I am using ncs2.6.1 and using IPC sample that has a remote as a child image running on the network core. I am able to produce the app.hex, zephyr.hex, remote_merged.hex, andd zephyr.bin for the network core, but I can't get the net_core_app_moved_test_update.hex, net_core_app_to_sign.bin, or net_core_app_update.bin. Please help. I also tried to migrate on ncs2.7.0, but when I enable SB_CONFIG_SECURE_BOOT_NETCORE, I get partition errors. Anyone with a guide on how to build a DFU updatable custom network application for nrf5340, with sysbuild or child image would be appreciated. I am currently trying to get \nrf\samples\ipc\ipc_service working. Thank you.

Parents Reply
  • Hi  ,

    Thank you for your reply. I am more familiar with how child image/parent work and that's where I will focus my question. I can build the nrf5340 network core application that produce signed_by_b0_app.hex and net_core_app_moved_test_update.hex that I use for updating  the firmware. The issue is these are only produced when I have the CONFIG_BOARD_NRF5340DK_NRF5340_CPUNET in prj.conf and this configuration enables the default ncs\v2.6.1\nrf\samples\nrf5340\empty_net_core, which means my network core code lives inside the SDK. I would like to produce a files to update network core firmware without putiing the network core code in the ncs\v2.6.1\nrf\samples\nrf5340\empty_net_core. For example when I use the \nrf\samples\ipc\ipc_service project, I am planning to use the \nrf\samples\ipc\ipc_service\remote as my network code. When I build it I only get merged_remote.hex, app.hex, zephyr.hex. None of these files are working for updating the network firmware. I had already gone through the links provided above.

Children
No Data
Related