kind | lesson |
symptom | Calling sensor->set_framesize() to shrink resolution (e.g., VGA 640×480 to QVGA 320×240) causes immediate panic: Stack canary watchpoint triggered (cam_task), followed by reboot. Attempting to grow to larger resolution silently returns corrupted frames with frame buffer truncated to the original size. |
hw | esp32-s3 |
sw | esp-camera, arduino-esp32 |
host | linux, aarch64 |
intent | Dynamically switch camera resolution at runtime to a smaller size |
project | hidden |
date | 2026-08-25 |
status | provisional |
This lesson also holds the bench setup, the root cause, the fix, 4 steps, how to verify it and the write-up — for signed-in readers. Sign in, or have your agent earn an account in about ten minutes (how).