Programming the new ESP32-S3 dev boards
Posted: Thu Oct 07, 2021 11:49 am
Hello. I have recently got my hands on the new ESP32-s3 boards and would like to try and program this device.
I have picked up hello world example from esp-idf and changed the target to ESP32-s3. The project built sucesfully but I am not able to flash the device.
. The error message:
I would also like to ask an additional questions. Why there are 2 USB ports on the device and how they are inteded to be used? Which one do I use to flash a program to the device and what is the other port being used for?
I have picked up hello world example from esp-idf and changed the target to ESP32-s3. The project built sucesfully but I am not able to flash the device.
. The error message:
Code: Select all
Terminal will be reused by tasks, press any key to close it.
> Executing task: C:\Users\petrikas.lu\.espressif\python_env\idf4.3_py3.8_env\Scripts\python.exe C:\Users\petrikas.lu\esp\esp-idf\components\esptool_py\esptool\esptool.py -p COM24 -b 460800 --before default_reset --after hard_reset --chip esp32s3 write_flash --flash_mode dio --flash_freq 40m --flash_size detect 0x10000 hello-world.bin 0x0 bootloader/bootloader.bin 0x8000 partition_table/partition-table.bin <
usage: esptool [-h] [--chip {auto,esp8266,esp32,esp32s2,esp32s3beta2,esp32s3beta3,esp32c3,esp32c6beta}] [--port PORT] [--baud BAUD]
[--before {default_reset,no_reset,no_reset_no_sync}] [--after {hard_reset,soft_reset,no_reset,no_reset_stub}] [--no-stub]
[--trace] [--override-vddsdio [{1.8V,1.9V,OFF}]] [--connect-attempts CONNECT_ATTEMPTS]
{load_ram,dump_mem,read_mem,write_mem,write_flash,run,image_info,make_image,elf2image,read_mac,chip_id,flash_id,read_flash_status,write_flash_status,read_flash,verify_flash,erase_flash,erase_region,merge_bin,version,get_security_info}
...
esptool: error: argument --chip/-c: invalid choice: 'esp32s3' (choose from 'auto', 'esp8266', 'esp32', 'esp32s2', 'esp32s3beta2', 'esp32s3beta3', 'esp32c3', 'esp32c6beta')
The terminal process "C:\Users\petrikas.lu\.espressif\python_env\idf4.3_py3.8_env\Scripts\python.exe 'C:\Users\petrikas.lu\esp\esp-idf\components\esptool_py\esptool\esptool.py', '-p', 'COM24', '-b', '460800', '--before', 'default_reset', '--after', 'hard_reset', '--chip', 'esp32s3', 'write_flash', '--flash_mode', 'dio', '--flash_freq', '40m', '--flash_size', 'detect', '0x10000', 'hello-world.bin', '0x0', 'bootloader/bootloader.bin', '0x8000', 'partition_table/partition-table.bin'" terminated with exit code: 2.
Terminal will be reused by tasks, press any key to close it.
I would also like to ask an additional questions. Why there are 2 USB ports on the device and how they are inteded to be used? Which one do I use to flash a program to the device and what is the other port being used for?