I am using Ubuntu 16.04 in Windows Subsystem for Linux, but Sony Spresense is not available.

Asked 2 years ago, Updated 2 years ago, 76 views

I'm using Ubuntu 16.04 on Windows Subsystem for Linux, but I can't use Sony Spresense

Enable Windows Subsystem for Linux in Windows PowerShell

Obtain and Install Ubuntu 16.04 from the Microsoft Store

Sony's SPRESENSE tries to connect via USB, but the device is not visible

Also, I have confirmed in Device Manager that Windows is connected via COM3

On the Ubuntu side, dmesg | grep "cp21.* attached" does not show anything and
dev/ttyS3 I thought I could see it, but I can't see it either

Thank you for your cooperation.

spresense

2022-09-30 21:38

3 Answers

I have the same WSL (Ubuntu 16.04) environment, but I can use it without any problems.
Wouldn't it be possible to add sudo to the beginning like this?

$sudo tools/flash.sh-c/dev/ttyS3nuttx.spk
$ sudo minicom-D/dev/ttyS3-b115200-s

Also, Windows 10 needs to be a relatively new version.


2022-09-30 21:38

I only build with WSL and write from the Windows command line.
I referred to the procedure here.
https://qiita.com/FlyingYacht/items/0f49ed82b4912381ffe7


2022-09-30 21:38

The answer is a little bit off the point, but in my WSL environment, Ubuntu 18.04 works well.
The serial port is COM6 in my environment, so it is /dev/ttyS6, and I can write without any problems by adding sudo.
16.04 is officially recommended, but 18.04 is also a good idea.


2022-09-30 21:38

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.