I am following the Getting Started with Seeed Studio XIAO ESP32S3 (Sense) | Seeed Studio Wiki.
The guide reads
The XIAO ESP32S3 Sense is shipped with the WebCam sample program pre-installed.
but no WiFi network appears with the ESP32-S3 as an access point. The link Video Streaming suggests the WiFi SSID and password should be added to the code.
So I am trying the Run your first Blink program section.
When I follow the BootLoader Mode procedure #bootloader-mode.
A red LED turns on but no /dev/ttyACM0
shows up for more than 90% of the times.
If I press the RESET button, an orange LED blinks. Less than 10% of the times, the /dev/ttyACM0
appears. However, upload fails with
$ python3 /home/reivilo/.arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool.py --chip esp32s3 --port /dev/ttyACM0 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 8MB 0x0 /tmp/arduino_build_421095/Blink.ino.bootloader.bin 0x8000 /tmp/arduino_build_421095/Blink.ino.partitions.bin 0xe000 /home/reivilo/.arduino15/packages/esp32/hardware/esp32/2.0.9/tools/partitions/boot_app0.bin 0x10000 /tmp/arduino_build_421095/Blink.ino.bin
esptool.py v4.5.1
Serial port /dev/ttyACM0
Connecting...
Traceback (most recent call last):
File "/home/reivilo/.arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool.py", line 34, in <module>
esptool._main()
File "/home/reivilo/.arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool/__init__.py", line 1032, in _main
main()
File "/home/reivilo/.arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool/__init__.py", line 674, in main
esp = esp or get_default_connected_device(
File "/home/reivilo/.arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool/__init__.py", line 921, in get_default_connected_device
_esp.connect(before, connect_attempts)
File "/home/reivilo/.arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool/loader.py", line 640, in connect
last_error = self._connect_attempt(reset_strategy, mode)
File "/home/reivilo/.arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool/loader.py", line 525, in _connect_attempt
reset_strategy() # Reset the chip to bootloader (download mode)
File "/home/reivilo/.arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool/reset.py", line 106, in __call__
self._setRTS(True) # Reset. Calls inverted to go through (1,1) instead of (0,0)
File "/home/reivilo/.arduino15/packages/esp32/tools/esptool_py/4.5.1/esptool/reset.py", line 40, in _setRTS
self.port.setRTS(state)
File "/home/reivilo/.local/lib/python3.9/site-packages/serial/serialutil.py", line 600, in setRTS
self.rts = value
File "/home/reivilo/.local/lib/python3.9/site-packages/serial/serialutil.py", line 463, in rts
self._update_rts_state()
File "/home/reivilo/.local/lib/python3.9/site-packages/serial/serialposix.py", line 706, in _update_rts_state
fcntl.ioctl(self.fd, TIOCMBIS, TIOCM_RTS_str)
- Since I am running Arduino on Linux, is there a
udev
rule to add? - Any other ideas?
Thank you!