Upcoming maintenance
Dear Customers and Partners.
This website will be undergoing scheduled maintenance on June 14, 2023. Please be aware there may be disruption to the developer portal website and associated services during the scheduled maintenance period.
This upgrade is essential to ensure the continued performance, reliability, and security of Developer World.
We apologize for any inconvenience.
Issues flashing bootloader WSL2?
-
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.
-
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. -
Hey, @Jolle
What is your windows version? -
@CamilaSouza I am currently running Win 10
-
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. -
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