vsdip / vsdsquadron_pio

Apache License 2.0
4 stars 2 forks source link

Ubuntu OS (solved issue 4 and was working just fine untill encountering problem in the terminal like in issue 7) #15

Closed ARX-0 closed 3 months ago

ARX-0 commented 3 months ago

Screenshot from 2024-06-12 21-47-50

Screenshot from 2024-06-12 21-48-57

had solved the previous issue (issue 4)[https://github.com/vsdip/vsdsquadron_pio/issues/4] faced this problem sometime after having good work done and having good uploads.I was able to upload (before this problem showed up

yathAg commented 3 months ago

Hi, Can you check if the USB device is connected using lsusb

If not, try restarting your system and reconnecting the USB.

yathAg commented 3 months ago

@ARX-0 did this work?

ARX-0 commented 3 months ago

@yathAg Screenshot from 2024-06-13 10-10-42

it detects the WinChipHead and yet it persists :(

ARX-0 commented 3 months ago

How i did things earlier

for downlioading the the platform io udev rules

curl -fsSL https://raw.githubusercontent.com/platformio/platformio-core/develop/platformio/assets/system/99-platformio-udev.rules | sudo tee /etc/udev/rules.d/99-platformio-udev.rules

Opened the file for adding the additional rules

sudo nano /etc/udev/rules.d/99-platformio-udev.rules

adding the additional rules at the end of the file

SUBSYSTEM=="usb", ATTR{idVendor}=="1a86", ATTR{idProduct}=="8010", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="4348", ATTR{idProduct}=="55e0", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="1a86", ATTR{idProduct}=="8012", GROUP="plugdev"

saved the file and relloading for the rules to apply

sudo udevadm control --reload-rules
sudo udevadm trigger

i made shure that i was a part of the plugdev group sudo usermod -aG plugdev $USER

ARX-0 commented 3 months ago

Commming to the actual issue here

used the command lsusb

Screenshot from 2024-06-13 10-17-37

it seems i have acess to all of the necessary WCH "WinChipHead"

tried disconnecting and reconnecting the mini in different ports untill now i dont have a successful upload

ARX-0 commented 3 months ago

switched to windows @yathAg thanks for the help image image image image image image

it dosnet work afer this

solution by @yathAg

image image image image

after this disconnect, connect try again

ARX-0 commented 3 months ago

it will upload :)