Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

flashing binary onto nRF52840 USB dongle via Raspberry Pi 4

So, I have compiled blinky for the USB dongle52840, but am having difficulty getting west or the development toolchain to flash the dongle. Any help would be appteciated. I would be happy to share the recipe for developing zephyr from a raspberry pi, if I get it fully running. 

Cy

Parents
  • Sorry for the late reply. Abhijith is away and could not reply to this thread. I will try to look into this.

    The crash seems to happen because nrfutil 5.2 is a Python 2-only release (dict.iteritems()), so running it inside your Zephyr Python 3.13 venv will always fail.

    Try setting up the dedicated nrfutil venv/pipx install and confirm nrfutil --version shows ≥6, after that re-run west flash --runner nrfutil; verify the LED blinks. if that works, capture the commands for the Raspberry Pi recipe you plan to share. I do not have any experience working with the Pi itself, but I think solving this issue with the tool version conflict should take you a bit further

Reply
  • Sorry for the late reply. Abhijith is away and could not reply to this thread. I will try to look into this.

    The crash seems to happen because nrfutil 5.2 is a Python 2-only release (dict.iteritems()), so running it inside your Zephyr Python 3.13 venv will always fail.

    Try setting up the dedicated nrfutil venv/pipx install and confirm nrfutil --version shows ≥6, after that re-run west flash --runner nrfutil; verify the LED blinks. if that works, capture the commands for the Raspberry Pi recipe you plan to share. I do not have any experience working with the Pi itself, but I think solving this issue with the tool version conflict should take you a bit further

Children
Related