earlephilhower / arduino-pico

Raspberry Pi Pico Arduino core, for all RP2040 and RP2350 boards
GNU Lesser General Public License v2.1
2.02k stars 419 forks source link

Extremely long "Resetting COM" stage while sketch upload #1654

Closed jaszczurtd closed 1 year ago

jaszczurtd commented 1 year ago

Platform: win10 + AMD Ryzen 5 / 32GB IDE: Arduino 2.1.1 Boards Raspberry pi pico/ pi pico W USB stack: PicoSDK

Issue started to show up after upgrade from core 3.0.0 to the current one (3.3.2). After downgrading to 3.0.0 everything seems to be OK again.

Resetting COM6 <---- this stage takes forever Converting to uf2, output size: 1119744, start address: 0x2000 Scanning for RP2040 devices Flashing E: (RPI-RP2)

If pico is in uf2-mode (after rebooting with button pressed), upload takes no time.

jaszczurtd commented 4 months ago

@earlephilhower why this issue was closed without any comment? Unfortunately this issue is still there. However, I noticed, that printing a lot of debug via Serial.println() causes the problem to stop. But this is not a solution...