Skip to content

Fails to work on Linux when using a devkit with a CH9102F programmer due to Read timeout exceeded error. #683

@VitHrncir

Description

@VitHrncir

Expected behavior

The CH9102F is supposed to automatically set the chip into Boot mode during flashing, after that, the webflasher should flash the given firmware.

This works normally on Windows and and linux desktop apps (Arduino IDE and esptool).

The issue
The webflasher can read the serial console output of the ESP32, and even restart it through it, but during flashing, it gets stuck on "Preparing installation".

Linux version: Ultramarine Linux (Fedora 43), Behavior seems to be the same on Ubuntu 24.04

Inside of the browser console, I've found that the following output:

Error reading from serial port: install-dialog-CQzvAv3p.js?module:491 
Error: Read timeout exceeded at install-dialog-CQzvA…js?module:491:54194
readLoop	@	install-dialog-CQzvAv3p.js?module:491
await in readLoop		
newRead	@	install-dialog-CQzvAv3p.js?module:491
read	@	install-dialog-CQzvAv3p.js?module:491
readPacket	@	install-dialog-CQzvAv3p.js?module:491
command	@	install-dialog-CQzvAv3p.js?module:491
await in command		
sync	@	install-dialog-CQzvAv3p.js?module:491
_connectAttempt	@	install-dialog-CQzvAv3p.js?module:491
await in _connectAttempt		
connect	@	install-dialog-CQzvAv3p.js?module:491
await in connect		
detectChip	@	install-dialog-CQzvAv3p.js?module:491
main	@	install-dialog-CQzvAv3p.js?module:491
(anonymous)	@	install-dialog-CQzvAv3p.js?module:823
_confirmInstall	@	install-dialog-CQzvAv3p.js?module:823
await in _confirmInstall		
handleEvent	@	styles-B7oMzmOl.js?module:1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions