HF RL Explorer

JPEG captures fail in PSRAM DMA mode (undocumented 16 MHz XCLK heuristic) on ESP32‑S2 / ESP32‑S3

JPEG captures fail in PSRAM DMA mode (undocumented 16 MHz XCLK heuristic) on ESP32‑S2 / ESP32‑S3: a task in LegoFlow-SWE (Harbor dataset). When PSRAM DMA mode is active, JPEG captures are broken. The camera driver verifies that captured JPEG data starts with a valid Start‑of‑Image (SOI) marker…

The task

When PSRAM DMA mode is active, JPEG captures are broken. The camera driver verifies that captured JPEG data starts with a valid Start‑of‑Image (SOI) marker, but the length field in the DMA buffer is not updated correctly during the direct‑to‑PSRAM copy. This causes SOI marker verification to fail, and JPEG frames are…

Part of Lego-X/LegoFlow-SWE.