When flashing won’t connect
This page is for a board that will not flash from the update page or the build page: nothing in the list after Connect, a port that is listed but refuses, or a connection that drops partway. Work down the checks in order.
Checks for everyone
- The cable carries data. Many USB cables that come with chargers and gadgets carry power only, and a board on one of those lights up and never appears. Try the cable on a phone: if the computer does not see the phone either, the cable is the fault.
- Nothing else holds the port. A serial monitor, the Arduino IDE, a second browser tab with Connect pressed, or a flashing tool left open keeps the port to itself. Close them, unplug the board, plug it back in, and press Connect again.
- Hold BOOT while connecting, if the board has one. A bare ESP32-S3 board that is already running firmware sometimes needs to be put into its bootloader by hand: hold the BOOT button while plugging it in, then release the button. Try flashing again.
- Avoid dead USB hubs. Plug your pocket server directly into your computer.
On Linux
The usual cause is that your user is not allowed to open the port. The board shows up in the list, or does not show up at all, and the browser gives no reason. The fix is to join the group that owns the port.
- Plug the board in, then find the port and the group that owns it:
The group is the fourth column, and is usuallyls -la /dev/ttyUSB* /dev/ttyACM*dialout; on Arch and its relatives it isuucp. If the command lists nothing, the computer does not see the board: go back to the cable and the USB port, and to the driver note below. - Add your user to that group, with the group the listing showed:
sudo usermod -a -G dialout $USER - Reboot your computer. After reboot, run
groupsto confirm you're now in the group. - Press Connect again.
If the group is right and the port still refuses
- The browser is sandboxed. A Chrome or Chromium installed as a Snap or a Flatpak runs inside a sandbox that may not reach the port. For the Snap Chromium,
sudo snap connect chromium:raw-usbopens it; otherwise install the browser from its own package, or use Firefox. - Another program claims the port on plug-in. On Ubuntu and Debian,
brltty, a screen-reader helper installed by default, takes CH340 boards the moment they appear, and the port vanishes a second after it shows. If you do not use a braille display,sudo apt remove brltty. ModemManager does the same to some boards for a few seconds after plug-in; wait ten seconds and try again. - No port at all, with the cable proven.
dmesg | tailright after plugging in says whether the kernel saw the board. Every current kernel has the drivers for the CH340, CP210x and native USB that these boards use; a message naming the chip with nottyafter it points at the sandbox or claim problems above.
On macOS
The port is named cu.usbserial-… or cu.usbmodem… in the list. macOS has shipped drivers for the chips these boards use since Big Sur, so the common causes are the cable, a hub, and something else holding the port.
- The list is empty. Open System Information, then USB, and look for the board. Missing there means the computer does not see the board: the cable or the port. Present there but not in the browser’s list means a driver: a CH340 board on macOS older than Big Sur needs the vendor’s driver.
- The port is listed and connecting fails. Close any serial monitor or IDE, unplug the board, plug it back in, press Connect.
- The port appears and vanishes. The board is resetting on a weak supply. Use a port on the Mac itself rather than a hub or a display.
On Windows
The port is listed as COM followed by a number. Windows finds drivers for the chips these boards use on its own, but needs a minute and an internet connection the first time a board is plugged in.
- The list is empty. Open Device Manager. The board belongs under Ports (COM & LPT). A device with a warning mark under Other devices means Windows has no driver yet: right-click, Update driver, and let Windows search. A CH340 board on a computer that cannot reach the internet needs the driver from the chip maker.
- The port is listed and connecting fails. Something else holds it: a serial monitor, the Arduino IDE, or a second browser window. Close them and try again.
- A work laptop. Many are set up to refuse new USB devices or to block the browser’s access to them, and nothing on this page gets past that. Use another computer.
On ChromeOS
Chrome on a Chromebook can flash a board, and ChromeOS has the drivers built in. If the list is empty, the cable and the USB port are the causes to check. A Chromebook managed by a school or an employer may have USB devices turned off, and nothing on this page gets past that.
Connected, but flashing fails
- The log ends in a timeout. The board dropped off the port partway. A hub or a long thin cable is the usual cause; use a short cable on a port on the computer itself, and try once more.
- The log says the chip is not an ESP8266 or ESP32-S3. The firmware runs on those two only. Check the board you bought.
- Flashing finishes and the board does nothing. Unplug the board and plug it back in: flashing leaves some boards in the bootloader until the next power cycle. Then follow Get started.
Still stuck?
Ask in the Discord. Include your operating system and browser, what the Connect list shows, and the flashing log from the page.