From b451a9c70890f6eb5d2768af1e5a569b174a8cb8 Mon Sep 17 00:00:00 2001 From: odudex Date: Wed, 7 Oct 2026 20:33:31 -0300 Subject: [PATCH] fix(flasher): stay at 115200 so the port is never reopened Reopening the port for the baud change resets the board, and esptool-js 0.7.0 reconnects without the P4 v3.x flash power-on, so the first flash write hangs. --- site/flash/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/site/flash/index.html b/site/flash/index.html index 5f79acf0..358d68ef 100644 --- a/site/flash/index.html +++ b/site/flash/index.html @@ -260,7 +260,8 @@

Web Flasher

const FLASH_MODE = 'dio'; const FLASH_FREQ = '80m'; const FLASH_SIZE = '16MB'; -const BAUD = 460800; +// Changing baud means reopening the port, which resets the board into a session without the P4 v3.x flash power-on, so stay at the ROM rate. +const BAUD = 115200; // ── State ───────────────────────────────────────────────────────────────────── let currentMode = 'ci';