Hi,
I got multiple fixes to get the ESP32-CAM board working. First one is in the edge-impulse-daemon. This daemon opens a serialport but pulls btrs low and that puts the ESP32-CAM with programmer mode into bootmode. Thus connection an AT commands fail.
This can be fixed by editing:
C:\Users<YOUR WINDOWS USERNAME>\AppData\Roaming\npm\node_modules\edge-impulse-cli\build\cli\serial-connector.js
Line 44, original:
this._serial = new serialPort(this._path, { baudRate: this._baudrate });
change to:
this._serial = new serialPort(this._path, { baudRate: this._baudrate, hupcl: false });
This prevents the deamon from resetting the device.
Also two fixes for the esp firmware, if your camera fails to initialize go to the components folder in your project:
components/esp32-camera/target/xclk.c
add on line 24/25:
timer_conf.clk_cfg = LEDC_AUTO_CLK;
and on line 57/58:
ch_conf.sleep_mode = LEDC_SLEEP_MODE_NO_ALIVE_NO_PD;
After this the ESP32-cam module should work