Can't get started - board not recognized #566
Replies: 1 comment
-
I finally found something that at least addresses my issue (a reddit post from 3 years ago) about Embedded systems and WSL Hello_Mouse said WSL has poor support for passing through USB devices - at the moment, it only works with COM ports. If you need to attach a debugger or true USB device, you're out of luck. Meanwhile I installed the en.stsw-link009 driver from STMicroelectronics and the board now shows up in Windows Device Manager Windows doesn't have lsusb but I found a Powershell command which exposes the USBDevice and Com Port associated with the board which is interesting. Get-PnpDevice -InstanceId 'USB*' -Status OK Status Class FriendlyName OK USBDevice ST-Link Debug I have been learning Rust with WSL & VSCode but looks like I will have to change my ways with this board. Someone suggested using a Raspberry Pi with Debian. |
Beta Was this translation helpful? Give feedback.
-
My board is not recognized by linux
I am setting up my stm32f3 discovery according to
https://docs.rust-embedded.org/discovery/f3discovery/03-setup/verify.html
My board does not show up in /dev/bus/usb
if I execute lsusb I get
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Get the same thing when the board is disconnected.
I am using WSL with Ubuntu 20.04
All the LED's are on and the board shows up in Windows file explorer as DIS_F303VC
I can access two files from it, a DETAILS text file of just 2 lines
Version: V2J37M26
Build: May 13 2020 17:07:43
and a link to https://os.mbed.com/platforms/ST-Discovery-F303C/
I am hesitant to move on with trying to flash it until I get this sorted out.
Also I edited openocd.rules according to the book
sudo emacs /etc/udev/rules.d/99-openocd.rules
With the contents:
STM32F3DISCOVERY - ST-LINK/V2.1
ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374b", MODE:="0666"
but when I unplugged it and then reconnected the file contents were erased.
Beta Was this translation helpful? Give feedback.
All reactions