Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5838

SDK • Re: PICO : Can't update firmware uf2 by drag and drog

$
0
0
I noticed the guide says you need rules for when using Linux, so it could be similar for Windows. From the linked guide:

Note: On Linux you must first install the PlatformIO permission rules for the USB ports, by typing the following command in a shell:

Code:

curl -fsSL https://raw.githubusercontent.com/platformio/platformio-core/master/scripts/99-platformio-udev.rules | sudo tee /etc/udev/rules.d/99-platformio-udev.rules
My USB Debug Probe needs a similar file to run without using sudo.

Can you run Windows powershell as admin, abd run tgis script. First, press Windows+R to open Run, and then type "powershell" in the text box. Next, press Ctrl+Shift+Enter. Windows PowerShell will open in admin mode.
Paste the output of this:

Code:

# Get all PnP devices$pnpDevices = Get-PnpDevice# Filter devices by class to include only USB devices$usbDevices = $pnpDevices | Where-Object { $_.Class -eq 'USB' -or $_.Class -eq 'USBController' }# Display Vendor and Device IDs for USB devicesforeach ($device in $usbDevices) {    $hardwareID = $device.HardwareID    $vendorID = ($hardwareID -split '&')[0]    $deviceID = ($hardwareID -split '&')[1]        Write-Output "Device: $($device.FriendlyName)"    Write-Output "Vendor ID: $vendorID"    Write-Output "Device ID: $deviceID"    Write-Output "---"} 
Maybe it will help determine if we see COM4 from admin.

Statistics: Posted by breaker — Fri Feb 09, 2024 12:32 am



Viewing all articles
Browse latest Browse all 5838

Trending Articles