Rollback to Arduino / ESP-IDF on ESP32-S3

Updated on 16 November 2022
dev board ESP32-S3-DevKitC-1
chip ESP32-S3-WROOM-1-N8R2
features rollback arduino esp-idf esp32s3
This tutorial is more than 1 year old. If the steps below do not work, then please check the latest versions and the documentations of the individual tools used.

Before starting

Dependancies

Ensure the following dependancies are downloaded and available:

Buy the components

Prototype

A photo of the actual setup.

Rollback to Arduino / ESP-IDF on ESP32-S3 prototype

Description

Use the rollback feature if the dev board has been flashed with Micropython or Tasmota and you need to use it with ESP-IDF / Arduino again.

Rollback steps

  1. Plug in the board on the UART port
  2. Check the port address with ls /dev/cu.*
     $ ls /dev/cu.*
     /dev/cu.Bluetooth-Incoming-Port  /dev/cu.SLAB_USBtoUART  /dev/cu.usbserial-1410
    
  3. Erase the flash
     $ esptool.py --port /dev/cu.usbserial-1410 erase_flash
    
     esptool.py v4.3
     Serial port /dev/cu.SLAB_USBtoUART
     Connecting....
     Detecting chip type... ESP32-S3
     Chip is ESP32-S3 (revision v0.1)
     Features: WiFi, BLE
     Crystal is 40MHz
     MAC: 7c:df:a1:e2:79:08
     Uploading stub...
     Running stub...
     Stub running...
     Erasing flash (this may take a while)...
     Chip erase completed successfully in 21.4s
     Hard resetting via RTS pin...
    
  4. Plug into the USB port of the board
  5. Flash in the blinky example via ESP-IDF
  6. Disconnect any serial monitor running the logs (if any).
  7. Flash in the blinky example for Arduino

References