Flashing an nRF52840 with a Matter app build from chip-build-nrf-platform Docker image?

I've built a simple Matter device for the nRF52840, using the chip-build-nrf-platform Docker image.

The host OS is Linux, and I mapped the physical device ( /dev/ttyACM0 ) to the container.

I used the Docker image to build because I have not been able to successfully build on the host machine (probably because I have not  configured nRF Connect SDK correctly).

The Docker image made it possible to build, but now I need to somehow get my binary onto the board.

Is it possible to flash the nRF52840 from this (or a different) Docker image? Or do I have to flash the device using the host OS?

Parents
  • Hi,

    The docker image used for building these images is supplied from the connectedhomeip repository, and to my knowledge it is not supplied by Nordic Semiconductor.
    I can therefore not help you much with the docker image.

    So either transfer the image out of docker.
    Or modify the docker image yourself to add nrfjprog to it. Then program the hex to the device using nrfjprog.

    Or for the official way to build and progam samples: I recommend that you install the nRF Connect SDK on your computer. See DevAcademy getting started for an good explanation to how to install it. Then you can build the matter samples as described in DevAcademy and flash from there as well.

    Did this make sense?

    Regards,
    Sigurd Hellesvik

Reply
  • Hi,

    The docker image used for building these images is supplied from the connectedhomeip repository, and to my knowledge it is not supplied by Nordic Semiconductor.
    I can therefore not help you much with the docker image.

    So either transfer the image out of docker.
    Or modify the docker image yourself to add nrfjprog to it. Then program the hex to the device using nrfjprog.

    Or for the official way to build and progam samples: I recommend that you install the nRF Connect SDK on your computer. See DevAcademy getting started for an good explanation to how to install it. Then you can build the matter samples as described in DevAcademy and flash from there as well.

    Did this make sense?

    Regards,
    Sigurd Hellesvik

Children
Related