How to flash domains

nRF Connect for VS Code

tags
nRF Connect for VS Code

Flashing domains is similar to flashing a build configuration, but the build system behavior can be different when you want to flash a single domain.

Complete the following steps:

  1. Depending on what you want to flash, select the top sysbuild configuration (for all domains) or a single image or domain that belongs to the sysbuild configuration.
    The name of the domain or the build configuration is highlighted in the Applications View.
  2. Connect your device to your machine.
    The extension lists it in the Connected Devices View (and checks its compatibility status every time the active context changes.)
  3. Click Flash in the Actions View.

    Note

    If this action is not available, the selected domain does not support flashing. Select the top build configuration to flash the domain.

Depending on what you selected for flashing in the step 1 above:

  • If you selected the top sysbuild configuration, all domains are flashed.
  • If you selected a single domain, the extension triggers the build system to flash only that domain.
    If the domain has no dependencies on other domains, the flashing proceeds as for a single-image configuration. If the build system finds that the domain depends on other domains, all the related domains are also flashed.