I finally did it! I had to install a Debian VM only for this though, but I have been able to upload without having to start in BOOTSEL mode.
I forgot to tell virtualBox to "give" the USB where pico is plugged to the VM, so it could not work at the beginning.
I've also uninstalled bootsell mode drivers in order to have the drive back, then followed instruction from this link :
https://github.com/platformio/platform- ... i/issues/2
plug Pico in with boot button pressed
include upload_port = /Volumes/RPI-RP2
no upload_protocol defined, it defaults to picotool
create a blink sketch, include Serial.begin(9600); in setup()
pio run -t upload
the on-board LED blinks
comment out the upload_port line
now pio run -t upload will work without boot/reset button hassles
It still doesn't work with my Win11 though, and Serial.begin(9600) isn't needed, at least once it works.
For now, I think I'm going to use the Debian to code and forget windows, so we could say that the topic is closed.
But if you are still willing to make this work on Win11(and help potential fellow with similar problem), I'll be happy to keep trying.
I forgot to tell virtualBox to "give" the USB where pico is plugged to the VM, so it could not work at the beginning.
I've also uninstalled bootsell mode drivers in order to have the drive back, then followed instruction from this link :
https://github.com/platformio/platform- ... i/issues/2
plug Pico in with boot button pressed
include upload_port = /Volumes/RPI-RP2
no upload_protocol defined, it defaults to picotool
create a blink sketch, include Serial.begin(9600); in setup()
pio run -t upload
the on-board LED blinks
comment out the upload_port line
now pio run -t upload will work without boot/reset button hassles
It still doesn't work with my Win11 though, and Serial.begin(9600) isn't needed, at least once it works.
For now, I think I'm going to use the Debian to code and forget windows, so we could say that the topic is closed.
But if you are still willing to make this work on Win11(and help potential fellow with similar problem), I'll be happy to keep trying.
Statistics: Posted by Krivers — Sun Feb 11, 2024 10:16 am