I would like to, but I don't know which port to use, you can see in my previous post my device manager windows, and nothing is showing up as a PICO com port.Make sure an upload port is specified. From what I understand it is something like this:
No change. But if I put my pico in Bootloader mode first, I can upload my .uf2 by clicking on upload, but only once, it the same situation afterwardTry running VSC/PIO as administrator.
I'm not sure what you mean by SWD, but I'm using a pico maker and VCS platform.io to compile and upload, and my .ini looks like this :Not sure where the notion of SWD upload came form
Code:
[env:pico]platform = raspberrypiboard = picoframework = arduino
Code:
#include "Arduino.h"void setup() { // Declare la broche sur laquelle la LED est // reliee comme une sortie pinMode(p19, OUTPUT);} void loop() { // Passer le sortie à l'état HAUT pour allumer la LED digitalWrite(p19, HIGH); // Attendre 1 seconde, pendant ce temps la LED reste allumee delay(1000); // Passer le sortie à l'état BAS pour eteindre la LED digitalWrite(p19, LOW); // Attendre 1 seconde, pendant ce temps la LED reste donc éteinte delay(1000);}
https://tutoduino.fr/visual-studio-platformio-pico/
On my previous install, I had to use zadig, but I can't remember precisely at which step it was necessary.Two possibilities for no COM4; whatever was previously loaded into the Pico doesn't expose itself as a USB serial device, or something is preventing that being seen - Maybe Zadiq ?
I didn't think Zadiq was necessary for Windows 10 so wouldn't expect it to be needed for Windows 11, but I may be wrong.
But could you confirm that a pico plugged on a windows (10 or 11) show a usb to serial com port on device manager.
Or is there somewhere in the code something that needs to be set to have access to this interface?
This is fixed now, my problem now is that I can't upload from my IDE.But being unable to get code uploaded and running via drag and drop is a bigger issue - If that doesn't work I can't imagine PlatformIO or 'picotool' will do any better.
I should start another topic, but now that you are here...

Statistics: Posted by Krivers — Thu Feb 08, 2024 10:08 am