5340DK light switch load run

Dear all:

       I used this command to build light switch for 5340DK:

       west build -p always --build-dir nrf/samples/matter/light_switch/build -b nrf5340dk_nrf5340_cpuapp nrf/samples/matter/light_switch

        There are 3 hex files generated: zephyr.hex, merged.hex, merged_domains.hex.

        When I download zephyr.hex or merged.hex, I can't find FW log in UART tool, but when I use merged_domains.hex instead, it runs good.

        Can I know the reason?

        

  • Hi,

    This depends a bit on version of nRF Connect SDK, but up until nRF Connect SDK v2.6.2, zephyr.hex is a single image, merged.hex is all images for a given core, and merged_domains.hex is all images for all cores. This means in order to program every part of the application (both for the app core and for the net core), you should program merged_domains.hex. Please see Output build files (image files) for details.

    Regards,
    Terje

  •  

            Thanks for you clear response!