Error while connecting to Edge Impulse (Espressif ESP-EYE (ESP32))

Question/Issue:
I’ve followed all the steps: installed CLI, esptool, ran flash_windows.bat and it was successful.

CLI output from running flash_windows.bat

If you see a ModuleNotFoundError error, run the following commands to add Python packages
python -m pip install pyserial>=3.4
python -m pip install esptool>=3.3
.
esptool.py v4.6.2
Found 1 serial ports
Serial port COM3
Connecting…
Detecting chip type… ESP32-S3
Chip is ESP32-S3 (revision v0.1)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 34:85:18:6d:08:ec
Uploading stub…
Running stub…
Stub running…
Changing baud rate to 460800
Changed.
Configuring flash size…
Flash will be erased from 0x00000000 to 0x000c0fff…
Compressed 786880 bytes to 414664…
Wrote 786880 bytes (414664 compressed) at 0x00000000 in 4.9 seconds (effective 1283.5 kbit/s)…
Hash of data verified.

Leaving…
Hard resetting via RTS pin…
.
Flashed your ESP32 development board.
To set up your development with Edge Impulse, run ‘edge-impulse-daemon’
To run your impulse on your development board, run ‘edge-impulse-run-impulse’
Press any key to continue . . .

However, when i run “edge-impulse-daemon” in cmd, I keep getting this error “[SER] Failed to get info off device Timeout when waiting for > (timeout: 5000) onConnected”.

Initially, I thought it was my USB cable’s connection issue, so I unplugged it and plugged it back in. After I did that, the port kept disconnecting itself, and Windows kept making the sound like something was getting disconnected.

Has anyone else faced this issue and does anyone know how to get it fixed?

Hello and welcome to the Edge Impulse community @ababbobobo!

Here are a couple of things to consider and could be leading to your connection timeout:

Update Edge Impulse CLI : First of all Ensure that you are using the latest version of our CLI. You can update it using npm with the command npm update -g edge-impulse-cli .
Check USB Cable and Port: You’ve already suspected a USB cable issue, which is a common problem. Ensure the cable is good for data transfer, not just charging. Try using a different USB cable and usb socket.
Driver Issues: Ensure that the drivers for the ESP32 are correctly installed on your computer. You can download the latest drivers from the Espressif website or through the board manager in Arduino IDE.
Serial Port Conflict: Ensure that no other program is trying to access the same serial port as your ESP-EYE. Close any serial monitor tools or other applications that might use serial communication.
Correct Boot Mode: Some ESP32 boards require being in a specific boot mode to communicate correctly. This usually involves holding down a button on the board while connecting it to the PC.

Best

Eoin