No change, I've uploaded it in BOOTSEL mode first, but nothing when triying to upload without BOOTSEL mode."taking care to have "build_flags = -D LIB_PICO_STDIO_USB" in platformio.ini"
You can probably get things working by manually putting the Pico into BOOTSEL mode, re-plug the Pico into USB while holding BOOTSEL button, before initiating an upload from PlatformIO.
As far as I remember, I didn't had to do this in order to make it work in my last windows install.
I can actually open com4 with putty, but it doesn't says anything when pressing enter, I might have not the good serial setting though.Maybe it will help determine if we see COM4 from admin.
I used Zadig to change the driver into a USB-serial driver, it changed the com port, and Platform.io recognized it, but upload is stil failling, so I reverse back to the original WinUSB driver(That I think I used before when it used to work)
But in any case, here is the answer of your powershell script :
Code:
PS C:\Users\fojul> foreach ($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 "---">> }Device: Hub USB racine (USB 3.0)Vendor ID: USB\ROOT_HUB30Device ID: VID1022---Device: Contrôleur hôte AMD USB 3.10 eXtensible - 1.10 (Microsoft)Vendor ID: PCI\VEN_1022Device ID: DEV_149C---Device: Périphérique USB compositeVendor ID: USB\VID_2E8ADevice ID: PID_0003---Device: Périphérique USB compositeVendor ID: USB\VID_1038Device ID: PID_1430---Device: Périphérique USB compositeVendor ID: USB\VID_25A7Device ID: PID_FA23---Device: Périphérique USB compositeVendor ID: USB\VID_1038Device ID: PID_1618---Device: Dispositif de stockage de masse USBVendor ID: USB\VID_2E8ADevice ID: PID_0003---Device: Concentrateur USB génériqueVendor ID: USB\VID_05E3Device ID: PID_0608---Device: SAMSUNG Mobile USB Composite DeviceVendor ID: USB\VID_04E8Device ID: PID_6863---Device: Périphérique USB compositeVendor ID: USB\VID_1038Device ID: PID_1850---Device: Périphérique USB compositeVendor ID: USB\VID_1038Device ID: PID_1431---Device: Périphérique USB compositeVendor ID: USB\VID_2E8ADevice ID: PID_00C0---Device: Périphérique USB compositeVendor ID: USB\VID_1038Device ID: PID_1430---Device: SAMSUNG Mobile USB Connectivity Device V2Vendor ID: USB\VID_04E8Device ID: PID_6860---Device: Sierra Wireless Snapdragon™ X7 LTE-A USB Composite DeviceVendor ID: USB\VID_1199Device ID: PID_9071---Device: Périphérique USB inconnu (échec de demande de descripteur de périphérique)Vendor ID: USB\DEVICE_DESCRIPTOR_FAILUREDevice ID:---Device: Hub USB racine (USB 3.0)Vendor ID: USB\ROOT_HUB30Device ID: VID1022---Device: Hub USB racine (USB 3.0)Vendor ID: USB\ROOT_HUB30Device ID: VID1022---Device: Périphérique USB compositeVendor ID: USB\VID_1038Device ID: PID_150D---Device: Contrôleur hôte AMD USB 3.10 eXtensible - 1.10 (Microsoft)Vendor ID: PCI\VEN_1022Device ID: DEV_149C---Device: Périphérique USB compositeVendor ID: USB\VID_1038Device ID: PID_1430---Device: Périphérique USB compositeVendor ID: USB\VID_2E8ADevice ID: PID_0005---Device: Périphérique USB compositeVendor ID: USB\VID_1038Device ID: PID_12AD---Device: Concentrateur USB génériqueVendor ID: USB\VID_05E3Device ID: PID_0610---Device: SAMSUNG Mobile USB Composite DeviceVendor ID: USB\VID_04E8Device ID: PID_6860---Device: Genesys Logic USB2.0 Card ReaderVendor ID: USB\VID_05E3Device ID: PID_0751---Device: Contrôleur hôte AMD USB 3.10 eXtensible - 1.10 (Microsoft)Vendor ID: PCI\VEN_1022Device ID: DEV_149C---Device: Concentrateur USB SuperSpeed génériqueVendor ID: USB\VID_05E3Device ID: PID_0612---Device: Périphérique USB compositeVendor ID: USB\VID_1038Device ID: PID_1431---
As I said before I'm not sure to understand what you mean, so I'm guessing you mean if I'm using a simple usb micro to USB to connect and debug and nothing else (which is the case). I didn't know that we could debug the pico over it's GPIO.So, again, this is a virtual COM port, with a virtual cmsis dap debugger over USB, not SWD, correct? Not actual hardware.
Sorry if I'm misunderstanding this.
All of this is making my hate toward Windows growing. I'm in the process of setting up a Debian VM .
Statistics: Posted by Krivers — Sat Feb 10, 2024 11:18 am