Replies: 3 comments
-
The timeout is already set for 10 seconds, so the drive should appear in that timespan after the COM port was reset (1200bps touch). Lines 416 to 422 in 2324d52 For Windows, it tries to execute these commands to capture the drive list: Lines 248 to 262 in 2324d52 Maybe a way to debug this would be to make the script |
Beta Was this translation helpful? Give feedback.
-
Nothing on the upload side has changed in a long time. The upload script was last edited 8 months ago (a Python3 lint warning fix, not logic) according to If you have checked things and aren't seeing anything obvious, the fastest way forward is to use the |
Beta Was this translation helpful? Give feedback.
-
@maxgerhardt So like @earlephilhower mentioned the problem has to be on my (this specific) pc. I didnt think about this in the frist place, because in the last time it did react better than before.
but this seems to have only a small effect :( So I
After the reboot I did compile in the Arduino IDE and now the UF2-Drive was found (fast like in the past in around 2 seconds after soft-reset) and flashed. For testing I reconnted all of my SMB-Network-drives and the delay in the Arduino IDE is gone. I personally think now, that it was a "hanging" (not connected/found and not displayed) SMB-Network-drive connection which resulted in a long timeout - which was to long for the Arduino IDE. I will have an eye for the time being used while flashing Picos or using the FileExplorer/Desktop to see that the problem has (after a long time) solved :) |
Beta Was this translation helpful? Give feedback.
-
Since the last revisions of the RP2040 Core I got the problem on Windows 10 64Bit with Arduino IDE 1.8.19 that after compiling the Arduino IDE is reseting my Pico to UF2 state
(Upload Method Default UF2 and using COM-Port (COM19:) - also a PicoW at COM3: has that problem -
but then when it should upload it doesnt find the UF2-device:
After the soft-reset from the Arduino IDE I can see the Pico in the FileExplorer as Drive/UF2-Mode (F:)
Additionally when setting the Pico before compile/upload to UF2-Mode and using UF2-Device instead of COM-Port then the Arduino IDE take a very long time (1-2 Minutes?) until it finds the UF2-device and then flash it in a few seconds (blink of an eye).
Is there any setting to control for the timeout of a soft-reseted Pico or can I enable a log to see why the search does take so long? Maybe the soft-reseted Pico runs in a timeout againt a pre-UF2 device?
BTW: Programming the Pico via Drag&Drop the UF2 to the F: Drive does work without any flaw.
Upload-Setting in Tools - I do use:
Beta Was this translation helpful? Give feedback.
All reactions