Sony's Developer World forum

    • Home
    • Forum guidelines

    Issues flashing bootloader WSL2?

    Spresense
    3
    6
    588
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jolle last edited by

      I have issues flashing the bootloader to the Spresense when using WSL2.
      I am using USBIPD-WIN to establish USB device support as reccomended by the WSL2 documentation.
      This seems to work as the Spresense is detected in the VM at the anticipated adress (/dev/ttyUSB0).
      However, attempting to flash yeilds the following error message.

      Error creating child process!
      CreateProcessW: Incorrect function.
      

      Flashing works perfectly when using MSYS but due to the slow compilation speed i would prefer using a VM.

      C 2 Replies Last reply Reply Quote
      • C
        CamilaSouza DeveloperWorld @Jolle last edited by

        Hello, @Jolle
        I haven't tried to do that myself.
        I can try it on my side and see if I get the same error, but on the meantime I have tagged you in an old topic where some users were also trying to use wsl2.
        Maybe they've seen this before.

        1 Reply Last reply Reply Quote
        • C
          CamilaSouza DeveloperWorld @Jolle last edited by

          Hey, @Jolle
          What is your windows version?

          1 Reply Last reply Reply Quote
          • J
            Jolle last edited by

            @CamilaSouza I am currently running Win 10

            C 1 Reply Last reply Reply Quote
            • C
              CamilaSouza DeveloperWorld @Jolle last edited by

              Hi @Jolle

              Unfortunately we only officially support WSL2 on Windows 11.
              I haven't tried using WSL2 on Windows 10, so I can't be of much help.
              I will keep an eye on the forum though and see if any user is able to use this combination successfully.
              If they do, I'll link you.

              1 Reply Last reply Reply Quote
              • M
                MikeClark last edited by

                Check the driver: Make sure that the correct driver is installed for the Spresense board. You can download the driver from the Sony Spresense website.

                Check the flash tool: Ensure that you are using the correct flash tool for your operating system. The Spresense website provides a Flash Tool for Windows and a Flash Tool for Linux. Make sure that you have downloaded and are using the correct tool for your system.

                Regards,
                Mike

                1 Reply Last reply Reply Quote
                • First post
                  Last post
                Developer World
                Copyright © 2021 Sony Group Corporation. All rights reserved.
                • Contact us
                • Legal