XIAO-esp32-c3 Firmware Flashing Problem

See ESP32C3 wiki

Q1: My Arduino IDE is stuck when uploading code to the board[​]

(Getting Started with Seeed Studio XIAO ESP32C3 | Seeed Studio Wiki)

You can first try to reset the board by clicking the RESET BUTTON once while the board is connected to your PC. If that does not work, hold the BOOT BUTTON, connect the board to your PC while holding the BOOT button, and then release it to enter bootloader mode.