I have an ESP32-S3 WROOM (N16R8) equipped with an ov2640 camera.
I am working with the Arduino IDE and, using the example/ESP32/camera/CameraWebServer sketch, everything works fine in JPEG mode.
However, I can't get it to work in RGB565 or GRAYSCALE mode. Regardless of the config.xclk_freq_hz frequency between 2 and 20 MHz and regardless of the size used (less than FRAMESIZE_320X320), I always get the same message:
Camera init OK 0x0E (1241) cam_hal: DMA overflow
Guru Meditation Error: Core 0 panic'ed (Unhandled debug exception).
Debug exception reason: Stack canary watchpoint triggered (cam_task)
Anyh of those I have messed with I just clicked the setting on the mini GUI the web page presents and they all worked fine. Do you have a web page gui to work with?
Recently Expressif seem to have been introducing quite a few 'issues' with the constant revisions of their core.
If you have a version of the core that's stable for your purposes, its probably best to stick with it rather than upgrade and find previous sketches and code no longer work.