Newer ESP32 device support?

I'm looking at using an Adafruit ESP32-S2 Feather with BME280 to upgrade a project, but the ESP32-S2 is currently not supported by the Arduino IoT ! :disappointed_relieved:

Are there any plans to support newer versions of the ESP32 - S2 & S3 versions in IoT devices??

Can you just try to select another ESP32 model? If it's the same core it should work

Hi eclipse1985,

Appreciate your reply & suggestion.

I have tried uploading an already known working piece of code that is known to work on older ESP32's

However, using your suggestion of trying a different ESP32, it still will not upload the code to the
code to the Adafruit ESP32-S2 Feather with BME280 using IoT cloud > Things > Sketch > Full editor
I can successfully upload code to the Adafruit ESP32-S2 Feather with BME280 using the Arduino IDE as the libraries to support ESP32 -S2 & S3's are already available, so I know the Adafruit ESP32-S2 Feather I'mPreformatted text using is OK

Below are the Full editor results when attempting to upload code to an ESP32- S2

Device = Adafruit ESP32 Feather

/usr/local/bin/arduino-cli compile --fqbn esp32:esp32:featheresp32:DebugLevel=none,FlashFreq=80,PartitionScheme=default,UploadSpeed=921600 --libraries /home/builder/opt/libraries/latest --build-cache-path /tmp --output-dir /tmp/290215445/build --build-path /tmp/arduino-build-BC7A6DF4B472DA1A8B79CCB5657264ED /tmp/290215445/Connect_test_mar31a

WARNING: library arduinoiotcloud_1_6_1 claims to run on mbed, samd, esp8266, mbed_nano, mbed_portenta, mbed_nicla architecture(s) and may be incompatible with your current board which runs on esp32 architecture(s).

Sketch uses 932662 bytes (71%) of program storage space. Maximum is 1310720 bytes.

Global variables use 40232 bytes (12%) of dynamic memory, leaving 287448 bytes for local variables. Maximum is 327680 bytes.

/home/builder/opt/libraries/latest/arduinoiotcloud_1_6_1/src/property/Property.cpp:25:19: note: #pragma message: No RTC available on this architecture - ArduinoIoTCloud will not keep track of local change timestamps .

#pragma message "No RTC available on this architecture - ArduinoIoTCloud will not keep track of local change timestamps ."

^

Upload started

Programming with: Serial

Flashing with command:C:/Users/robba/.arduino-create/esp32/esptool_py/3.0.0/esptool.exe --chip esp32 --port COM16 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0xe000 C:/Users/robba/AppData/Local/Temp/extrafiles102259180/tools/partitions/boot_app0.bin 0x1000 C:/Users/robba/AppData/Local/Temp/extrafiles102259180/tools/sdk/bin/bootloader_dio_80m.bin 0x10000 C:/Users/robba/AppData/Local/Temp/arduino-create-agent750352001/Connect_test_mar31a.bin 0x8000 C:/Users/robba/AppData/Local/Temp/extrafiles102259180/Connect_test_mar31a.partitions.bin

esptool.py v3.0-dev

Serial port COM16

Connecting...

Traceback (most recent call last):

File "esptool.py", line 3682, in <module>

File "esptool.py", line 3675, in _main

File "esptool.py", line 3330, in main

File "esptool.py", line 512, in connect

File "esptool.py", line 492, in _connect_attempt

File "esptool.py", line 431, in sync

File "esptool.py", line 362, in command

File "site-packages\serial\serialutil.py", line 352, in timeout

File "site-packages\serial\serialwin32.py", line 222, in _reconfigure_port

serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: WindowsError(433, 'A device which does not exist was specified.')

Failed to execute script esptool

Device = ESP32 Dev

/usr/local/bin/arduino-cli compile --fqbn esp32:esp32:esp32:CPUFreq=240,DebugLevel=none,FlashFreq=80,FlashMode=qio,FlashSize=4M,PSRAM=enabled,PartitionScheme=default,UploadSpeed=921600 --libraries /home/builder/opt/libraries/latest --build-cache-path /tmp --output-dir /tmp/719391022/build --build-path /tmp/arduino-build-BC7A6DF4B472DA1A8B79CCB5657264ED /tmp/719391022/Connect_test_mar31a

WARNING: library arduinoiotcloud_1_6_1 claims to run on mbed, samd, esp8266, mbed_nano, mbed_portenta, mbed_nicla architecture(s) and may be incompatible with your current board which runs on esp32 architecture(s).

Sketch uses 1003050 bytes (76%) of program storage space. Maximum is 1310720 bytes.

Global variables use 41056 bytes (12%) of dynamic memory, leaving 286624 bytes for local variables. Maximum is 327680 bytes.

/home/builder/opt/libraries/latest/arduinoiotcloud_1_6_1/src/property/Property.cpp:25:19: note: #pragma message: No RTC available on this architecture - ArduinoIoTCloud will not keep track of local change timestamps .

#pragma message "No RTC available on this architecture - ArduinoIoTCloud will not keep track of local change timestamps ."

^

Upload started

Programming with: Serial

Flashing with command:C:/Users/robba/.arduino-create/esp32/esptool_py/3.0.0/esptool.exe --chip esp32 --port COM16 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0xe000 C:/Users/robba/AppData/Local/Temp/extrafiles060644138/tools/partitions/boot_app0.bin 0x1000 C:/Users/robba/AppData/Local/Temp/extrafiles060644138/tools/sdk/bin/bootloader_qio_80m.bin 0x10000 C:/Users/robba/AppData/Local/Temp/arduino-create-agent488540983/Connect_test_mar31a.bin 0x8000 C:/Users/robba/AppData/Local/Temp/extrafiles060644138/Connect_test_mar31a.partitions.bin

esptool.py v3.0-dev

Serial port COM16

Connecting...

Traceback (most recent call last):

File "esptool.py", line 3682, in <module>

File "esptool.py", line 3675, in _main

File "esptool.py", line 3330, in main

File "esptool.py", line 512, in connect

File "esptool.py", line 492, in _connect_attempt

File "esptool.py", line 431, in sync

File "esptool.py", line 362, in command

File "site-packages\serial\serialutil.py", line 352, in timeout

File "site-packages\serial\serialwin32.py", line 222, in _reconfigure_port

serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: WindowsError(433, 'A device which does not exist was specified.')

Failed to execute script esptool

So the closing statement in both cases for two separate ESP32 devices is the same -

serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: WindowsError(433, 'A device which does not exist was specified.')

Failed to execute script esptool

Hope this helps shed some light on why ESP32 - S2 doesn't seem to be supported by IoT Cloud?

Thanks for the report, I will talk with the development team in order to understand how to support these new ESP boards

Many thanks eclipse1985,

I'll look forward to their reply in due course?

Sure I will let you know as soon as I have some news

Hi @eclipse1985

Just following up to see if there's any update on the support of newer ESP32 devices in Arduino IoT cloud?

Many thanks in advance.

Hey @robrs, we just released the support for S2/S3/C3 devices. Can you give it a try and let me know if there is any issue?

1 Like

Hey @eclipse1985, I'll give it a try when I've got a spare minute & advise accordingly.

Appreciate the update :+1:

Hey @eclipse1985,

Just managed to do a quick test with an Adafruit QT Py ESP32-C3 I'm happy to report that -

Device setup OK
Code compiled & uploaded to the device OK
Device logged on & updated the Arduino IoT cloud OK

A successful quick test of a newer version of an ESP32 on Arduino IoT cloud. :slightly_smiling_face: :+1:

I shall carry out some more in-depth testing of this device & my Adafruit ESP32-S2 Feather with BME280 over the following days & advise if I come across any issues.

Many thanks in advance.

Rob

3 Likes

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.