Uploading to raspberry pi pico with no port selected #794
Labels
conclusion: duplicate
Has already been submitted
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the bug
Upload button doesn't respond when raspberry pi pico without serial port is selected. In old version of the IDE the compilation works even if port is not selected. Old IDE simply uploads elf file to "USB drive" of the pico. Helpful when pico gets stuck and serial port doesn't work. Only possible option is to click bootsel button, after resetting into bootsel mode there is no serial port visible either only the usb drive so IDE 2.0 cannot upload. I have to upload program via old IDE in order to unstuck the pico.
The pico core resets the pico and then tries to upload to usb drive. When it cannot reset the drive (because of serial port not connected) it tries to upload to usb drive and may succed if the pico was in bootsel mode
The most interesting thing is that if I connect the serial port before it kinda remembers that and even if I restart the pico to bootsel mode (removing the serial connection) it stil lets me upload the sketch but fails after compiling because of need of serial connection. At that point it should be able to continue uploading and would most likely succed. When I reselect the pico device it starts preventing me clicking upload button again.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It uploads to visible usb drive with no port selected.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: