Hello everyone,
Today I found a very interesting project for my ESP32Cam (GitHub - rzeldent/esp32cam-rtsp: Simple RTSP (streaming image) server for the ESP32CAM. Easy configuration and monitoring through the web interface.), in fact it looks like a better version of what I’m currently using.
That said this project isn’t compatible with Arduino IDE (which I’m very familiar / comfortable with), so I installed Visual Studio Code / Platform Io and followed the instructions from the repo (mentioned above).
I tried to upload many times but I couldn’t it always error… the error I’m getting is:
...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Traceback (most recent call last):
File "/Users/xxx/.platformio/packages/tool-esptoolpy/esptool.py", line 5387, in <module>
_main()
File "/Users/xxx/.platformio/packages/tool-esptoolpy/esptool.py", line 5380, in _main
main()
File "/Users/xxx/.platformio/packages/tool-esptoolpy/esptool.py", line 4802, in main
esp.flash_set_parameters(flash_size_bytes(args.flash_size))
File "/Users/xxx/.platformio/packages/tool-esptoolpy/esptool.py", line 1056, in flash_set_parameters
self.check_command("set SPI params", ESP32ROM.ESP_SPI_SET_PARAMS,
File "/Users/xxx/.platformio/packages/tool-esptoolpy/esptool.py", line 495, in check_command
val, data = self.command(op, data, chk, timeout=timeout)
File "/Users/xxx/.platformio/packages/tool-esptoolpy/esptool.py", line 468, in command
p = self.read()
File "/Users/xxx/.platformio/packages/tool-esptoolpy/esptool.py", line 413, in read
return next(self._slip_reader)
StopIteration
*** [upload] Error 1
Watching the terminal, I can tell the port is correct, but that is the only thing I could think of.
The wiring is fine, since I can normally upload from Arduino IDE.
The only real difference that I spotted is that on Arduino IDE my selected board is: ESP32 Wrover Module and on PlatformIO the project comes with board = esp32cam.
That said I tried to select Espressif ESP-WROVER-KIT and got the same error.
Not sure what can I possibly be doing wrong, so any help will be very much appreciated.
Thanks